Product specifications

Table Of Contents
5–Using QLogic MPI
QLogic MPI Details
5-18 IB6054601-00 H
S
Environment variables are specified in descending order, as follows:
1. Set in the default shell environment on a remote node, e.g., ~/.bashrc or
equivalents.
2. Set in -rcfile.
3. Set the current shell environment for the mpirun command.
4. If nothing has been set (none of the previous sets have been performed),
the default value of the environment variable is used.
As noted in the above list, using an mpirunrc file overrides any environment
variables already set by the user. You can set environment variables for the node
programs with the -rcfile option of mpirun with the following command:
$ mpirun -np n -m mpihosts -rcfile mpirunrc program_name
In the absence of this option, mpirun checks to see if a file called
$HOME/.mpirunrc exists in the user's home directory. In either case, the file is
sourced by the shell on each node when the node program starts.
The .mpirunrc command line cannot contain any interactive commands. It can
contain commands that output on stdout or stderr.
There is a global options file for mpirun arguments. The default location of this
file is:
/opt/infinipath/etc/mpirun.defaults
You can use an alternate file by setting the environment variable
$PSC_MPIRUN_DEFAULTS_PATH. See the mpirun man page for more
information.
Environment Variables
Table 5-7 contains a summary of the environment variables that are used by
InfiniPath and mpirun.
Table 5-7. Environment Variables
Name Description
MPICH_ROOT This variable is used by mpirun to find the
mpirun-ipath-ssh executable, set up
LD_LIBRARY_PATH, and set up a prefix for all
InfiniPath pathnames. This variable is used by the
--prefix argument (or is the same as --pre-
fix), if installing InfiniPath RPMs in an alternate
location.
Default: Unset