LSF Version 7.3 - Platform LSF Command Reference

Platform LSF Command Reference 283
Task startup for LSF HPC generic PJL jobs
For parallel jobs submitted with bsub:
PAM invokes the PJL, which in turn invokes the TaskStarter (TS).
TS starts the tasks on each execution host, reports the process ID to PAM, and
waits for the task to finish.
Options
Options for vendor MPI jobs
-auto_place The -auto_place option on the pam command line tells the SGI IRIX mpirun
library to launch the MPI application according to the resources allocated by LSF.
-mpi In the SGI environment, the -mpi option on the bsub and pam command line is
equivalent to the
mpirun command.
On HP-UX, you can have LSF manage the allocation of hosts to achieve better
resource utilization by coordinating the start-up phase with
mpirun. This is done
by preceding the regular HP MPI
mpirun command with:
bsub pam -mpi
For HP-UX vendor MPI jobs, the -mpi option must be the first option of the pam
command.
For example, to run a single-host job and have LSF select the host, the command:
mpirun -np 14 a.out
is entered as:
bsub pam -mpi mpirun -np 14 a.out
-n num_tasks The number of processors required to run the MPI application, typically the
number of parallel tasks in the job. If the host is a multiprocessor, one host can start
several tasks.
You can us e both
bsub -n and pam -n in the same job submission. The number
specified in the
pam -n option should be less than or equal to the number specified
by
bsub -n. If the number of tasks specified with pam -n is greater than the
number specified by
bsub -n, the pam -n is ignored.
For example, on SGI IRIX or SGI Altix, you can specify:
bsub -n 5 pam -n 2 -mpi -auto_place a.out
Here, the job requests 5 processors, but PAM only starts 2 parallel tasks.
mpi_app [argument ...]
The name of the MPI application to be run on the listed hosts. This must be the last
argument on the command line.
-h Prints command usage to stderr and exit.
-V Prints LSF release version to stderr and exit.