Exit Status

Options for LSF HPC generic PJL jobs

-tThis option tells pam not to print out the MPI job tasks summary report to the standard output. By default, the summary report prints out the task ID, the host on which it was executed, the command that was executed, the exit status, and the termination time.

-vVerbose mode. Displays the name of the execution host or hosts.

-g [num_args] pjl_wrapper [pjl_options]

The -goption is required to use the LSF generic PJL framework. You must specify all the other pam options before -g.

num_args

Specifies how many space-separated arguments in the command line are related to the PJL (after that, the remaining section of the command line is assumed to be related to the binary application that launches the parallel tasks).

pjl_wrapper

The name of the PJL

pjl_options

Optional arguments to the PJL

For example:

A PJL named no_arg_pjl takes no options, so num_args=1. The syntax is:

pam [pam_options] -g 1 no_arg_pjl job [job_options]

A PJL is named 3_arg_pjl and takes the options -a, -b, and group_name, so num_args=4. The syntax is:

pam [pam_options] -g 4 3_arg_pjl -a -b group_name job [job_options]

-nnum_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 use both bsub -nand pam -nin the same job submission. The number specified in the pam -noption 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.

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.

-hPrints command usage to stderr and exit.

-VPrints LSF release version to stderr and exit.

Exit Status

pam exits with the exit status of mpirun or the PJL wrapper.

See also

bsub(1)

284Platform LSF Command Reference