Q-Logic OFED Network Router User Manual


 
Draft
Software Installation
Install QLogic OFED User-level Software with the rpm Command
5-18 Preliminary IB0056101-00 G.02
S
The tar command creates a directory based on the tar file name and
places the RPMs and other files in this directory.
2. The RPMs need to be available on each node on which they will be used.
You can copy the RPMs to a directory on each node that will need them.
Become root, then cd to:
# cd InfiniPath<version>-<date>-<distribution>-x86_64
(Another way is to put the RPMs in a directory that is accessible (e.g., via
Network File System (NFS)) to every node.
3. To install, use this command (as root):
#
rpm -Uvh InfiniPath/*.rpm InfiniPath-MPI/*.rpm \
InfiniPath-Devel/*.rpm OtherMPIs/*.rpm \
Documentation/*.rpm
Proceed to Step 5.
4. To install QLogic MPI in an alternate location, use these commands instead
of those in Step 3:
# mv InfiniPath-MPI/*.rpm InfiniPath-Devel/mpi-devel* \
Documentation/mpi-doc* QLogic-MPI-prefixed/
Next, install all non-prefixed RPMs:
# rpm -Uvh InfiniPath/*.rpm \
InfiniPath-Devel/infinipath-devel*.rpm \
Documentation/infinipath-doc*.rpm OtherMPIs/*.rpm
Finally, install the prefixed RPMs in /usr/mpi/qlogic:
#
rpm -Uvh --prefix /usr/mpi/qlogic QLogic-MPI-prefixed/*.rpm
The desired prefix should be made available in the $MPICH_ROOT
environment variable, either by global shell configuration files or through
third-party environment management utilities such as mpi-selector or the
Environment Modules. This allows QLogic MPI to correctly locate header
and library files for MPI compilation and running parallel jobs. See the
QLogic HCA and QLogic OFED Software Users Guide for details.
5. Reboot.
NOTE:
If you wish to use the mpi-selector to switch between QLogic
MPI and other MPI implementations, you need to install QLogic MPI in
an alternate location, consistent with that of the other MPIs. Skip to
Step 4.