From 22929e4a9681fb6b470062b6a139484d97099ce4 Mon Sep 17 00:00:00 2001 From: Christoph Niethammer Date: Tue, 23 Jun 2020 08:56:17 +0000 Subject: [PATCH] Add sit class file for Open MPI 4.0.4 --- packages/mpi/openmpi/openmpi-4.0.4 | 41 ++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100755 packages/mpi/openmpi/openmpi-4.0.4 diff --git a/packages/mpi/openmpi/openmpi-4.0.4 b/packages/mpi/openmpi/openmpi-4.0.4 new file mode 100755 index 0000000..44d2e2a --- /dev/null +++ b/packages/mpi/openmpi/openmpi-4.0.4 @@ -0,0 +1,41 @@ +#!/bin/sh +# sit class file +# +# Christoph Niethammer (C) 2020 +# + +CATEGORY="mpi" +PACKAGE="openmpi" +VERSION="4.0.4" +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= +HASH_SHA1= + +# Other interesting configure options: +# --enable-mpi-threads +# --enable-progress-threads +# --enable-mpi-fortran=usempif08 \ +# --with-devel-headers \ +# --enable-contrib-no-build=vt +CONFIGURE_OPTS=" + --enable-shared \ + --enable-static \ + --without-verbs \ + " + +if [ ! -z "$UCX_DIR" ] ; then + CONFIGURE_OPTS+=" --with-ucx=$UCX_DIR" +fi + +if [ ! -z $CUDA_DIR ] ; then + CONFIGURE_OPTS+=" --with-cuda=$CUDA_DIR" +fi + +src_pretest() { + make check +}