Parallel Programming Guide for HP-UX Systems
MPI
Debugging
Chapter 260
$MPI_ROOT/bin/mpicc:
HP MPI 02.00.00.00 (dd/mm/yyyy) B6060BA - HP-UX 11.i
This command returns the HP MPI version number, the date this version was released, HP
MPI product numbers, and the operating system version.
Building
You can solve most build-time problems by referring to the documentation for the compiler
you are using.
If you use your own build script, specify all necessary input libraries. To determine what
libraries are needed, check the contents of the compilation utilities stored in the HP MPI
$MPI_ROOT/bin subdirectory.
HP MPI supports a 64-bit version of the MPI library on platforms running HP-UX 11i and
higher. Both 32- and 64-bit versions of the library are shipped with HP-UX 11i and higher. For
HP-UX 11i and higher, you cannot mix 32-bit and 64-bit executables in the same application.
HP MPI does not support Fortran applications that are compiled with the following option:
•+autodblpad— Fortran 77 programs
Starting
CAUTION Starting a MPI executable without the mpirun utility is no longer supported.
For example, applications previously started by using a.out -np # [args]
must now be started using mpirun -np # a.out [args].
When starting multihost applications, make sure that:
• All remote hosts are listed in your .rhosts file on each machine and you can remsh to the
remote machines. The mpirun command has the -ck option you can use to determine
whether the hosts and programs specified in your MPI application are available, and
whether there are access or permission problems.
• Application binaries are available on the necessary remote hosts and are executable on
those machines
• The -sp option is passed to mpirun to set the target shell PATH environment variable.
You can set this option in your appfile
• The .cshrc file does not contain tty commands such as stty if you are using a
/bin/csh-based shell