
4
–
Running MPI on QLogic Adapters
Open MPI
4-18
IB0054606-02 A
Environment Variables
contains a summary of the environment variables that are relevant to
any PSM including Open MPI.
is more relevant for the MPI programmer
or script writer, because these variables are only active after the mpirun command
has been issued and while the MPI processes are active. Open MPI provides the
environmental variables shown in
that will be defined on every MPI
process. Open MPI guarantees that these variables will remain stable throughout
future releases.
Table 4-6. Environment Variables Relevant for any PSM
Name
Description
OMP_NUM_THREADS
This variable is used by a compilers’ OpenMP
run-time library.Use this variable to adjust the split
between MPI processes and OpenMP threads.
Usually, the number of MPI processes (per node)
times the number of OpenMP threads will be set
to match the number of CPUs per node. An exam-
ple would be a node with eight CPUs, running two
MPI processes and four
OpenMP threads. In this case,
OMP_NUM_THREADS is set to 4.
OMP_NUM_THREADS is on a per-node basis, so
needs to be propagated to each node used in the
job, in a way that your MPI supports.
PSM_SHAREDCONTEXTS
This variable overrides automatic context sharing
behavior.
YES
is equivalent to
1
.
Default:
1
PSM_SHAREDCONTEXTS_MAX
This variable restricts the number of IB contexts
that are made available on each node of an MPI
job.
Up to 16 set automatically based on number of
CPUs on node
PSM_DEVICES
Set this variable to enable running in shared mem-
ory mode on a single node..
Default:
self,ipath
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: ......