Sit class file for Open MPI 1.10.5
This commit is contained in:
parent
a4472f828e
commit
66e37bbe7a
1 changed files with 45 additions and 0 deletions
45
packages/mpi/openmpi/openmpi-1.10.5
Executable file
45
packages/mpi/openmpi/openmpi-1.10.5
Executable file
|
@ -0,0 +1,45 @@
|
||||||
|
#!/bin/sh
|
||||||
|
# sit class file
|
||||||
|
#
|
||||||
|
# Christoph Niethammer <niethammer@hlrs.de> (C) 2016
|
||||||
|
#
|
||||||
|
|
||||||
|
CATEGORY="mpi"
|
||||||
|
PACKAGE="openmpi"
|
||||||
|
VERSION="1.10.5"
|
||||||
|
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=b2f43d9635d2d52826e5ef9feb97fd4c
|
||||||
|
HASH_SHA1=03934fc0a2dd0d0d2d0459d714a976eabca938fb
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in a new issue