11 hp-mpi documentation and manpages – HP XC System 2.x Software User Manual
Page 123
Run the resulting
prog.x
under MPICH. However, various problems will be encountered.
First, the MPICH installation will need to be built to include shared libraries and a soft link
would need to be created for
libmpich.so
, since their libraries might be named differently.
Next an appropriate
LD_LIBRARY_PATH
setting must be added manually since MPICH
expects the library path to be hard coded into the executable at link time by
-rpath
.
Finally, while the resulting executable would run over any supported system interconnect under
HP-MPI, it would not do this under MPICH due to not being linked against
libgm/libelan
.
Similar problems would be encountered if linking under MPICH and running under HP-MPI’s
MPICH compatibility. MPICH’s use of
-rpath
to hard code the library path at link time
would keep the executable from being able to find the HP-MPI MPICH compatibility library by
means of the LD_LIBRARY_PATH setting.
8.11 HP-MPI Documentation and Manpages
The HP MPI User’s Guide and HP-MPI Release Notices are available online in the following
locations:
•
In
/opt/hpmpi/doc
after you install the product
•
At
http://docs.hp.com
•
At
http://www.hp.com/go/mpi
On systems that have the Version 7 Intel compiler, documentation is installed by default
with the compiler at
/opt/intel/compiler70/docs
. On systems that have the
Version 8 Intel compiler, documentation is installed at
/opt/intel_cc_80/docs
or
/opt/intel_fc_80/docs
.
The HP-MPI manpages are located in the
MPI_ROOT/share/man/man1*
subdirectory, and
can be grouped into three categories: general, compilation, and run-time. There is one general
manpage,
MPI.1
, that is an overview describing general features of HP-MPI. The compilation
and run-time manpages are those that describe HP-MPI utilities.
Table 8-2 describes the three categories of manpages in the
man1*
subdirectory that comprise
manpages for HP-MPI utilities.
Table 8-2: HP-MPI Manpage Categories
Category
Manpages
Description
General
MPI.1
Describes the general features of HP-MPI.
Compilation
mpicc.1
mpiCC.1
mpif77.1
mpif90.1
Describes the available compilation utilities. Refer to
"Compiling Applications" in HP-MPI documentation for
more information.
Runtime
mpiclean.1
mpidebug.1
mpienv.1
mpiexec.1
mpijob.1
mpimtsafe.1
mpirun.1
mpistdio.1
Describes run-time utilities, environment variables,
debugging, thread-safe, and diagnostic libraries.
Using HP-MPI
8-13