• 2019 Update 7
  • 03/31/2020
Contents

MPMD Launch Mode

Intel® MPI Library Developer Guide for Linux* OS
Intel® MPI Library supports the multiple programs, multiple data (MPMD) launch mode. There are two ways to do this.
The easiest way is to create a configuration file and pass it to the
-configfile
option. A configuration file should contain a set of arguments for
mpirun
, one group per line. For example:
$ cat ./mpmd_config -n 1 -host node1 ./io <io_args> -n 4 -host node2 ./compute <compute_args_1> -n 4 -host node3 ./compute <compute_args_2> $ mpirun -configfile mpmd_config
Alternatively, you can pass a set of options to the command line by separating each group with a colon:
$ mpirun -n 1 -host node1 ./io <io_args> :\ -n 4 -host node2 ./compute <compute_args_1> :\ -n 4 -host node3 ./compute <compute_args_2>
The examples above are equivalent. The
io
program is launched as one process on
node1
, and the
compute
program is launched on
node2
and
node3
as four processes on each.
When an MPI job is launched, the working directory is set to the working directory of the machine where the job is launched. To change this, use the
-wdir <path>.
Use
–env <var> <value>
to set an environment variable for only one argument set. Using
–genv
instead applies the environment variable to all argument sets. By default, all environment variables are propagated from the environment during the launch.

Product and Performance Information

1

Intel's compilers may or may not optimize to the same degree for non-Intel microprocessors for optimizations that are not unique to Intel microprocessors. These optimizations include SSE2, SSE3, and SSSE3 instruction sets and other optimizations. Intel does not guarantee the availability, functionality, or effectiveness of any optimization on microprocessors not manufactured by Intel. Microprocessor-dependent optimizations in this product are intended for use with Intel microprocessors. Certain optimizations not specific to Intel microarchitecture are reserved for Intel microprocessors. Please refer to the applicable product User and Reference Guides for more information regarding the specific instruction sets covered by this notice.

Notice revision #20110804