beautypg.com

1 mpi compiler, 4 interrupting a job, Compiler commands – HP XC System 3.x Software User Manual

Page 38: Table 4-1

background image

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 64–bit platform.

ifort

icc

icc

Intel

Version 8.0 compilers

For use on the Intel 64–bit platform.

ifort

icc

icc

Intel

Version 7.1 compilers

For use on the Intel 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

4.2.1 MPI Compiler

The HP XC System Software includes

MPI

. The MPI library on the HP XC system is HP-MPI Version 2.1.

4.3 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.

See

Chapter 9 “Using SLURM”

for information about using the sinfo command. The SLURM sinfo

manpage also provides detailed information about the sinfo command.

4.4 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.

The Ctrl/C key sequence will report the state of all tasks associated with the srun command. If the
Ctrl/C

key sequence is entered twice within one second, the associated SIGINT signal will be sent to all

tasks. If a third Ctrl/C key sequence is entered, the job will be terminated without waiting for remote
tasks to exit.

38

Developing Applications