diff --git a/packages/mpi/openmpi/openmpi-1.8.2 b/packages/mpi/openmpi/openmpi-1.8.2 new file mode 100755 index 0000000..654c14b --- /dev/null +++ b/packages/mpi/openmpi/openmpi-1.8.2 @@ -0,0 +1,42 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2014 +# + +CATEGORY="mpi" +PACKAGE="openmpi" +VERSION="1.8.2" +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 \ + --enable-mpi-fortran=usempif08 \ + " +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 +}