Chapter IV. iWARP (RDMA)
v. Simlarly, create another shell script, mpivars.sh, with the following entry:
# PATH
if test -z "`echo $PATH | grep /usr/mpi/gcc/ mvapich2-x.y/bin`"; then
PATH=/usr/mpi/gcc/mvapich2-x.y/bin:${PATH}
export PATH
fi
# LD_LIBRARY_PATH
if test -z "`echo $LD_LIBRARY_PATH | grep /usr/mpi/gcc/mvapich2-
x.y/lib64`"; then
LD_LIBRARY_PATH=/usr/mpi/gcc/mvapich2-
x.y/lib64${LD_LIBRARY_PATH:+:}${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
fi
# MPI_ROOT
MPI_ROOT=/usr/mpi/gcc/mvapich2-x.y
export MPI_ROOT
vi. Next, copy the two files created in steps (iv) and (v) to /usr/mpi/gcc/mvapich2-x.y/bin and
/usr/mpi/gcc/mvapich2-x.y/etc
vii. Add the following entries in .bashrc file:
export MVAPICH2_HOME=/usr/mpi/gcc/mvapich2-x.y/
export MV2_USE_IWARP_MODE=1
export MV2_USE_RDMA_CM=1
viii. Register MPI:
[root@host~]# mpi-selector --register mvapich2 --source-dir
/usr/mpi/gcc/mvapich2-x.y/bin/
ix. Verify if it is listed in mpi-selector:
[root@host~]# mpi-selector --l
Chelsio Unified Wire for Linux
93
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers