27.12.2014 Views

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

QLogic OFED+ Host Software User Guide, Rev. B

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

5–Using Other MPIs<br />

Managing Open MPI, MVAPICH, and <strong>QLogic</strong> MPI with the mpi-selector Utility<br />

• Listing available MPI implementations<br />

• Setting a default MPI to use (per user or site wide)<br />

• Unsetting a default MPI to use (per user or site wide)<br />

• Querying the current default MPI in use<br />

Following is an example for listing and selecting an MPI:<br />

$ mpi-selector --list<br />

mpi-1.2.3<br />

mpi-3.4.5<br />

$ mpi-selector --set mpi-3.4.5<br />

The new default take effect in the next shell that is started. See the<br />

mpi-selector man page for more information.<br />

For <strong>QLogic</strong> MPI inter-operation with the mpi-selector utility, you must install all<br />

<strong>QLogic</strong> MPI RPMs using a prefixed installation. Once the $prefix for <strong>QLogic</strong><br />

MPI has been determined, install the qlogic-mpi-register with the same<br />

$prefix, this registers <strong>QLogic</strong> MPI with the mpi-selector utility and shows<br />

<strong>QLogic</strong> MPI as an available MPI implementation with the four different compilers.<br />

See the <strong>QLogic</strong> Fabric <strong>Software</strong> Installation <strong>Guide</strong> for information on prefixed<br />

installations.<br />

The example shell scripts mpivars.sh and mpivars.csh, for registering with<br />

mpi-selector, are provided as part of the mpi-devel RPM in<br />

$prefix/share/mpich/mpi-selector-{intel,gnu,pathscale,pgi}<br />

directories.<br />

For all non-GNU compilers that are installed outside standard Linux search paths,<br />

set up the paths so that compiler binaries and runtime libraries can be resolved.<br />

For example, set LD_LIBRARY_PATH, both in your local environment and in an rc<br />

file (such as .mpirunrc, .bashrc, or .cshrc), are invoked on remote nodes.<br />

See “Environment for Node Programs” on page 4-19 and “Compiler and Linker<br />

Variables” on page 4-10 for information on setting up the environment and<br />

“Specifying the Run-time Library Path” on page F-15 for information on setting the<br />

run-time library path. Also see “Run Time Errors with Different MPI<br />

Implementations” on page F-17 for information on run time errors that may occur if<br />

there are MPI version mismatches.<br />

NOTE:<br />

The Intel-compiled versions require that the Intel compiler be installed and<br />

that paths to the Intel compiler runtime libraries be resolvable from the user’s<br />

environment. The version used is Intel 10.1.012.<br />

D000046-005 B 5-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!