Page History
...
git clone git@github.com:slac-lcls/lcls2.git
Create and activate conda environment
module load python
conda env create --name ps-0.1.1-py3 -f env_create.yaml
source activate ps-0.1.1-py3
...
Code Block | ||||
---|---|---|---|---|
| ||||
channels:
- defaults
- conda-forge
dependencies:
- python=3.6
- cmake
- h5py
- ipython
- numpy
- cython
- matplotlib
- mongodb
- pymongo
- mpi4py
- nose
- pyzmq
- versioneer
- requests |
...
export CRAYPE_LINK_TYPE=dynamic
./build_python2python2_psana.sh
export INSTDIR=`pwd`/install
export PYTHONPATH=$INSTDIR/lib/python2python2.7/site-packages
Build for python3.6
cd lcls2
export CRAYPE_LINK_TYPE=dynamic
./build_python3python3_psana.shsh
export INSTDIR=`pwd`/install
export PYTHONPATH=$INSTDIR/lib/python3python3.6/site-packages
Useful conda commands
- conda list
- conda env list
- conda env remove --name ps-0.1.1-py3
Run apps
python
> import psana
...
Overview
Content Tools