You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To run the parallel data reading application:

  • install anaconda (pretty easy to do)
  • "conda env create -n lcls2 -f env_create.yaml" using env_create.yaml file shown below
  • activate the conda environment with "conda activate lcls2"
  • git clone https://github.com/slac-lcls/lcls2.git
  • "cd lcls2"
  • make sure you have gcc>=6
  • build software with "./build_python2_psana.sh"
  • run software with "nosetests psana/psana/tests/test_manager.py:Test.test_parallel"
  • after doing the previous line (which generates some small "fake data") you can run the software by hand with "mpirun -n 3 python psana/psana/tests/user.py"

env_create.yaml:

channels:
  - defaults
dependencies:
  - python=2.7
  - cmake
  - numpy
  - cython
  - mpi4py
  - nose
  - matplotlib
  • No labels