Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
titleOur version of env_create.yaml has slightly modified content of the file env_create_py2.yaml
collapsetrue
 channels:
  - defaults
  - conda-forge
dependencies:
  - python=3.6
  - cmake
  - h5py
  - ipython
  - numpy
  - cython
  - matplotlib
  - mongodb
  - pymongo
  - mpi4py
  - nose
  - pyzmq
  - versioneer
  - requests

Build

...

cd lcls2

export CRAYPE_LINK_TYPE=dynamic
export INSTDIR=`pwd`/install

For python2.7

./build_python2_psana.shexport INSTDIR=`pwd`/install
export PYTHONPATH=$INSTDIR/lib/python2.7/site-packages
Build for

For python3.6

cd lcls2

export CRAYPE_LINK_TYPE=dynamic
./build_python3_light.sh  
export INSTDIR=`pwd`/installsh
export PYTHONPATH=$INSTDIR/lib/python3.6/site-packages

Useful conda commands

  • conda list
  • conda env list
  • conda env remove --name <ps-0.1.1-...-environment-name>

...