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 />
When you are using a non-<strong>QLogic</strong> MPI that uses the TrueScale PSM layer,<br />
ensure that the parallel job is contained on a single node and set the<br />
PSM_DEVICES environment variable:<br />
PSM_DEVICES="shm,self"<br />
If you are using <strong>QLogic</strong> MPI, you do not need to set this environment variable; it is<br />
set automatically if np == ppn.<br />
When running on a single node with <strong>QLogic</strong> MPI, no infiniband adapter hardware<br />
is required if -disable-dev-check is passed to mpirun.<br />
mpihosts File Details<br />
As noted in “Create the mpihosts File” on page 4-3, an mpihosts file (also called<br />
a machines file, nodefile, or hostsfile) has been created in your current working<br />
directory. This file names the nodes that the node programs may run.<br />
The two supported formats for the mpihosts file are:<br />
hostname1<br />
hostname2<br />
...<br />
or<br />
hostname1:process_count<br />
hostname2:process_count<br />
...<br />
In the first format, if the -np count (number of processes to spawn in the mpirun<br />
command) is greater than the number of lines in the machine file, the hostnames<br />
will be repeated (in order) as many times as necessary for the requested number<br />
of node programs.<br />
In the second format, process_count can be different for each host, and is<br />
normally the number of available processors on the node. When not specified, the<br />
default value is one. The value of process_count determines how many node<br />
programs will be started on that host before using the next entry in the mpihosts<br />
file. When the full mpihosts file is processed, and there are additional processes<br />
requested, processing starts again at the start of the file.<br />
NOTE:<br />
To create an mpihosts file, use the ibhosts program. It will generate a<br />
list of available nodes that are already connected to the switch.<br />
There are several alternative ways of specifying the mpihosts file:<br />
D000046-005 B 4-15