QLogic OFED+ Host Software User Guide, Rev. B
QLogic OFED+ Host Software User Guide, Rev. B
QLogic OFED+ Host Software User Guide, Rev. B
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
A–mpirun Options Summary<br />
Spawn Options<br />
-np np<br />
This option specifies the number of processes to spawn. If this option is not set,<br />
then the environment variable MPI_NPROCS is checked. If MPI_NPROCS is not<br />
set, the default is to determine the number of processes based on the number of<br />
hosts in the machinefile -M or the list of hosts -H.<br />
-ppn processes-per-node<br />
This option creates up to the specified number of processes per node.<br />
By default, a limit is enforced that depends on how many InfiniPath contexts are<br />
supported by the node (depends on the hardware type and the number of<br />
InfiniPath cards present).<br />
InfiniPath context (port) sharing is supported, beginning with the InfiniPath 2.0<br />
release. This feature allows running up to four times as many processes per node<br />
as was previously possible, with a small additional overhead for each shared<br />
context.<br />
Context sharing is enabled automatically if needed. Use of the full number of<br />
available contexts is assumed. To restrict the number of contexts, use the<br />
environment variable PSM_SHAREDCONTEXTS_MAX to divide the available<br />
number of contexts.<br />
Context sharing behavior can be overriden by using the environment variable<br />
PSM_SHAREDCONTEXTS. Setting this variable to zero disables context sharing,<br />
and jobs that require more than the available number of contexts cannot be run.<br />
Setting this variable it to one (the default) causes context sharing to be enabled if<br />
needed.<br />
-rcfile node-shell-script<br />
This is the startup script for setting the environment on nodes. Before starting<br />
node programs, mpirun checks to see if a file called .mpirunrc exists in the<br />
user’s home directory. If the file exists, it is sourced into the running remote<br />
shell. Use -rcfile node-shell-script or .mpirunrc to set paths and other<br />
environment variables such as LD_LIBRARY_PATH.<br />
Default: $HOME/.mpirunrc<br />
Spawn Options<br />
-distributed [=on|off]<br />
This option controls use of the distributed mpirun job spawning mechanism. The<br />
default is on. To change the default, put this option in the global<br />
mpirun.defaults file or a user-local file (see the environment variable<br />
PSC_MPIRUN_DEFAULTS_PATH for details). When the option appears more than<br />
once on the command line, the last setting controls the behavior.<br />
Default: on.<br />
A-2 D000046-005 B