Submitting a Serial Job Using Standard LSF
Example
Use the bsub command to submit a serial job to standard LSF.
$ bsub hostname
Job <61> is submitted to default queue <normal>. <<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>> n1
Submitting a Serial Job Using LSF-HPC
There are various methods for submitting a serial job on the HP XC system:
•Using the LSF bsub command alone.
•Using the LSF bsub command in conjunction with the SLURM srun command.
•Using the LSF bsub command in conjunction with the SLURM srun command and the
•Using the SLURM srun command alone.
These methods are explored in this section.
For most instances, the recommended method for submitting a job is to use the LSF bsub command in conjunction with the SLURM srun command.
Submitting a Serial Job with the LSF bsub Command
Use the bsub command to submit a serial job on the LSF execution host using the following format:
bsub [bsub-options ] [ srun [srun-options]] jobname [job-options]
The bsub command launches the job.
Use the bsub command's
The srun command is only necessary to launch the job on the allocated node if the HP XC JOB STARTER script is not configured. to run a job on the compute nodes in the lsf partition.
The jobname argument is the name of an executable file.
The SLURM srun job launch command is only needed if the
Example
Example
$ bsub -I srun hostname
Job <20> is submitted to default queue <normal>. <<Waiting for dispatch ...>>
<<Starting on lsfhost.localdomain>> n1
Example
46 Submitting Jobs