beautypg.com

2 compilers, 1 mpi compiler, Compiler commands – HP XC System 3.x Software User Manual

Page 44

background image

HP UPC is a parallel extension of the C programming language, which runs on both common
types of multiprocessor systems: those with a common global address space (such as SMP) and
those with distributed memory. UPC provides a simple shared memory model for parallel
programming, allowing data to be shared or distributed among a number of communicating
processors. Constructs are provided in the language to permit simple declaration of shared data,
distribute shared data across threads, and synchronize access to shared data across threads. This
model promises significantly easier coding of parallel applications and maximum performance
across shared memory, distributed memory, and hybrid systems.

See the following Web page for more information about HP UPC:

http://www.hp.com/go/upc

4.2 Compilers

You can use compilers acquired from other vendors on an HP XC system. For example, Intel
C/C++ and Fortran compilers for the 64-bit architecture and Portland Group C/C++ and Fortran
compilers on the CP4000 platform.

Intel, PGI, and Pathscale compilers are not supplied with the HP XC system.

You can use other compilers and libraries on the HP XC system as on any other system, provided
they contain single-core routines and have no dependencies on another message-passing system.

Table 4-1

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.1compilers

For use on the Intel 64–bit platform.

ifort

icc

icc

Intel

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

44

Developing Applications