Added sit class file for Open MPI 1.7.4
This commit is contained in:
parent
bf86f69321
commit
de52f45532
1 changed files with 41 additions and 0 deletions
41
packages/mpi/openmpi/openmpi-1.7.4
Executable file
41
packages/mpi/openmpi/openmpi-1.7.4
Executable file
|
@ -0,0 +1,41 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2013
|
||||
#
|
||||
|
||||
CATEGORY="mpi"
|
||||
PACKAGE="openmpi"
|
||||
VERSION="1.7.4"
|
||||
URL="http://www.open-mpi.org"
|
||||
INSTALLER="Christoph Niethammer <niethammer@hlrs.de>"
|
||||
|
||||
# Archive A and package name P
|
||||
A=${PACKAGE}-${VERSION}.tar.bz2
|
||||
P=${PACKAGE}-${VERSION}
|
||||
|
||||
enable_cuda=1
|
||||
|
||||
# Other interesting configure options:
|
||||
# --enable-mpi-threads
|
||||
# --enable-progress-threads
|
||||
CONFIGURE_OPTS="
|
||||
--with-devel-headers \
|
||||
--enable-contrib-no-build=vt
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
"
|
||||
if [ $enable_cuda != 0 ] ; then
|
||||
module load cuda
|
||||
CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR"
|
||||
fi
|
||||
|
||||
if [[ -d /opt/voltaire/fca ]]; then
|
||||
echo "Voltaire FCA found"
|
||||
sit_info "Enabling Voltaire FCA (/opt/voltaire/fca)"
|
||||
CONFIGURE_OPTS+=" --with-fca=/opt/voltaire/fca"
|
||||
fi
|
||||
|
||||
src_pretest() {
|
||||
make check
|
||||
}
|
Loading…
Reference in a new issue