Mpi compiler, Examining nodes and partitions before running jobs, Interrupting a job – HP XC System 3.x Software User Manual
Page 38: 1 compiler commands
Table 4-1, “Compiler Commands”
displays the compiler commands for Standard Linux, Intel, and PGI
compilers for the C, C++, and Fortran languages.
Table 4-1 Compiler Commands
Notes
Compilers
Type
Fortran
C++
C
All HP XC platforms.
The HP XC System Software supplies these
compilers by default.
g77
gcc++
gcc
Standard Linux
Version 9.0 compilers
For use on the Intel-based 64–bit platform.
ifort
icc
icc
Intel
Version 8.0 compilers
For use on the Intel-based 64–bit platform.
ifort
icc
icc
Intel
Version 7.1 compilers
For use on the Intel-based 64–bit platform.
These compilers can be used but Intel may
not support them much longer.
efc
ecc
ecc
Intel
For use on the CP4000 platform
pgf95
, pgf77
pgCC
pgcc
PGI
For use on the CP4000 platform
pathf90
provided for backward
compatibility.
pathf95
, pathf90
pathCC
pathcc
Pathscale
MPI Compiler
The HP XC System Software includes MPI. The MPI library on the HP XC system is HP MPI Version 2.1.
Examining Nodes and Partitions Before Running Jobs
Before launching an application, you can determine the availability and status of the system's nodes and
partitions. Node and partition information is useful to have before launching a job so that you can launch
the job to properly match the resources that are available on the system.
When invoked with no options, the SLURM sinfo command returns information about node availability
and partitions, along with other information:
$ sinfo
PARTITION AVAIL TIMELIMIT NODES STATE NODELIST
lsf up infinite 4 down* n[12-15]
slurm* up infinite 2 idle n[10-11]
The previous sinfo output shows that there are two partitions on the system:
•
one for LSF jobs
•
one for SLURM jobs
The asterisk in the PARTITION column indicates the default partition. An asterisk in the STATE column indicates
nodes that are currently not responding.
Refer to
for information about using the sinfo command. The SLURM sinfo
manpage also provides detailed information about the sinfo command.
Interrupting a Job
A job launched by the srun command can be interrupted by sending a signal to the command by issuing
one or more Ctrl/C key sequences. Signals sent to the srun command are automatically forwarded to
the tasks that it is controlling.
38
Developing Applications