MKL is a math library that references pthreads, and in enabled environments, can use multiple threads. MKL can be linked in a
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
If you are building
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 LinkingThe 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 |