Parallel Programming Guide for HP-UX Systems

MPI
Compiling and Linking
Chapter 218
If aCC is not available, mpiCC uses CC as the default C++ compiler.
Even though the mpiCC and mpif90 compilation utilities are shipped with HP MPI, all C++
and Fortran 90 applications use C and Fortran 77 bindings respectively.
Table 2-2 Default compilers for Linux Itanium2
Language Utility
Default compiler if
/opt/intel/compiler70
exists
Default compiler if
/opt/intel/compiler70
does not exist
C mpicc ecc /usr/bin/gcc
C++ mpiCC ecc /usr/bin/g++
Fortran 77 mpif77 efc /usr/bin/g77
Fortran 90 mpif90 efc f90
Table 2-3 Default compilers for Linux IA-32
Language Utility
Default compiler if
/opt/intel/compiler70
exists
Default compiler if
/opt/intel/compiler70
does not exist
C mpicc icc /usr/bin/gcc
C++ mpiCC icc /usr/bin/g++
Fortran 77 mpif77 ifc /usr/bin/g77
Fortran 90 mpif90 ifc f90
Table 2-4 Default compilers for Tru64UNIX
Language Utility Default compiler
C mpicc /usr/bin/cc
C++ mpiCC /usr/bin/cxx
Fortran 77 mpif77 /usr/bin/f77
Fortran 90 mpif90 /usr/bin/f90