List of Examples

5-1

Submitting a Job from the Standard Input....................................................................................

50

5-2

Submitting a Serial Job Using LSF ................................................................................................

50

5-3

Submitting an Interactive Serial Job Using LSF only....................................................................

50

5-4

Submitting an Interactive Serial Job Using LSF and the LSF-SLURM External Scheduler..........

50

5-5

Submitting a Non-MPI Parallel Job...............................................................................................

52

5-6

Submitting a Non-MPI Parallel Job to Run One Task per Node...................................................

52

5-7

Submitting an MPI Job..................................................................................................................

53

5-8

Submitting an MPI Job with the LSF-SLURM External Scheduler Option...................................

53

5-9

Using the External Scheduler to Submit a Job to Run on Specific Nodes.....................................

55

5-10

Using the External Scheduler to Submit a Job to Run One Task per Node..................................

55

5-11

Using the External Scheduler to Submit a Job That Excludes One or More Nodes.....................

55

5-12

Using the External Scheduler to Launch a Command in Parallel on Ten Nodes.........................

55

5-13

Using the External Scheduler to Constrain Launching to Nodes with a Given Feature..............

56

5-14

Submitting a Job Script..................................................................................................................

56

5-15

Submitting a Batch Script with the LSF-SLURM External Scheduler Option...............................

57

5-16

Submitting a Batch Job Script That Uses a Subset of the Allocation.............................................

57

5-17

Submitting a Batch job Script That Uses the srun --overcommit Option......................................

57

5-18

Environment Variables Available in a Batch Job Script.................................................................

58

8-1

The vtjacobic Example Program....................................................................................................

76

8-2

C Example – Running the vtjacobic Example Program................................................................

76

9-1

Simple Launch of a Serial Program...............................................................................................

82

9-2

Displaying Queued Jobs by Their JobIDs.....................................................................................

83

9-3

Reporting on Failed Jobs in the Queue.........................................................................................

83

9-4

Terminating a Job by Its JobID......................................................................................................

83

9-5

Cancelling All Pending Jobs..........................................................................................................

83

9-6

Sending a Signal to a Job...............................................................................................................

83

9-7

Using the sinfo Command (No Options)......................................................................................

83

9-8

Reporting Reasons for Downed, Drained, and Draining Nodes..................................................

84

10-1

Examples of LSF Job Launch.........................................................................................................

87

10-2

Examples of Launching LSF Jobs Without the srun Command...................................................

88

10-3

Job Allocation Information for a Running Job..............................................................................

97

10-4

Job Allocation Information for a Finished Job..............................................................................

98

10-5

Using the bjobs Command (Short Output)...................................................................................

98

10-6

Using the bjobs Command (Long Output)...................................................................................

99

10-7

Using the bhist Command (Short Output)....................................................................................

99

10-8

Using the bhist Command (Long Output)..................................................................................

100

10-9

Launching an Interactive MPI Job...............................................................................................

102

10-10

Launching an Interactive MPI Job on All Cores in the Allocation..............................................

102

10 List of Examples