4
–
Running MPI on QLogic Adapters
Open MPI
4-16
IB0054606-02 A
Open MPI adds the base-name of the current node’s
bindir
(the directory where
Open MPI’s executables are installed) to the prefix and uses that to set the PATH
on the remote node. Similarly, Open MPI adds the base-name of the current
node’s
libdir
(the directory where Open MPI’s libraries are installed) to the
prefix and uses that to set the LD_LIBRARY_PATH on the remote node. For
example:
Local bindir: /local/node/directory/bin
Local libdir: /local/node/directory/lib64
If the following command line is used:
% mpirun --prefix /remote/node/directory
Open MPI will add
/remote/node/directory/bin
to the PATH and
/remote/node/directory/lib64
to the D_LIBRARY_PATH on the remote
node before attempting to execute anything.
Note that
--prefix
can be set on a per-context basis, allowing for different
values for different nodes.
The
--prefix
option is not sufficient if the installation paths on the remote node
are different than the local node (for example, if
/lib
is used on the local node
but
/lib64
is used on the remote node), or if the installation paths are
something other than a subdirectory under a common prefix.
Note that executing
mpirun
using an absolute pathname is equivalent to
specifying
--prefix
without the last subdirectory in the absolute pathname to
mpirun
. For example:
% /usr/local/bin/mpirun ...
is equivalent to
% mpirun --prefix /usr/local
Exported Environment Variables
All environment variables that are named in the form OMPI_* will automatically be
exported to new processes on the local and remote nodes. The
-x
option to
mpirun
can be used to export specific environment variables to the new
processes. While the syntax of the
-x
option allows the definition of new
variables. Note that the parser for this option is currently not very sophisticated, it
does not understand quoted values. Users are advised to set variables in the
environment and use
-x
to export them, not to define them.
Summary of Contents for OFED+ Host
Page 1: ...IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 14: ...xiv IB0054606 02 A OFED Host Software Release 1 5 4 User Guide...
Page 22: ...1 Introduction Interoperability 1 4 IB0054606 02 A...
Page 96: ...4 Running MPI on QLogic Adapters Debugging MPI Programs 4 24 IB0054606 02 A...
Page 140: ...6 SHMEM Description and Configuration SHMEM Benchmark Programs 6 32 IB0054606 02 A...
Page 148: ...8 Dispersive Routing 8 4 IB0054606 02 A...
Page 164: ...9 gPXE HTTP Boot Setup 9 16 IB0054606 02 A...
Page 176: ...A Benchmark Programs Benchmark 3 Messaging Rate Microbenchmarks A 12 IB0054606 02 A...
Page 202: ...B SRP Configuration OFED SRP Configuration B 26 IB0054606 02 A Notes...
Page 206: ...C Integration with a Batch Queuing System Clean up PSM Shared Memory Files C 4 IB0054606 02 A...
Page 238: ...E ULP Troubleshooting Troubleshooting SRP Issues E 20 IB0054606 02 A...
Page 242: ...F Write Combining Verify Write Combining is Working F 4 IB0054606 02 A Notes...
Page 280: ...G Commands and Files Summary of Configuration Files G 38 IB0054606 02 A...
Page 283: ......