From 6410e1c53d0f9e481c97d06960836a0a09151f97 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Fri, 29 Apr 2016 14:55:31 +0000 Subject: [PATCH] Added sit class file for Open MPI 1.10.2 --- packages/mpi/openmpi/openmpi-1.10.2 | 49 +++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100755 packages/mpi/openmpi/openmpi-1.10.2 diff --git a/packages/mpi/openmpi/openmpi-1.10.2 b/packages/mpi/openmpi/openmpi-1.10.2 new file mode 100755 index 0000000..a82d996 --- /dev/null +++ b/packages/mpi/openmpi/openmpi-1.10.2 @@ -0,0 +1,49 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2015 +# + +CATEGORY="mpi" +PACKAGE="openmpi" +VERSION="1.10.2" +URL="http://www.open-mpi.org" +INSTALLER="Christoph Niethammer " + +# 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 \ + " + +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_pretest() { + make check +}