...
Submit a job through LSF to test the message passing
bsub -n 10 -R "span[ptile=1]" -o %J.out "/opt/ibm/platform_mpi/bin/mpirun -lsf -vapi /home/(Username)/hello_world.exe; wait"
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
...