8 intel fortran and c/c++compilers, 9 pgi fortran and c/c++ compilers, 10 gnu c and c++ compilers – HP XC System 2.x Software User Manual

Page 47: 11 gnu parallel make, 12 mkl library, 13 acml library, 14 other libraries

Advertising
background image

The HP XC cluster comes with a modulefile for HP-MPI. The

mpi

modulefile is used to set up

the necessary environment to use HP-MPI, such as the values of the search paths for header
and library files.

Refer to Chapter 8 for information and examples that show how to build and run an HP-MPI
application.

3.7.1.8 Intel Fortran and C/C++Compilers

Intel Fortran compilers (Version 7.x and greater) are supported on the HP XC cluster. However,
the HP XC cluster does not supply a copy of Intel compilers. Intel compilers must be obtained
directly from the vendor. Refer to Intel documentation for information about using these
compilers.

3.7.1.9 PGI Fortran and C/C++ Compilers

PGI Fortran 95, Fortran 77, and C/C++ compilers are supported on the HP XC cluster.
However, the HP XC cluster does not supply a copy of PGI compilers. PGI compilers must be
obtained directly from the vendor. Refer to PGI documentation for information about using
these compilers.

3.7.1.10 GNU C and C++ Compilers

The GNU C and C++ compilers are supported on the HP XC cluster. The HP XC cluster
supplies copies of the GNU C and C++ compilers.

3.7.1.11 GNU Parallel Make

The GNU parallel Make command is used whenever the

make

command is invoked. GNU

parallel Make provides the ability to do a parallel Make; however, all compiling takes place on
the login node. Therefore, whether a parallel

make

improves build time depends upon how

many processors are on the login node and the load on the login node.

Information about using the GNU parallel Make is provided in Section 3.9.1.

For further information about using GNU parallel Make, refer to the

make

manpage. For

additional sources of GNU information, refer to the references provided in the front of this
manual, located in About This Document.

3.7.1.12 MKL Library

MKL is a math library that references

pthreads

, and in enabled environments, can use

multiple threads. MKL can be linked in a single-threaded manner with your application by
specifying the following in the link command:

On XC3000 and XC4000 systems:

-L/opt/intel/mkl70/lib/32 -lmkl_ia32 -lguide -pthread

On XC6000 systems:

-L/opt/intel/mkl70/lib/64 -lmkl_ipf -lguide -pthread

3.7.1.13 ACML Library

HP XC supports the AMD Core Math Library (ACML library) on XC4000.

3.7.1.14 Other Libraries

Other libraries can be used as they would on any other system. However they must contain
single processor routines and have no dependencies on another message passing system.

Developing Applications

3-7

Advertising