beautypg.com

3 configuring your environment with modulefiles, 4 developing applications, 5 submitting jobs – HP XC System 3.x Software User Manual

Page 4

background image

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

2.4 Getting System Help and Information............................................................................................36

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

3.1 Overview of Modules......................................................................................................................37
3.2 Supplied Modulefiles......................................................................................................................38
3.3 Modulefiles Automatically Loaded on the System.........................................................................40
3.4 Viewing Available Modulefiles.......................................................................................................40
3.5 Viewing Loaded Modulefiles..........................................................................................................40
3.6 Loading a Modulefile......................................................................................................................40

3.6.1 Loading a Modulefile for the Current Session........................................................................40
3.6.2 Automatically Loading a Modulefile at Login........................................................................40

3.7 Unloading a Modulefile..................................................................................................................41
3.8 Viewing Modulefile-Specific Help..................................................................................................41
3.9 Modulefile Conflicts........................................................................................................................41
3.10 Creating a Modulefile....................................................................................................................42

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

4.1 Application Development Environment Overview........................................................................43
4.2 Compilers........................................................................................................................................44

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

4.3 Examining Nodes and Partitions Before Running Jobs..................................................................45
4.4 Interrupting a Job............................................................................................................................45
4.5 Setting Debugging Options.............................................................................................................45
4.6 Developing Serial Applications.......................................................................................................45

4.6.1 Serial Application Build Environment....................................................................................46
4.6.2 Building Serial Applications...................................................................................................46

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

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

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

4.7.1.1 Modulefiles......................................................................................................................47
4.7.1.2 HP-MPI............................................................................................................................47
4.7.1.3 OpenMP..........................................................................................................................47
4.7.1.4 Pthreads...........................................................................................................................47
4.7.1.5 Quadrics SHMEM...........................................................................................................47
4.7.1.6 MPI Library.....................................................................................................................48
4.7.1.7 Intel Fortran and C/C++Compilers..................................................................................48
4.7.1.8 PGI Fortran and C/C++ Compilers..................................................................................48
4.7.1.9 GNU C and C++ Compilers.............................................................................................48
4.7.1.10 Pathscale Compilers......................................................................................................48
4.7.1.11 GNU Parallel Make.......................................................................................................48
4.7.1.12 MKL Library..................................................................................................................49
4.7.1.13 ACML Library...............................................................................................................49
4.7.1.14 Other Libraries..............................................................................................................49

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

4.7.2.1 Compiling and Linking Non-MPI Applications.............................................................49
4.7.2.2 Compiling and Linking HP-MPI Applications...............................................................49
4.7.2.3 Examples of Compiling and Linking HP-MPI Applications..........................................49

4.8 Developing Libraries.......................................................................................................................50

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

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

5.1 Overview of Job Submission...........................................................................................................53

4

Table of Contents