
The bsub command submits the job to LSF.
The
The SLURM srun command is required to run jobs on an LSF node allocation. The srun command is the user job launched by the LSF bsub command. SLURM launches the jobname in parallel on the reserved cores in the lsf partition.
The jobname parameter is the name of an executable file or command to be run in parallel.
Example
Example 5-5 Submitting a Non-MPI Parallel Job
$ bsub -n4 -I srun hostname
Job <21> is submitted to default queue <normal> <<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>> n1
n1
n2
n2
You can use the
Example
$ bsub
<<Starting on lsfhost.localdomain>> n1
n2
n3
n4
5.3.2 Submitting a Parallel Job That Uses the
Use the following format of the LSF bsub command to submit a parallel job that makes use of
bsub
The bsub command submits the job to LSF.
The
The mpijob argument has the following format:
mpirun
See the mpirun(1) manpage for more information on this command.
The mpirun command's
The srun command, used by the mpirun command to launch the MPI tasks in parallel in the lsf partition, determines the number of tasks to launch from the SLURM_NPROCS environment
52 Submitting Jobs