2.3.1 Determining the LSF Cluster Name and the LSF Execution Host..........................................

32

2.4

Getting System Help and Information............................................................................................

32

3 Configuring Your Environment with Modulefiles.......................................................

33

3.1

Overview of Modules......................................................................................................................

33

3.2 Supplied Modulefiles......................................................................................................................

34

3.3

Modulefiles Automatically Loaded on the System.........................................................................

36

3.4

Viewing Available Modulefiles.......................................................................................................

36

3.5

Viewing Loaded Modulefiles..........................................................................................................

36

3.6

Loading a Modulefile......................................................................................................................

36

 

3.6.1 Loading a Modulefile for the Current Session........................................................................

36

 

3.6.2 Automatically Loading a Modulefile at Login........................................................................

36

3.7 Unloading a Modulefile..................................................................................................................

37

3.8

Viewing Modulefile-Specific Help..................................................................................................

37

3.9

Modulefile Conflicts........................................................................................................................

37

3.10 Creating a Modulefile....................................................................................................................

38

4 Developing Applications.............................................................................................

39

4.1

Application Development Environment Overview........................................................................

39

4.2

Compilers........................................................................................................................................

40

 

4.2.1 MPI Compiler..........................................................................................................................

40

4.3

Examining Nodes and Partitions Before Running Jobs..................................................................

41

4.4

Interrupting a Job............................................................................................................................

41

4.5

Setting Debugging Options.............................................................................................................

41

4.6

Developing Serial Applications.......................................................................................................

41

 

4.6.1 Serial Application Build Environment....................................................................................

42

 

4.6.2 Building Serial Applications...................................................................................................

42

 

4.6.2.1 Compiling and Linking Serial Applications...................................................................

42

4.7 Developing Parallel Applications....................................................................................................

42

 

4.7.1 Parallel Application Build Environment.................................................................................

42

 

4.7.1.1 Modulefiles......................................................................................................................

43

 

4.7.1.2 HP-MPI............................................................................................................................

43

 

4.7.1.3 OpenMP..........................................................................................................................

43

 

4.7.1.4 Pthreads...........................................................................................................................

43

 

4.7.1.5 Quadrics SHMEM...........................................................................................................

43

 

4.7.1.6 MPI Library.....................................................................................................................

44

 

4.7.1.7 Intel Fortran and C/C++Compilers..................................................................................

44

 

4.7.1.8 PGI Fortran and C/C++ Compilers..................................................................................

44

 

4.7.1.9 GNU C and C++ Compilers.............................................................................................

44

 

4.7.1.10 Pathscale Compilers......................................................................................................

44

 

4.7.1.11 GNU Parallel Make.......................................................................................................

44

 

4.7.1.12 MKL Library..................................................................................................................

45

 

4.7.1.13 ACML Library...............................................................................................................

45

 

4.7.1.14 Other Libraries..............................................................................................................

45

 

4.7.2 Building Parallel Applications................................................................................................

45

 

4.7.2.1 Compiling and Linking Non-MPI Applications.............................................................

45

 

4.7.2.2 Compiling and Linking HP-MPI Applications...............................................................

45

 

4.7.2.3 Examples of Compiling and Linking HP-MPI Applications..........................................

45

4.8

Developing Libraries.......................................................................................................................

46

 

4.8.1 Designing Libraries for the CP4000 Platform.........................................................................

46

5 Submitting Jobs............................................................................................................

49

5.1

Overview of Job Submission...........................................................................................................

49

4Table of Contents