Sun MPI 4.0 Programming and Reference Guide

Basic Job Execution

The Sun MPI 4.0 User's Guide: With LSF, the LSF Batch User's Guide, and the lsfintro and bsub man pages provide thorough instructions for executing jobs with the LSF Suite. Likewise, the Sun MPI 4.0 User's Guide: With CRE and the mprun man page provide detailed information about running jobs with the CRE. In this section you will find some basic information about executing jobs with either resource manager.

Before starting your job, you may want to set one or more environment variables, which are also described in the Sun MPI user's guides.

Executing With LSF Suite 3.2.3


Note -

Running parallel jobs with LSF Suite is supported on up to 1024 processors and up to 64 nodes.


Parallel jobs can either be launched by LSF's Parallel Application Manager (PAM) or be submitted in queues configured to run PAM as the parallel job starter. LSF's bsub command launches both parallel interactive and batch jobs. For example, to start a batch job named mpijob on four CPUs, use this command:

% bsub -n 4 pam mpijob

To launch an interactive job, add the -I argument to the command line. For example, to launch an interactive job named earth on a single CPU in the queue named sun, which is configured to launch jobs with PAM):

% bsub -q sun -Ip -n 1 earth

Executing With the CRE


Note -

Running parallel jobs with the CRE is supported on up to 256 processors and up to 64 nodes.


When using the CRE, parallel jobs are launched using the mprun command. For example, to start a job with 6 processes named mpijob, use this command:

% mprun -np 6 mpijob