On an HP XC system, a job is submitted to LSF-HPC, which places the job in a queue and allows it to run when the necessary resources become available. The LSF bsub command is the primary method for submitting jobs on the HP XC system.
“Summary of the LSF bsub Command Format” provides a summary of the LSF bsub command format.
The format of the bsub command depends on the type of the job, as listed here:
Serial job; that is, a job that runs on a single core
The remaining sections describe how to submit a job for each of these job types.
The examples in this section submit the hostname command or a variation of a "hello, world" program. Most examples are run as interactive jobs to display the output.
The examples in this chapter are run on an HP XC system configuration in which lsfhost.localdomain is the virtual IP name of the LSF execution host and nodes n[1-16] are compute nodes in the lsf partition. All nodes contain 2 cores, providing 32 cores for use by LSF-HPC jobs.
Some examples, particularly those that launch parallel jobs, employ the LSF-SLURM External Scheduler to specify SLURM options that specify the minimum number of nodes required for the job, specific nodes for the job, and so on. “LSF-SLURM External Scheduler” provides additional information on the LSF-SLURM External Scheduler. The format of this option is shown here:
-ext "SLURM[slurm-arguments]" |
The slurm-arguments can consist of one or more srun allocation options (in long format).
Refer to “LSF-SLURM External Scheduler” for additional information about using the LSF-SLURM external scheduler. The Platform Computing LSF documentation provides more information on general external scheduler support. Also see the lsf_diff(1) manpage for information on the specific srun options available in the external LSF-SLURM scheduler.