HP XC System Software User's Guide Version 3.2

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
NotesCompilersType
FortranC++C
All HP XC platforms.
The HP XC System Software supplies
these compilers by default.
g77gcc++gcc
Standard
Linux
Version 9.0 compilers
For use on the Intel 64–bit platform.
iforticcicc
Intel
Version 8.0 compilers
For use on the Intel 64–bit platform.
iforticcicc
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.
efceccecc
Intel
For use on the CP4000 platform
pgf95, pgf77pgCCpgcc
PGI
For use on the CP4000 platform
pathf90 provided for backward
compatibility.
pathf95,
pathf90
pathCCpathcc
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.
44 Developing Applications