LSF Version 7.3 - Using Platform LSF HPC
Submitting MVAPICH Jobs
bsub command
Use bsub -a mvapich to submit jobs:
If the starting command is
mpd, you must submit your MVAPICH jobs as exclusive jobs
(
bsub -x).
bsub -a mvapich -n
number_cpus
mpirun.lsf
[-pam "
pam_options
"] [
mpi_options
]
job
[
job_options
]
◆
-a
mvapich
tells esub the job is an MVAPICH job and invokes esub.mvapich.
◆
-n
number_cpus
specifies the number of processors required to run the job
◆
mpirun.lsf
reads the environment variable LSF_PJL_TYPE=mvapich set by
esub.mvapich, and generates the appropriate pam command line to invoke
MVAPICH as the PJL
For example:
% bsub -a mvapich -n 3 mpirun.lsf /examples/cpi
A job named cpi will be dispatched and run on 3 CPUs in parallel.
Task geometry with MVAPICH jobs
MVAPICH supports the LSF task geometry feature except in MPD mode. When
running in MPD mode, the order of the hosts specified in the machine file is not
honored:
Submitting a job with a job script
A wrapper script is often used to call MVAPICH. You can submit a job using a job script
as an embedded script or directly as a job, for example:
% bsub -a mvapich -n 4 < embedded_jobscript
% bsub -a mvapich -n 4 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