From 7c761d98e3dc5baa1ee9962616f42f83184c3d12 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Uwe=20K=C3=B6cher?= Date: Wed, 26 Aug 2015 21:24:22 +0200 Subject: [PATCH] mpi: mpich updated and added centos7 as supported platform --- mpi/packages/mpich.package | 6 ++++-- mpi/platforms/supported/centos7.platform | 14 ++++++++++++++ project-mpi.cfg | 4 ++-- 3 files changed, 20 insertions(+), 4 deletions(-) create mode 100644 mpi/platforms/supported/centos7.platform diff --git a/mpi/packages/mpich.package b/mpi/packages/mpich.package index 198e682..a8bda9a 100644 --- a/mpi/packages/mpich.package +++ b/mpi/packages/mpich.package @@ -1,10 +1,12 @@ -VERSION=3.1.3 +VERSION=3.1.4 NAME=mpich-${VERSION} SOURCE=http://www.mpich.org/static/downloads/${VERSION}/ PACKING=.tar.gz CHECKSUM=ignore -if [ ${VERSION} = "3.1.3" ]; then +if [ ${VERSION} = "3.1.4" ]; then + CHECKSUM=2ab544607986486562e076b83937bba2 +elif [ ${VERSION} = "3.1.3" ]; then CHECKSUM=93cb17f91ac758cbf9174ecb03563778 elif [ ${VERSION} = "3.1.2" ]; then CHECKSUM=7fbf4b81dcb74b07ae85939d1ceee7f1 diff --git a/mpi/platforms/supported/centos7.platform b/mpi/platforms/supported/centos7.platform new file mode 100644 index 0000000..90db4f3 --- /dev/null +++ b/mpi/platforms/supported/centos7.platform @@ -0,0 +1,14 @@ +# CentOS 7 + +# This build script assumes that you have installed +# an appropriate C/C++ and Fortran compiler. +# +# su -c 'yum install -y libtool-ltdl libtool-ltdl-devel' +## + +# Define the packages this platform needs +PACKAGES=( +#once:mpich2 +once:mpich +#once:openmpi +) diff --git a/project-mpi.cfg b/project-mpi.cfg index 2ead0f4..4c89de2 100644 --- a/project-mpi.cfg +++ b/project-mpi.cfg @@ -6,7 +6,7 @@ # Meta-project to build PROJECT=mpi #COMPILER=llvm -COMPILER=gcc-4.9.1 +COMPILER=gcc-4.9.3 # How many processes would you like to build using? PROCS=1 @@ -17,7 +17,7 @@ PREFIX_PATH=~/apps/candi DOWNLOAD_PATH=${PREFIX_PATH}/src # Where do you want the build files to go? -BUILD_PATH=${PREFIX_PATH}/compiler/${PROJECT}/${COMPILER}-build +BUILD_PATH=${PREFIX_PATH}/compiler-${PROJECT}-${COMPILER}-build # Where do you want to unpack source files to go? UNPACK_PATH=${PREFIX_PATH}/unpack -- 2.39.5