3 Configuring Your Environment with Modulefiles

 

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

31

Supplied Modulefiles.............................................................................................................................

32

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

33

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

33

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

33

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

33

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

34

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

34

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

34

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

34

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

35

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

35

4 Developing Applications

 

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

37

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

37

MPI Compiler..................................................................................................................................

38

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

38

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

38

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

39

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

39

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

39

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

39

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

39

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

40

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

40

Modulefiles................................................................................................................................

40

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

40

OpenMP...................................................................................................................................

40

Pthreads....................................................................................................................................

41

Quadrics SHMEM......................................................................................................................

41

MPI Library................................................................................................................................

41

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

41

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

41

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

41

Pathscale Compilers....................................................................................................................

41

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

42

MKL Library...............................................................................................................................

42

ACML Library.............................................................................................................................

42

Other Libraries...........................................................................................................................

42

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

42

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

42

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

42

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

43

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

43

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

43

5 Submitting Jobs

 

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

45

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

46

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

46

Submitting a Serial Job with the LSF bsub Command............................................................................

46

Submitting a Serial Job Through SLURM only.......................................................................................

47

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

48

Submitting a Parallel Job That Uses the HP-MPI Message Passing Interface....................................................

48

Submitting a Batch Job or Job Script........................................................................................................

49

4Table of Contents