QLogic OFED+ Host Software User Guide, Rev. B
QLogic OFED+ Host Software User Guide, Rev. B
QLogic OFED+ Host Software User Guide, Rev. B
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
4–Running <strong>QLogic</strong> MPI on <strong>QLogic</strong> Adapters<br />
<strong>QLogic</strong> MPI Details<br />
NOTE:<br />
The mpi-frontend-* RPM needs to be installed on all nodes that will be<br />
using mpirun. Alternatively, you can use the mpirun option<br />
-distributed=off, which requires that only the mpi-frontend RPM is<br />
installed on the node where mpirun is invoked. Using -distributed=off<br />
can have a negative impact on mpirun’s performance when running<br />
large-scale jobs. More specifically, this option increases the memory usage<br />
on the host where mpirun is started and will slow down the job startup,<br />
since it will spawn MPI processes serially.<br />
The general syntax is:<br />
$ mpirun [mpirun_options...] program-name [program options]<br />
program-name is usually the pathname to the executable MPI program. When<br />
the MPI program resides in the current directory and the current directory is not in<br />
your search path, then program-name must begin with ‘./’, for example:<br />
./program-name<br />
Unless you want to run only one instance of the program, use the -np option, for<br />
example:<br />
$ mpirun -np n [other options] program-name<br />
This option spawns n instances of program-name. These instances are called<br />
node programs.<br />
Generally, mpirun tries to distribute the specified number of processes evenly<br />
among the nodes listed in the mpihosts file. However, if the number of<br />
processes exceeds the number of nodes listed in the mpihosts file, then some<br />
nodes will be assigned more than one instance of the program.<br />
Another command line option, -ppn, instructs mpirun to assign a fixed number p<br />
of node programs (processes) to each node, as it distributes n instances among<br />
the nodes:<br />
$ mpirun -np n -m mpihosts -ppn p program-name<br />
This option overrides the :process_count specifications, if any, in the lines of<br />
the mpihosts file. As a general rule, mpirun distributes the n node programs<br />
among the nodes without exceeding, on any node, the maximum number of<br />
instances specified by the :process_count option. The value of<br />
the :process_count option is specified by either the -ppn command line<br />
option or in the mpihosts file.<br />
D000046-005 B 4-17