6
–
SHMEM Description and Configuration
SHMEM Programs
6-6
IB0054606-02 A
By default
mpirun
is picked up from the path and is assumed to be called
mpirun
. Alternatively, the pathname of
mpirun
can be specified with the
$SHMEM_MPIRUN
environment variable. There is also support for integration with
). The following mpirun commands are supported:
Open MPI:
mpirun
MVAPICH:
mpirun
and
mpirun_rsh
MVAPICH2:
mpirun
and
mpirun_rsh
If the
shmemrun
script is run with
-show
option, it shows that the command line
was used to invoke
mpirun
, but will not invoke it. Options that specify the number
of processes and the hosts file are mapped by
shmemrun
to options that are
accepted by the underlying
mpirun
. The contents of the host file can be parsed
and regenerated if necessary and options to propagate environment variables are
provided. The rationale for this script is to allow you to use the familiar options
from the
mpirun
chosen and the options will automatically be remapped as
required for the actual
mpirun
. This makes it possible to write scripts that call
shmemrun
without exposing these details of the underlying
mpirun
command.
If the
shmemrun
script finds the special -- option while processing the option list,
that option is deleted and subsequent options and command line arguments are
passed through without any modification. Using this option is useful to prevent
shmemrun
from modifying options of the program that are being run.
Running programs without using shmemrun
If you do not wish to use this wrapper script, then you must arrange for the
SHMEM libraries to be found at run time using
$LD_LIBRARY_PATH
or an
equivalent mechanism, and ensure that PSM support is enabled in your MPI
implementation. The libraries can be found at:
$SHMEM_DIR
/lib64/
$MPI
Where
$SHMEM_DIR
denotes the top-level directory of the SHMEM
installation, typically
/usr/shmem/qlogic
, and
$MPI
is your choice of
MPI (one of
mvapich
,
mvapich2
, or
openmpi
).
Additionally, the PSM receive thread and back-trace must be disabled using the
following commands:
export PSM_RCVTHREAD=0
export IPATH_NO_BACKTRACE=1
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: ......