sit/packages/mpi/openmpi/openmpi-1.10.7

46 lines
993 B
Groff
Raw Permalink Normal View History

2017-05-17 10:03:47 +00:00
#!/bin/sh
# sit class file
#
# Christoph Niethammer <niethammer@hlrs.de> (C) 2017
#
CATEGORY="mpi"
PACKAGE="openmpi"
VERSION="1.10.7"
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=c87c613f9acb1a4eee21fa1ac8042579
HASH_SHA1=fe359d8caa4888625308cf03343d913dd5ac6198
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 \
--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
src_pretest() {
make check
}