3 configuring your environment with modulefiles, 4 developing applications, 5 submitting jobs – HP XC System 3.x Software User Manual
Page 4
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
Unloading a Modulefile.........................................................................................................................34
Modulefile Conflicts...............................................................................................................................34
Creating a Modulefile...........................................................................................................................35
Viewing Modulefile-Specific Help............................................................................................................35
Examining Nodes and Partitions Before Running Jobs................................................................................38
Interrupting a Job..................................................................................................................................38
Setting Debugging Options....................................................................................................................39
Developing Serial Applications...............................................................................................................39
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
Compiling and Linking Non-MPI Applications.................................................................................42
Compiling and Linking HP-MPI Applications...................................................................................42
Examples of Compiling and Linking HP-MPI Applications.................................................................43
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
4
Table of Contents