Prescriptions from Chris with my comments.
Login
ssh -Y <username>@cori.nersc.gov
ssh -Ycori05 # other nodes may have different versions of compilers...
Cloning lcls2 repository
Version control with git -describes git initialization.
The final command should be
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-py2 -f env_create.yaml
source activate ps-0.1.1-py2
where the file env_create.yaml
contains the list of require packages.
Originally it is located in https://github.com/slac-lcls/relmanage/blob/master/env_create.yaml or env_create_py2.yaml
for python2.
Build all for python2.7
cd lcls2
export CRAYPE_LINK_TYPE=dynamic
./build_python2_psana.sh
export INSTDIR=`pwd`/install
export PYTHONPATH=$INSTDIR/lib/python2.7/site-packages
Run apps
python
> import psana
References
- Version control with git
- https://github.com/slac-lcls/relmanage/blob/master/env_create.yaml
- https://github.com/slac-lcls/lcls2
Overview
Content Tools