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

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

3.1 Overview of Modules..........................................................................................................................31
3.2 Supplied Modulefiles..........................................................................................................................32
3.3 Modulefiles Automatically Loaded on the System.................................................................................33
3.4 Viewing Available Modulefiles.............................................................................................................33
3.5 Viewing Loaded Modulefiles...............................................................................................................34
3.6 Loading a Modulefile..........................................................................................................................34

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

3.7 Unloading a Modulefile.......................................................................................................................34
3.8 Viewing Modulefile-Specific Help........................................................................................................35
3.9 Modulefile Conflicts............................................................................................................................35
3.10 Creating a Modulefile........................................................................................................................35

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

4.1 Application Development Environment Overview................................................................................37
4.2 Compilers...........................................................................................................................................37

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

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

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

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

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

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

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

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

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

4.8 Developing Libraries...........................................................................................................................43

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

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

5.1 Overview of Job Submission................................................................................................................47
5.2 Submitting a Serial Job Using LSF-HPC................................................................................................47

5.2.1 Submitting a Serial Job with the LSF bsub Command.....................................................................47
5.2.2 Submitting a Serial Job Through SLURM Only..............................................................................48

5.3 Submitting a Parallel Job......................................................................................................................49

5.3.1 Submitting a Non-MPI Parallel Job...............................................................................................49
5.3.2 Submitting a Parallel Job That Uses the HP-MPI Message Passing Interface.....................................50
5.3.3 Submitting a Parallel Job Using the SLURM External Scheduler.....................................................51

4

Table of Contents