From fbddead2c0a9d09468fb9a8a0b88acb12c37db03 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Wed, 11 Dec 2013 14:20:50 +0000 Subject: [PATCH] Added sit class file for Open MPI 1.7.3 --- packages/mpi/openmpi/openmpi-1.7.3 | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 packages/mpi/openmpi/openmpi-1.7.3 diff --git a/packages/mpi/openmpi/openmpi-1.7.3 b/packages/mpi/openmpi/openmpi-1.7.3 new file mode 100755 index 0000000..e19803a --- /dev/null +++ b/packages/mpi/openmpi/openmpi-1.7.3 @@ -0,0 +1,41 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2013 +# + +CATEGORY="mpi" +PACKAGE="openmpi" +VERSION="1.7.3" +URL="http://www.open-mpi.org" +INSTALLER="Christoph Niethammer " + +# 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 +}