beautypg.com

2 using compilers, 1 standard linux compilers, 2 intel compilers – HP XC System 2.x Software User Manual

Page 42: 3 pgi compilers, Table 3-1: intel compiler commands, Table 3-2: pgi compiler commands, Section 3.2)

background image

3.2 Using Compilers

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

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

3.2.1 Standard Linux Compilers

The standard Linux C compiler (

gcc

), C++ compiler (

gcc++

), and Fortran 77 compiler (

g77

)

and libraries are supported on the HP XC system. They perform as described in the Linux
documentation.

The HP XC System Software supplies these compilers by default.

3.2.2 Intel Compilers

The information in this section pertains to using Intel compilers in the HP XC environment on
the 64-bit architecture platform. Intel compilers are not supplied with the HP XC system. The
following Intel compilers are supported for this version of HP XC:

Intel Fortran and C/C++ Version 8.0 compilers

Intel Fortran and C/C++ Version 7.1 compilers

Use one of the commands listed in Table 3-1 to compile programs with Intel compilers,
depending upon what Intel compilers are installed on your system.

Table 3-1: Intel Compiler Commands

Compiler

Command

Fortran V8.1, V9.0 beta

ifort

C/C++ V8.1, V9.0 beta

icc

Fortran V7.1*

efc

C/C++ V7.1*

ecc

* These compilers can be used, but will not be supported by Intel much longer.

3.2.3 PGI Compilers

The information in this section pertains to using PGI compilers in the HP XC environment on
the XC4000 platform. The following PGI compilers are supported for this version of HP XC:

PGI Fortran 95 and C/C++ compilers

PGI Fortran 77 and C/C++ compilers

Use one of the commands listed in Table 3-2 to compile programs with PGI compilers,
depending upon what PGI compilers are installed on your system.

Table 3-2: PGI Compiler Commands

Compiler

Command

Fortran 95

pgf95

C/C++

pgcc

Fortran 77

pgf77

C/C++

pgCC

3-2

Developing Applications