Chapter IV. iWARP (RDMA)
iii. Untar and change your current working directory to openMPI package directory.
iv. Configure and install as:
[root@host~]#./configure --with-openib=/usr
FC=gfortran --enable-mpirun-prefix-by-default --prefix=/usr/mpi/gcc/openmpi-
x.y.z/ --with-openib-libdir=/usr/lib64/ --libdir=/usr/mpi/gcc/openmpi-
x.y.z/lib64/ --with-contrib-vt-flags=--disable-iotrace
[root@host~]# make
[root@host~]# make install
The above step will install openMPI in /usr/mpi/gcc/openmpi-x.y.z/
To enable multithreading, add "--enable-mpi-thread-multiple" and
Note
"--with-threads=posix" parameters to the above configure command.
v. Next, create a shell script, mpivars.csh, with the following entry:
# path
if ("" == "`echo $path | grep /usr/mpi/gcc/openmpi-x.y.z/bin`") then
set path=(/usr/mpi/gcc/openmpi-x.y.z/bin $path)
endif
# LD_LIBRARY_PATH
if ("1" == "$?LD_LIBRARY_PATH") then
if ("$LD_LIBRARY_PATH" !~ */usr/mpi/gcc/openmpi-x.y.z/lib64*) then
setenv LD_LIBRARY_PATH /usr/mpi/gcc/openmpi-
x.y.z/lib64:${LD_LIBRARY_PATH}
endif
else
setenv LD_LIBRARY_PATH /usr/mpi/gcc/openmpi-x.y.z/lib64
endif
# MPI_ROOT
setenv MPI_ROOT /usr/mpi/gcc/openmpi-x.y.z
Chelsio Unified Wire for Linux
CC=gcc CXX=g++ F77=gfortran
90
Need help?
Do you have a question about the Terminator Series and is the answer not in the manual?
Questions and answers