Versions Compared

Key

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

...

  1. Submit a job through LSF to test the message passing

    1. bsub -n 10 -R "span[ptile=1]" -o %J.out "/opt/ibm/platform_mpi/bin/mpirun -lsf -vapi /home/(Username)/hello_world.exe; wait"

    Check the output of the %J.out file to verify results
    1. bsub -n 10 -R "span[ptile=1]"-o ~/hello_world.out "mpirun -lsf -vapi ~/hello_world”

Python

  • Install Python
    spack load python

  • Install Python bsub
    python3 -mpip install bsub

  • Run your code with bsub
    bsub -n 10 -o my_job.out my_job.py

...