HP XC System Software User's Guide Version 3.2

List of Examples
5-1 Submitting a Job from the Standard Input....................................................................................54
5-2 Submitting a Serial Job Using LSF-HPC .......................................................................................54
5-3 Submitting an Interactive Serial Job Using LSF-HPC only...........................................................54
5-4 Submitting an Interactive Serial Job Using LSF-HPC and the LSF-SLURM External
Scheduler.......................................................................................................................................54
5-5 Submitting a Non-MPI Parallel Job...............................................................................................56
5-6 Submitting a Non-MPI Parallel Job to Run One Task per Node...................................................56
5-7 Submitting an MPI Job..................................................................................................................57
5-8 Submitting an MPI Job with the LSF-SLURM External Scheduler Option...................................57
5-9 Using the External Scheduler to Submit a Job to Run on Specific Nodes.....................................59
5-10 Using the External Scheduler to Submit a Job to Run One Task per Node..................................59
5-11 Using the External Scheduler to Submit a Job That Excludes One or More Nodes.....................59
5-12 Using the External Scheduler to Launch a Command in Parallel on Ten Nodes.........................59
5-13 Using the External Scheduler to Constrain Launching to Nodes with a Given Feature..............60
5-14 Submitting a Job Script..................................................................................................................60
5-15 Submitting a Batch Script with the LSF-SLURM External Scheduler Option...............................61
5-16 Submitting a Batch Job Script That Uses a Subset of the Allocation.............................................61
5-17 Submitting a Batch job Script That Uses the srun --overcommit Option......................................61
5-18 Environment Variables Available in a Batch Job Script.................................................................62
8-1 The vtjacobic Example Program....................................................................................................86
8-2 C Example Running the vtjacobic Example Program................................................................86
9-1 Simple Launch of a Serial Program...............................................................................................92
9-2 Displaying Queued Jobs by Their JobIDs.....................................................................................93
9-3 Reporting on Failed Jobs in the Queue.........................................................................................93
9-4 Terminating a Job by Its JobID......................................................................................................93
9-5 Cancelling All Pending Jobs..........................................................................................................93
9-6 Sending a Signal to a Job...............................................................................................................93
9-7 Using the sinfo Command (No Options)......................................................................................93
9-8 Reporting Reasons for Downed, Drained, and Draining Nodes..................................................94
10-1 Examples of LSF-HPC Job Launch................................................................................................97
10-2 Examples of Launching LSF-HPC Jobs Without the srun Command..........................................98
10-3 Job Allocation Information for a Running Job............................................................................108
10-4 Job Allocation Information for a Finished Job.............................................................................108
10-5 Using the bjobs Command (Short Output).................................................................................109
10-6 Using the bjobs Command (Long Output)..................................................................................109
10-7 Using the bhist Command (Short Output)..................................................................................109
10-8 Using the bhist Command (Long Output)..................................................................................110
10-9 Launching an Interactive MPI Job...............................................................................................112
10-10 Launching an Interactive MPI Job on All Cores in the Allocation..............................................113
13