2.3
Launching and Managing Jobs Quick Start ......................................... 2-7
2.3.1
Introduction ...................................................................... 2-7
2.3.2
Getting Information About Queues ............................................ 2-7
2.3.3
Getting Information About Resources ......................................... 2-7
2.3.4
Getting Information About the System’s Partitions ........................... 2-8
2.3.5
Launching Jobs .................................................................. 2-8
2.3.5.1
Submitting a Serial Job .................................................... 2-8
2.3.5.2
Submitting a Non-MPI Parallel Job ....................................... 2-9
2.3.5.3
Submitting an MPI Job ..................................................... 2-10
2.3.5.4
Submitting a Batch Job or Job Script ..................................... 2-11
2.3.6
Getting Information About Your Jobs ......................................... 2-12
2.3.7
Stopping and Suspending Jobs ................................................. 2-12
2.3.8
Resuming Suspended Jobs ...................................................... 2-12
2.4
Performing Other Common User Tasks ............................................. 2-12
2.4.1
Determining the LSF Cluster Name and LSF Execution Host ............... 2-12
2.4.2
Installing Third-Party Software ................................................ 2-12
2.5
Getting System Help and Information .............................................. 2-12
3 Developing Applications
3.1
Overview .............................................................................. 3-1
3.2
Using Compilers ...................................................................... 3-2
3.2.1
Standard Linux Compilers ...................................................... 3-2
3.2.2
Intel Compilers ................................................................... 3-2
3.2.3
PGI Compilers ................................................................... 3-2
3.2.4
Pathscale Compilers ............................................................. 3-3
3.2.5
MPI Compiler .................................................................... 3-3
3.3
Checking Nodes and Partitions Before Running Jobs ............................. 3-3
3.4
Interrupting a Job ..................................................................... 3-3
3.5
Setting Debugging Options .......................................................... 3-3
3.6
Developing Serial Applications ..................................................... 3-3
3.6.1
Serial Application Build Environment ......................................... 3-4
3.6.1.1
Using MLIB in Serial Applications ....................................... 3-4
3.6.2
Building Serial Applications .................................................... 3-4
3.6.2.1
Compiling and Linking Serial Applications .............................. 3-4
3.7
Developing Parallel Applications ................................................... 3-4
3.7.1
Parallel Application Build Environment ....................................... 3-5
3.7.1.1
Modulefiles ................................................................. 3-5
3.7.1.2
HP-MPI ...................................................................... 3-5
3.7.1.3
OpenMP ..................................................................... 3-5
3.7.1.4
Pthreads ..................................................................... 3-5
3.7.1.5
Quadrics S
HMEM ..........................................................
3-6
3.7.1.6
MLIB Math
Library ........................................................
3-6
3.7.1.7
MPI Libra
ry .................................................................
3-6
3.7.1.8
Intel For
tran and C/C++Compilers ........................................
3-7
3.7.1.9
PGI Fortr
an and C/C++ Compilers .......................................
3-7
3.7.1.10
GNU C and C
++ Compilers ...............................................
3-7
3.7.1.11
GNU Para
llel Make ........................................................
3-7
3.7.1.1
2
MKL Libr
ary ................................................................
3-7
3.7.1.1
3
ACML Lib
rary ..............................................................
3-7
3.7.1.1
4
Other Li
braries ..............................................................
3-7
3.7.1.1
5
Reserve
d Symbols and Names ............................................
3-8
3.7.2
Buildin
g Parallel Applications ..................................................
3-8
3.7.2.1
Compil
ing and Linking Non-MPI Applications .........................
3-8
i
v Contents
Commentaires sur ces manuels