Product specifications

Table Of Contents
5–Using QLogic MPI
QLogic MPI Details
IB6054601-00 H 5-17
A
mpirun monitors the parallel MPI job, terminating when all the node programs in
that job exit normally, or if any of them terminates abnormally.
Killing the mpirun program kills all the processes in the job. Use CTRL+C to kill
mpirun.
Console I/O in MPI Programs
mpirun sends any output printed to stdout or stderr by any node program to
the terminal. This output is line-buffered, so the lines output from the various node
programs will be non-deterministically interleaved on the terminal. Using the -l
option to mpirun will label each line with the rank of the node program from which
it was produced.
Node programs do not normally use interactive input on stdin, and by default,
stdin is bound to /dev/null. However, for applications that require standard
input redirection, QLogic MPI supports two mechanisms to redirect stdin:
When mpirun is run from the same node as MPI rank 0, all input piped to
the mpirun command is redirected to rank 0.
When mpirun is not run from the same node as MPI rank 0, or if the input
must be redirected to all or specific MPI processes, the -stdin option can
redirect a file as standard input to all nodes (or to a particular node) as
specified by the -stdin-target option.
Environment for Node Programs
InfiniPath-related environment variables are propagated to node programs. These
include environment variables that begin with the prefix IPATH_, PSM_, MPI or
LD_. Some other variables (such as HOME) are set or propagated by ssh(1).
mpirun checks for these environment variables in the shell where it is invoked,
and then propagates them correctly. The environment on each node is whatever it
would be for the user’s login via ssh, unless you are using a Multi-Purpose
Daemon (MPD) (see “MPD” on page 5-23).
NOTE:
The environment variable LD_BIND_NOW is not supported for QLogic MPI
programs. Not all symbols referenced in the shared libraries can be resolved
on all installations. (They provide a variety of compatible behaviors for
different compilers, etc.) Therefore, the libraries are built to run in lazy
binding mode; the dynamic linker evaluates and binds to symbols only when
needed by the application in a given runtime environment.