HP-MPI User's Guide (11th Edition)
Understanding HP-MPI
64-bit support
Chapter 356
When you use mpif90, compile with the +DD64 option to link the 64-bit
version of the library. Otherwise, mpif90 links the 32-bit version. For
example, to compile the program myprog.f90 and link the 64-bit library
enter:
% mpif90 +DD64 -o myprog myprog.f90
If you’re using a third party compiler on HP-UX, you must implicitly
pass -mpi32 and -mpi64 options to the compiler wrapper.
Linux
HP-MPI supports both 32- and 64-bit versions running Linux on AMD
Opteron or Intel64 systems. Both 32- and 64-bit versions of the library
are shipped with these systems, however, you cannot mix 32-bit and
64-bit executables in the same application.
HP-MPI includes -mpi32 and -mpi64 options for the compiler wrapper
script on Opteron and Intel64 systems. These options should be used to
indicate the bitness of the application to be invoked so that the
availability of interconnect libraries can be properly determined by the
HP-MPI utilities mpirun and mpid. The default is -mpi64.
Mellanox only provides a 64-bit InfiniBand driver. Therefore, 32-bit apps
are not supported on InfiniBand when running on Opteron or Intel64
machines.
The following table summarizes 32- and 64-bit libraries supported by
HP-MPI. Refer to the appropriate compiler man page for compiler
options.
Windows
HP-MPI supports both 32- and 64-bit versions running Windows on
AMD Opteron or Intel64. Both 32- and 64-bit versions of the library are
shipped with these systems, however you cannot mix 32-bit and 64-bit
executables in the same application.
HP-MPI includes -mpi32 and -mpi64 options for the compiler wrapper
script on Opteron and Intel64 systems. These options are only
necessary for the wrapper scripts so the correct libhpmpi32.dll or
libhpmpi64.dll is linked with the application. It is not necessary when
invoking the application.