Libs: OpenMPI 1.8.1 with CUDA 5.5 on Centos6
Jump to navigation
Jump to search
Using GCC 4.4.7 (Standard 6.5 RHEL)
./configure CC=gcc CXX=g++ FC=gfortran \
--prefix=/home/david/build/openmpi/1.8.1-gcc-cuda55 \
--with-cuda=/cm/shared/apps/cuda55/toolkit/5.5.22 \
--with-verbs
make -j 8
make installUsing GCC 4.8.1
- Built on a RHEL6.5 machine
- Added hwloc 1.9
- Included CUDA
- module for gcc/4.8.1 loaded
- On bright cluster manager
hwloc
wget --no-check-certificate https://www.open-mpi.org/software/hwloc/v1.9/downloads/hwloc-1.9.tar.gz
tar zxvf hwloc-1.9.tar.gz
cd hwloc-1.9
./configure --prefix=/cm/shared/apps/hwloc/1.9 --enable-libpci
sudo make installModules files for hwloc
#%Module1.0#######################################################################
## hwloc modulefile
##
proc ModulesHelp { } {
puts stderr "\tAdds hwloc to your environment"
}
module-whatis "Adds hwloc to your environment"
set hwloc_root /cm/shared/apps/hwloc/1.9
prepend-path PATH $hwloc_root/bin
prepend-path MANPATH $hwloc_root/share/man
prepend-path LD_LIBRARY_PATH $hwloc_root/lib
OpenMPI
<syntaxhighlight>
wget https://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.1.tar.gz tar zxvf openmpi-1.8.1.tar.gz cd openmpi-1.8.1 ./configure CC=gcc CXX=g++ FC=gfortran \ --prefix=/cm/shared/apps/openmpi/gcc/64/1.8.1-gcc481-cuda \ --with-cuda=/cm/shared/apps/cuda55/toolkit/5.5.22 \ --with-verbs \ --with-hwloc=/cm/shared/apps/hwloc/1.9/ --with-hwloc-libdir=/cm/shared/apps/hwloc/1.9/lib/ make -j 8 make install