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
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
Table
Table 4-1 Compiler Commands
Type |
| Compilers |
| Notes |
| C | C++ | Fortran |
|
Standard | gcc | gcc++ | g77 | All HP XC platforms. |
Linux |
|
|
| The HP XC System Software supplies |
|
|
|
| |
|
|
|
| these compilers by default. |
Intel | icc | icc | ifort | Version 9.1compilers |
|
|
|
| For use on the Intel |
Intel | icc | icc | ifort | Version 9.0 compilers |
|
|
|
| For use on the Intel |
Intel | icc | icc | ifort | Version 8.0 compilers |
|
|
|
| For use on the Intel |
Intel | ecc | ecc | efc | Version 7.1 compilers |
|
|
|
| For use on the Intel |
|
|
|
| These compilers can be used but Intel |
|
|
|
| may not support them much longer. |
PGI | pgcc | pgCC | pgf95, pgf77 |
Pathscale | pathcc | pathCC | pathf95, |
|
|
| pathf90 |
For use on the CP4000 platform For use on the CP4000 platform
pathf90 provided for backward compatibility.
4.2.1 MPI Compiler
The HP XC System Software includes MPI. The MPI library on the HP XC system is
40 Developing Applications