3.7.1.15 Reserved Symbols and Names
The HP XC system reserves certain symbols and names for internal use. Reserved symbols and names should not be included in user code. If a reserved symbol or name is used, errors could occur.
3.7.2 Building Parallel Applications
This section describes how to build MPI and
3.7.2.1 Compiling and Linking Non-MPI Applications
If you are building
3.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, or you must arrange for them to be in your $PATH search list. The use of modules is described in Section 2.2.
3.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
To compile and link a C application using the mpicc command:
$ mpicc
To compile and link a Fortran application using the mpif90 command:
$ mpif90
In the above examples, the
Refer to Chapter 8 for additional information about building applications with