Parallel Programming Guide for HP-UX Systems
MPI
Compiling and Linking
Chapter 2 19
If you want to use a compiler other than the default one assigned to each utility, set the
corresponding environment variables shown in Table 2-5.
Autodouble functionality
HP MPI 2.0 supports Fortran programs compiled 64-bit with any of the following options:
For HP-UX:
• +i8
• +r8
• +autodbl4
• +autodbl
For Linux Itanium2:
• -i2
Set default KIND of integer variables is 2.
• -i4
Set default KIND of integer variables is 4.
• -i8
Set default KIND of integer variables is 8.
• -r8
Set default size of REAL to 8 bytes.
• -r16
Set default size of REAL to 16 bytes.
• -autodouble
Table 2-5 Compilation environment variables
Utility Environment variable
mpicc MPI_CC
mpiCC MPI_CXX
mpif77 MPI_F77
mpif90 MPI_F90