Versions Compared

Key

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

...

This can be run interactively by saving the above script in a file called mpi.py and parallelizing the analysis over 2 cores with these the commands on a psana node:

Code Block
setenv PATH /reg/common/package/openmpi/openmpi-1.8/install/bin/:${PATH}
mpirun -n 2 python mpi.py

...