Versions Compared

Key

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

...

Some examples:
bsub -n 10 -R "span[ptile=1]"-o ~/hello_world.out "mpirun -lsf -vapi ~/hello_world”

bsub -n 10 20 -R "span[ptile=16]"-o ~/hello_world.out "mpirun -lsf -vapi python3 ~/hello_world”world.py”

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 "python3 my_job.py"

...