From: Uwe Köcher Date: Mon, 2 Nov 2015 09:36:52 +0000 (+0100) Subject: candi: removed support for mpi X-Git-Tag: v0.8~8^2~3 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4d79ad245110d10f3253b764f1dde292c52267a;p=candi.git candi: removed support for mpi --- diff --git a/mpi/packages/mpich.package b/mpi/packages/mpich.package deleted file mode 100644 index a8bda9a..0000000 --- a/mpi/packages/mpich.package +++ /dev/null @@ -1,80 +0,0 @@ -VERSION=3.1.4 -NAME=mpich-${VERSION} -SOURCE=http://www.mpich.org/static/downloads/${VERSION}/ -PACKING=.tar.gz -CHECKSUM=ignore - -if [ ${VERSION} = "3.1.4" ]; then - CHECKSUM=2ab544607986486562e076b83937bba2 -elif [ ${VERSION} = "3.1.3" ]; then - CHECKSUM=93cb17f91ac758cbf9174ecb03563778 -elif [ ${VERSION} = "3.1.2" ]; then - CHECKSUM=7fbf4b81dcb74b07ae85939d1ceee7f1 -elif [ ${VERSION} = "3.0.4" ]; then - CHECKSUM=9c5d5d4fe1e17dd12153f40bc5b6dbc0 -fi - -BUILDCHAIN=autotools -#PROCS=1 -CONFOPTS="-q CFLAGS=-fPIC CXXFLAGS=-fPIC FFLAGS=-fPIC FCFLAGS=-fPIC" - -INSTALL_PATH=${INSTALL_PATH}/${NAME} -MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/candi/compiler/mpi/${COMPILER} -CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - -# ********************************************************************************** -package_specific_conf() { - # Generate modulefile - - mkdir -p ${MODULEFILE_PATH} - CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - rm -f $CONFIG_FILE - echo "#%Module 1.0 -# -# ${NAME} against ${COMPILER} -# -conflict compiler -conflict candi/compiler -conflict mpi - -prepend-path PATH ${PATH} -prepend-path MANPATH ${MANPATH} -prepend-path INFOPATH ${INFOPATH} -prepend-path LD_LIBRARY_PATH ${LD_LIBRARY_PATH} -prepend-path LD_RUN_PATH ${LD_RUN_PATH} - -setenv LIBDIR ${LIBDIR} -setenv LDFLAGS \"${LDFLAGS}\" - -prepend-path PATH ${INSTALL_PATH}/bin -prepend-path LD_LIBRARY_PATH ${INSTALL_PATH}/lib -prepend-path MANPATH ${INSTALL_PATH}/share/man - -setenv MPI_BIN ${INSTALL_PATH}/bin -setenv MPI_SYSCONFIG ${INSTALL_PATH}/etc -setenv MPI_INCLUDE ${INSTALL_PATH}/include -setenv MPI_LIB ${INSTALL_PATH}/lib -setenv MPI_MAN ${INSTALL_PATH}/share/man -setenv MPI_COMPILER mpich-x86_64 -setenv MPI_SUFFIX _mpich -setenv MPI_HOME ${INSTALL_PATH} - -setenv CC ${INSTALL_PATH}/bin/mpicc -setenv CXX ${INSTALL_PATH}/bin/mpic++ -setenv FC ${INSTALL_PATH}/bin/mpif90 -setenv FF ${INSTALL_PATH}/bin/mpif77 -setenv F90 ${INSTALL_PATH}/bin/mpif90 -setenv F77 ${INSTALL_PATH}/bin/mpif77 -" >> $CONFIG_FILE - - echo - echo "${NAME} has now been installed in" - echo - cecho ${GOOD} " ${INSTALL_PATH}" - echo - echo "To update your environment variables, use the created modulefile:" - echo - cecho ${GOOD} " $CONFIG_FILE" - echo -} - diff --git a/mpi/packages/mpich2.package b/mpi/packages/mpich2.package deleted file mode 100644 index a0e9586..0000000 --- a/mpi/packages/mpich2.package +++ /dev/null @@ -1,70 +0,0 @@ -VERSION=1.4.1p1 -NAME=mpich2-${VERSION} -SOURCE=http://www.mpich.org/static/downloads/${VERSION}/ -PACKING=.tar.gz -CHECKSUM=b470666749bcb4a0449a072a18e2c204 - -BUILDCHAIN=autotools -PROCS=1 -CONFOPTS="-q CFLAGS=-fPIC CXXFLAGS=-fPIC FFLAGS=-fPIC FCFLAGS=-fPIC" - -INSTALL_PATH=${INSTALL_PATH}/${NAME} -MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/candi/compiler/mpi/${COMPILER} -CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - -# ********************************************************************************** -package_specific_conf() { - # Generate modulefile - - mkdir -p ${MODULEFILE_PATH} - CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - rm -f $CONFIG_FILE - echo "#%Module 1.0 -# -# ${NAME} against ${COMPILER} -# -conflict compiler -conflict candi/compiler -conflict mpi - -prepend-path PATH ${PATH} -prepend-path MANPATH ${MANPATH} -prepend-path INFOPATH ${INFOPATH} -prepend-path LD_LIBRARY_PATH ${LD_LIBRARY_PATH} -prepend-path LD_RUN_PATH ${LD_RUN_PATH} - -setenv LIBDIR ${LIBDIR} -setenv LDFLAGS \"${LDFLAGS}\" - -prepend-path PATH ${INSTALL_PATH}/bin -prepend-path LD_LIBRARY_PATH ${INSTALL_PATH}/lib -prepend-path MANPATH ${INSTALL_PATH}/share/man - -setenv MPI_BIN ${INSTALL_PATH}/bin -setenv MPI_SYSCONFIG ${INSTALL_PATH}/etc -setenv MPI_INCLUDE ${INSTALL_PATH}/include -setenv MPI_LIB ${INSTALL_PATH}/lib -setenv MPI_MAN ${INSTALL_PATH}/share/man -setenv MPI_COMPILER openmpi-x86_64 -setenv MPI_SUFFIX _openmpi -setenv MPI_HOME ${INSTALL_PATH} - -setenv CC ${INSTALL_PATH}/bin/mpicc -setenv CXX ${INSTALL_PATH}/bin/mpic++ -setenv FC ${INSTALL_PATH}/bin/mpif90 -setenv FF ${INSTALL_PATH}/bin/mpif77 -setenv F90 ${INSTALL_PATH}/bin/mpif90 -setenv F77 ${INSTALL_PATH}/bin/mpif77 -" >> $CONFIG_FILE - - echo - echo "${NAME} has now been installed in" - echo - cecho ${GOOD} " ${INSTALL_PATH}" - echo - echo "To update your environment variables, use the created modulefile:" - echo - cecho ${GOOD} " $CONFIG_FILE" - echo -} - diff --git a/mpi/packages/mvapich2.package b/mpi/packages/mvapich2.package deleted file mode 100644 index 5ac9537..0000000 --- a/mpi/packages/mvapich2.package +++ /dev/null @@ -1,69 +0,0 @@ -VERSION=2.1a -NAME=mvapich2-${VERSION} -SOURCE=http://mvapich.cse.ohio-state.edu/download/mvapich/mv2/ -PACKING=.tar.gz -CHECKSUM=50d2ca13fd8e5e483cb7797e5c69e84a -BUILDCHAIN=autotools - -CONFOPTS="--enable-shared" -#CONFOPTS="--enable-error-messages=all --enable-g=dbg --enable-debuginfo" // for debugging - -INSTALL_PATH=${INSTALL_PATH}/${NAME} -MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/candi/compiler/mpi/${COMPILER} -CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - -# ********************************************************************************** -package_specific_conf() { - # Generate modulefile - - mkdir -p ${MODULEFILE_PATH} - CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - rm -f $CONFIG_FILE - echo "#%Module 1.0 -# -# ${NAME} against ${COMPILER} -# -conflict compiler -conflict candi/compiler -conflict mpi - -prepend-path PATH ${PATH} -prepend-path MANPATH ${MANPATH} -prepend-path INFOPATH ${INFOPATH} -prepend-path LD_LIBRARY_PATH ${LD_LIBRARY_PATH} -prepend-path LD_RUN_PATH ${LD_RUN_PATH} - -setenv LIBDIR ${LIBDIR} -setenv LDFLAGS \"${LDFLAGS}\" - -prepend-path PATH ${INSTALL_PATH}/bin -prepend-path LD_LIBRARY_PATH ${INSTALL_PATH}/lib -prepend-path MANPATH ${INSTALL_PATH}/share/man - -setenv MPI_BIN ${INSTALL_PATH}/bin -setenv MPI_SYSCONFIG ${INSTALL_PATH}/etc -setenv MPI_INCLUDE ${INSTALL_PATH}/include -setenv MPI_LIB ${INSTALL_PATH}/lib -setenv MPI_MAN ${INSTALL_PATH}/share/man -setenv MPI_COMPILER mvapich2-x86_64 -setenv MPI_SUFFIX _mvapich2 -setenv MPI_HOME ${INSTALL_PATH} - -setenv CC ${INSTALL_PATH}/bin/mpicc -setenv CXX ${INSTALL_PATH}/bin/mpic++ -setenv FC ${INSTALL_PATH}/bin/mpif90 -setenv FF ${INSTALL_PATH}/bin/mpif77 -setenv F90 ${INSTALL_PATH}/bin/mpif90 -setenv F77 ${INSTALL_PATH}/bin/mpif77 -" >> $CONFIG_FILE - - echo - echo "${NAME} has now been installed in" - echo - cecho ${GOOD} " ${INSTALL_PATH}" - echo - echo "To update your environment variables, use the created modulefile:" - echo - cecho ${GOOD} " $CONFIG_FILE" - echo -} diff --git a/mpi/packages/openmpi.package b/mpi/packages/openmpi.package deleted file mode 100644 index 793507b..0000000 --- a/mpi/packages/openmpi.package +++ /dev/null @@ -1,81 +0,0 @@ -MAJOR=1.8 -MINOR=3 -VERSION=${MAJOR}.${MINOR} -NAME=openmpi-${VERSION} -SOURCE=http://www.open-mpi.org/software/ompi/v${MAJOR}/downloads/ -PACKING=.tar.bz2 -CHECKSUM=ignore - -if [ ${VERSION} = 1.8.3 ]; then - CHECKSUM=2067d00853e0c33d498153fc7d268d2b -elif [ ${VERSION} = 1.8.2 ]; then - CHECKSUM=339a9fc199563bacbb359875ce8c9e20 -elif [ ${VERSION} = 1.6.5 ]; then - CHECKSUM=03aed2a4aa4d0b27196962a2a65fc475 -fi - -BUILDCHAIN=autotools -PROCS=1 -#CONFOPTS="--disable-dlopen" -TARGETS=('' all install) - -INSTALL_PATH=${INSTALL_PATH}/${NAME} -MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/candi/compiler/mpi/${COMPILER} -CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - -# ********************************************************************************** -package_specific_conf() { - # Generate modulefile - - mkdir -p ${MODULEFILE_PATH} - CONFIG_FILE=${MODULEFILE_PATH}/${NAME} - rm -f $CONFIG_FILE - echo "#%Module 1.0 -# -# ${NAME} against ${COMPILER} -# -conflict compiler -conflict candi/compiler -conflict mpi - -prepend-path PATH ${PATH} -prepend-path MANPATH ${MANPATH} -prepend-path INFOPATH ${INFOPATH} -prepend-path LD_LIBRARY_PATH ${LD_LIBRARY_PATH} -prepend-path LD_RUN_PATH ${LD_RUN_PATH} - -setenv LIBDIR ${LIBDIR} -setenv LDFLAGS \"${LDFLAGS}\" - -prepend-path PATH ${INSTALL_PATH}/bin -prepend-path LD_LIBRARY_PATH ${INSTALL_PATH}/lib -prepend-path MANPATH ${INSTALL_PATH}/share/man - -setenv MPI_BIN ${INSTALL_PATH}/bin -setenv MPI_SYSCONFIG ${INSTALL_PATH}/etc -setenv MPI_INCLUDE ${INSTALL_PATH}/include -setenv MPI_LIB ${INSTALL_PATH}/lib -setenv MPI_MAN ${INSTALL_PATH}/share/man -setenv MPI_COMPILER openmpi-x86_64 -setenv MPI_SUFFIX _openmpi -setenv MPI_HOME ${INSTALL_PATH} - -setenv CC ${INSTALL_PATH}/bin/mpicc -setenv CXX ${INSTALL_PATH}/bin/mpic++ -setenv FC ${INSTALL_PATH}/bin/mpif90 -setenv FF ${INSTALL_PATH}/bin/mpif77 -setenv F90 ${INSTALL_PATH}/bin/mpif90 -setenv F77 ${INSTALL_PATH}/bin/mpif77 -" >> $CONFIG_FILE - - echo - echo "${NAME} has now been installed in" - echo - cecho ${GOOD} " ${INSTALL_PATH}" - echo - echo "To update your environment variables, use the created modulefile:" - echo - cecho ${GOOD} " $CONFIG_FILE" - echo -} - diff --git a/mpi/platforms/.single b/mpi/platforms/.single deleted file mode 100644 index e69de29..0000000 diff --git a/mpi/platforms/deprecated/fedora19.platform b/mpi/platforms/deprecated/fedora19.platform deleted file mode 100644 index 40d2c52..0000000 --- a/mpi/platforms/deprecated/fedora19.platform +++ /dev/null @@ -1,16 +0,0 @@ -# Fedora 19 - -# This build script assumes that you have several packages already -# installed via Fedora's yum using the following command: -# -# su -c 'yum install -y svn \ -# @development-tools gcc-c++ cmake \ -# blas blas-devel lapack lapack-devel \ -# doxygen graphviz graphviz-devel qt-devel' -# -## - -# Define the packages this platform needs -PACKAGES=( -dealii -) diff --git a/mpi/platforms/supported/centos7.platform b/mpi/platforms/supported/centos7.platform deleted file mode 100644 index 90db4f3..0000000 --- a/mpi/platforms/supported/centos7.platform +++ /dev/null @@ -1,14 +0,0 @@ -# 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/mpi/platforms/supported/fedora19.platform b/mpi/platforms/supported/fedora19.platform deleted file mode 100644 index 0f6d2e8..0000000 --- a/mpi/platforms/supported/fedora19.platform +++ /dev/null @@ -1,14 +0,0 @@ -# Fedora 19 - -# This build script assumes that you have installed -# an appropriate C/C++ and Fortran compiler. -# -## - -# Define the packages this platform needs -PACKAGES=( -#once:mpich2 -#once:mpich -#once:openmpi -once:mvapich2 -) diff --git a/mpi/platforms/supported/fedora20.platform b/mpi/platforms/supported/fedora20.platform deleted file mode 100644 index f3d05c5..0000000 --- a/mpi/platforms/supported/fedora20.platform +++ /dev/null @@ -1,15 +0,0 @@ -# Fedora 20 - -# This build script assumes that you have installed -# an appropriate C/C++ and Fortran compiler. -# -## - -# Define the packages this platform needs -PACKAGES=( -once:mpich2 -once:mpich -once:openmpi -#once:mvapich2 -) - diff --git a/mpi/platforms/supported/fedora21.platform b/mpi/platforms/supported/fedora21.platform deleted file mode 100644 index d178837..0000000 --- a/mpi/platforms/supported/fedora21.platform +++ /dev/null @@ -1,15 +0,0 @@ -# Fedora 21 - -# This build script assumes that you have installed -# an appropriate C/C++ and Fortran compiler. -# -## - -# Define the packages this platform needs -PACKAGES=( -#once:mpich2 -once:mpich -once:openmpi -#once:mvapich2 -) - diff --git a/mpi/platforms/supported/fedora22.platform b/mpi/platforms/supported/fedora22.platform deleted file mode 100644 index 7877e6e..0000000 --- a/mpi/platforms/supported/fedora22.platform +++ /dev/null @@ -1,15 +0,0 @@ -# Fedora 22 - -# This build script assumes that you have installed -# an appropriate C/C++ and Fortran compiler. -# -## - -# Define the packages this platform needs -PACKAGES=( -#once:mpich2 -once:mpich -once:openmpi -#once:mvapich2 -) - diff --git a/mpi/platforms/supported/rhel6.platform b/mpi/platforms/supported/rhel6.platform deleted file mode 100644 index 50168f7..0000000 --- a/mpi/platforms/supported/rhel6.platform +++ /dev/null @@ -1,16 +0,0 @@ -# RHEL 6 - -# 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:mvapich2 -#once:mpich2 -#once:mpich -once:openmpi -) - diff --git a/mpi/platforms/supported/rhel7.platform b/mpi/platforms/supported/rhel7.platform deleted file mode 100644 index 7ea5004..0000000 --- a/mpi/platforms/supported/rhel7.platform +++ /dev/null @@ -1,14 +0,0 @@ -# RHEL 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 deleted file mode 100644 index 96c6785..0000000 --- a/project-mpi.cfg +++ /dev/null @@ -1,27 +0,0 @@ -# Global configuration variables go here. You will want to tweak this -# file to suit your needs. If you want to keep local changes that are -# not overwritten by repository updates, those can be written -# to local.cfg instead (entries there will override those in this file). - -# Meta-project to build -PROJECT=mpi -#COMPILER=llvm -#COMPILER=gcc-4.9.3 -COMPILER=gcc-5.2.0 - -# How many processes would you like to build using? -PROCS=1 - -PREFIX_PATH=~/apps/candi - -# Where do you want the downloaded source files to go? -DOWNLOAD_PATH=${PREFIX_PATH}/src - -# Where do you want the build files to go? -BUILD_PATH=${PREFIX_PATH}/compiler-${PROJECT}-${COMPILER}-build - -# Where do you want to unpack source files to go? -UNPACK_PATH=${PREFIX_PATH}/unpack - -# Where do you want the compiled software installed? -INSTALL_PATH=${PREFIX_PATH}/compiler/${PROJECT}/${COMPILER}