3.2.4 Pathscale Compilers

Compilers in the Pathscale EKOPath Version 2.1 Compiler Suite are supported on HP XC4000 systems only. See the following Web site for more information:

http://www.pathscale.com/ekopath.html.

3.2.5 MPI Compiler

The HP XC System Software includes MPI. The MPI library on the HP XC system supports HP MPI 2.1.

3.3 Checking 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-HPC 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 Chapter 6 for information about using the sinfo command. The SLURM sinfo manpage also provides detailed information about the sinfo command.

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

The Ctrl/Z key sequence is ignored.

3.5 Setting Debugging Options

In general, the debugging information for your application that is needed by most debuggers can be produced by supplying the -gswitch to the compiler. For more specific information about debugging options, refer to the documentation and manpages associated with your compiler.

3.6 Developing Serial Applications

This section describes how to build and run serial applications in the HP XC environment. The following topics are covered:

Developing Applications 3-3

Page 43
Image 43
HP XC System 2.x Software Checking Nodes and Partitions Before Running Jobs, Interrupting a Job, Setting Debugging Options