4.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
•On the CP3000 and CP4000 platforms (as appropriate):
•On the CP6000 platforms:
4.7.1.13ACML Library
You can use the AMD Core Math Library (ACML library) on the CP4000 platform.
4.7.1.14 Other Libraries
Other libraries can be used as they would on any other system. However they must contain single core routines and have no dependencies on another message passing system.
4.7.2 Building Parallel Applications
This section describes how to build MPI and
4.7.2.1 Compiling and Linking Non-MPI Applications
If you are building
4.7.2.2 Compiling and Linking HP-MPI Applications
This section provides some general information about how to build an
Compiling and linking an MPI application on an HP XC system is performed by invoking the
The mpicc, mpic++, mpif90, and mpif77 MPI compiler commands are used to invoke the
Before you can compile and link an MPI program using the MPI compiler commands, the MPI compiler utilities module (mpi) must be loaded by using the module load mpi command, or you must arrange for them to be in your $PATH search list. The use of modules is described in “Overview of Modules”.
4.7.2.3 Examples of Compiling and Linking HP-MPI Applications
The following examples show how to compile and link your application code by invoking a compiler utility.
If you have not already loaded the mpi compiler utilities module , load it now as follows:
$ module load mpi
4.7 Developing Parallel Applications | 45 |