2.3

Launching and Managing Jobs Quick Start

2-7

2.3.1

Introduction

2-7

2.3.2

Getting Information About Queues

2-7

2.3.3

Getting Information About Resources

2-7

2.3.4

Getting Information About the System’s Partitions

2-8

2.3.5

Launching Jobs

2-8

2.3.5.1

Submitting a Serial Job

2-8

2.3.5.2

Submitting a Non-MPI Parallel Job

2-9

2.3.5.3

Submitting an MPI Job

2-10

2.3.5.4

Submitting a Batch Job or Job Script

2-11

2.3.6

Getting Information About Your Jobs

2-12

2.3.7

Stopping and Suspending Jobs

2-12

2.3.8

Resuming Suspended Jobs

2-12

2.4

Performing Other Common User Tasks

2-12

2.4.1

Determining the LSF Cluster Name and LSF Execution Host

2-12

2.4.2

Installing Third-Party Software

2-12

2.5

Getting System Help and Information

2-12

3 Developing Applications

3.1

Overview

3-1

3.2

Using Compilers

3-2

3.2.1

Standard Linux Compilers

3-2

3.2.2

Intel Compilers

3-2

3.2.3

PGI Compilers

3-2

3.2.4

Pathscale Compilers

3-3

3.2.5

MPI Compiler

3-3

3.3

Checking Nodes and Partitions Before Running Jobs

3-3

3.4

Interrupting a Job

3-3

3.5

Setting Debugging Options

3-3

3.6

Developing Serial Applications

3-3

3.6.1

Serial Application Build Environment

3-4

3.6.1.1

Using MLIB in Serial Applications

3-4

3.6.2

Building Serial Applications

3-4

3.6.2.1

Compiling and Linking Serial Applications

3-4

3.7

Developing Parallel Applications

3-4

3.7.1

Parallel Application Build Environment

3-5

3.7.1.1

Modulefiles

3-5

3.7.1.2

HP-MPI

3-5

3.7.1.3

OpenMP

3-5

3.7.1.4

Pthreads

3-5

3.7.1.5

Quadrics SHMEM

3-6

3.7.1.6

MLIB Math Library

3-6

3.7.1.7

MPI Library

3-6

3.7.1.8

Intel Fortran and C/C++Compilers

3-7

3.7.1.9

PGI Fortran and C/C++ Compilers

3-7

3.7.1.10

GNU C and C++ Compilers

3-7

3.7.1.11

GNU Parallel Make

3-7

3.7.1.12

MKL Library

3-7

3.7.1.13

ACML Library

3-7

3.7.1.14

Other Libraries

3-7

3.7.1.15

Reserved Symbols and Names

3-8

3.7.2

Building Parallel Applications

3-8

3.7.2.1

Compiling and Linking Non-MPI Applications

3-8

iv Contents

Page 4
Image 4
HP XC System 2.x Software manual Developing Applications, 5.4