List of Examples

 

4-1 Directory Structure................................................................................................................................

44

4-2 Recommended Directory Structure...........................................................................................................

44

5-1 Submitting a Serial Job Using Standard LSF.............................................................................................

46

5-2 Submitting a Serial Job Using LSF-HPC ...................................................................................................

46

5-3 Submitting an Interactive Serial Job Using LSF-HPC only.............................................................................

47

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

47

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

48

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

48

5-7 Submitting an MPI Job...........................................................................................................................

49

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

49

5-9 Submitting a Job Script..........................................................................................................................

50

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

50

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

50

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

51

5-13 Environment Variables Available in a Batch Job Script.............................................................................

51

7-1 The vtjacobic Example Program..............................................................................................................

60

7-2 C Example – Running the vtjacobic Example Program................................................................................

60

8-1 Simple Launch of a Serial Program..........................................................................................................

64

8-2 Displaying Queued Jobs by Their JobIDs..................................................................................................

64

8-3 Reporting on Failed Jobs in the Queue....................................................................................................

65

8-4 Killing a Job by Its JobID.......................................................................................................................

65

8-5 Cancelling All Pending Jobs...................................................................................................................

65

8-6 Sending a Signal to a Job.....................................................................................................................

65

8-7 Using the sinfo Command (No Options)..................................................................................................

65

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

65

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

79

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

79

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

79

9-4 Using the bjobs Command (Short Output)................................................................................................

81

9-5 Using the bjobs Command (Long Output)................................................................................................

82

9-6 Using the bhist Command (Short Output).................................................................................................

82

9-7 Using the bhist Command (Long Output)..................................................................................................

83

9-8 Launching an Interactive MPI Job............................................................................................................

85

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

85

11