Sit class file for Open MPI 2.0.1
This commit is contained in:
parent
64a13ee6c3
commit
f8a8aecb10
1 changed files with 54 additions and 0 deletions
54
packages/mpi/openmpi/openmpi-2.0.1
Executable file
54
packages/mpi/openmpi/openmpi-2.0.1
Executable file
|
@ -0,0 +1,54 @@
|
|||
#!/bin/sh
|
||||
# sit class file
|
||||
#
|
||||
# Christoph Niethammer <niethammer@hlrs.de> (C) 2016
|
||||
#
|
||||
|
||||
CATEGORY="mpi"
|
||||
PACKAGE="openmpi"
|
||||
VERSION="2.0.1"
|
||||
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"
|
||||
HASH_MD5=cdacc800cb4ce690c1f1273cb6366674
|
||||
HASH_SHA1=a34f07a0e94af4ccd8080d74827befd61824c6c3
|
||||
|
||||
enable_cuda=0
|
||||
|
||||
# Other interesting configure options:
|
||||
# --enable-mpi-threads
|
||||
# --enable-progress-threads
|
||||
CONFIGURE_OPTS="
|
||||
--with-devel-headers \
|
||||
--enable-contrib-no-build=vt
|
||||
--enable-shared \
|
||||
--enable-static \
|
||||
--enable-mpi-fortran=usempif08 \
|
||||
--enable-mpi-thread-multiple \
|
||||
"
|
||||
|
||||
if [ $PLATFORM = "hornet" ] ; then
|
||||
CONFIGURE_OPTS="$CONFIGURE_OPTS --with-platform=lanl/cray_xe6/optimized-nopanasas"
|
||||
fi
|
||||
|
||||
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_prepare() {
|
||||
# patch -p1 < $SCLASS_DIR/$sit_classfile-0001.patch
|
||||
#}
|
||||
|
||||
src_pretest() {
|
||||
make check
|
||||
}
|
Loading…
Reference in a new issue