LSF Version 7.3 - Using Platform LSF HPC
Submitting Open MPI Jobs
bsub command
Use bsub -a openmpi to submit jobs.
For example:
bsub -a openmpi -n
number_cpus
mpirun.lsf a.out
◆
-a
openmpi
tells esub the job is an Open MPI job and invokes esub.openmpi.
◆
-n
number_cpus
specifies the number of processors required to run the job
◆
mpirun.lsf
reads the environment variable LSF_PJL_TYPE=intelmpi set by
esub.openmpi, and generates the appropriate pam command line to invoke
Open MPI as the PJL
Task geometry with Open MPI jobs
Open MPI supports the LSF task geometry feature
Submitting a job with a job script
A wrapper script is often used to call Open MPI. You can submit a job using a job script
as an embedded script or directly as a job, for example:
bsub -a < jobscript
Your job script must use mpirun.lsf in place of the mpirun command.
For more information
◆
See Chapter 3, “Running Parallel Jobs” for information about generic PJL wrapper
script components
◆
See the Platform LSF Command Reference for information about the bsub
command
◆
See Administering Platform LSF for information about submitting jobs with job
scripts