Versions Compared

Key

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

...

One can also do this same command from the command line using the "--wrap" option for sbatch.  Here we use the short forms of the sbatch options, but the longer (and clearer) versions above can be used as well :("-N" is "nodes" above, and "-n" is "ntasks-per-node" above).

Code Block
sbatch -p psfehq -N 2 -n 3 --wrap="mpirun python mpi_simpletest.py"

...