+++ /dev/null
-NAME=DTM++.toolbox
-VERSION=deal.II-8.1.0
-BUILDCHAIN=ignore
-
-MODULEFILE_PATH=${INSTALL_PATH}/conf/modulefiles/candi/toolbox/${NAME}/${COMPILER}
-CONFIG_FILE=${MODULEFILE_PATH}/${VERSION}
-CURRENT_MODULES=$(echo ${LOADEDMODULES} | sed 's/:/\ /')
-
-# **********************************************************************************
-package_specific_conf() {
- # Generate modulefile
-
- mkdir -p ${MODULEFILE_PATH}
- rm -f $CONFIG_FILE
- echo "#%Module 1.0
-#
-# DTM++.TOOLBOX module for use with 'environment-modules' package:
-#
-module-whatis \"Provides the DTM++.TOOLBOX.\"
-conflict candi/toolbox
-module load ${CURRENT_MODULES}
-
-setenv TOOLBOX ${INSTALL_PATH}
-setenv DEAL_II_DIR ${INSTALL_PATH}
-" >> $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
-}
-
+++ /dev/null
-NAME=deal.II-svn
-SOURCE=https://svn.dealii.org/trunk/deal.II
-PACKING=svn
-BUILDCHAIN=custom
-
-CONFOPTS=" \
-${DEAL_CONFOPTS} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D HDF5_DIR=${HDF5_DIR} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D TRILINOS_DIR=${TRILINOS_DIR} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D PETSC_DIR=${PETSC_DIR} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D SLEPC_DIR=${SLEPC_DIR} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D CMAKE_INSTALL_PREFIX:PATH="${INSTALL_PATH}" \
-"
-
-package_specific_setup () {
- echo "Build ${NAME} in ${BUILD_PATH}/${NAME}"
- mkdir -p "${BUILD_PATH}/${NAME}"
- cd "${BUILD_PATH}/${NAME}"
-
- DEALII_SOURCE="${DOWNLOAD_PATH}/${EXTRACTSTO}"
-
- # configure
- cmake ${CONFOPTS} ${DEALII_SOURCE}
-
- # make
- make -j${PROCS}
- make install
-}
-
-package_specific_register () {
- export DEALII_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=8.1.0
-NAME=deal.II-${VERSION}
-SOURCE=https://dealii.googlecode.com/files/
-PACKING=.tar.gz
-CHECKSUM=aa8fadc2ce5eb674f44f997461bf668d
-BUILDCHAIN=cmake
-EXTRACTSTO=deal.II
-
+++ /dev/null
-NAME=deal.II-svn
-SOURCE=https://svn.dealii.org/trunk/deal.II
-PACKING=svn
-BUILDCHAIN=cmake
-
-DEAL_CONFOPTS=" \
--D CMAKE_BUILD_TYPE=DebugRelease \
--D DEAL_II_COMPONENT_DOCUMENTATION:BOOL=OFF \
--D DEAL_II_WITH_ARPACK:BOOL=OFF \
--D DEAL_II_WITH_BOOST:BOOL=ON \
--D DEAL_II_WITH_FUNCTIONPARSER:BOOL=ON \
--D DEAL_II_WITH_LAPACK:BOOL=ON \
--D DEAL_II_WITH_METIS:BOOL=OFF \
--D DEAL_II_WITH_MUMPS:BOOL=OFF \
--D DEAL_II_WITH_MPI:BOOL=ON \
--D DEAL_II_WITH_NETCDF:BOOL=OFF \
--D DEAL_II_WITH_P4EST:BOOL=ON \
--D DEAL_II_WITH_PETSC:BOOL=OFF \
--D DEAL_II_WITH_SLEPC:BOOL=OFF \
--D DEAL_II_WITH_THREADS:BOOL=OFF \
--D DEAL_II_WITH_TRILINOS:BOOL=ON \
--D DEAL_II_WITH_UMFPACK:BOOL=ON \
--D DEAL_II_WITH_ZLIB:BOOL=ON \
--D DEAL_II_WITH_HDF5:BOOL=ON \
-"
-
-CONFOPTS=" \
-${DEAL_CONFOPTS} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D HDF5_DIR=${HDF5_DIR} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D TRILINOS_DIR=${TRILINOS_DIR} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D PETSC_DIR=${PETSC_DIR} \
-"
-
-CONFOPTS="${CONFOPTS} \
--D SLEPC_DIR=${SLEPC_DIR} \
-"
-
-package_specific_register () {
- export DEAL_II_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=1.8.12
-NAME=hdf5-${VERSION}
-SOURCE=http://www.hdfgroup.org/ftp/HDF5/releases/${NAME}/src/
-PACKING=.tar.gz
-CHECKSUM=d804802feb99b87fc668a90e6fa34411
-BUILDCHAIN=autotools
-
-CONFOPTS="--enable-shared --enable-parallel"
-
-package_specific_register () {
- export HDF5_DIR=${INSTALL_PATH}
-}
-
+++ /dev/null
-VERSION=1.9
-NAME=hwloc-${VERSION}
-SOURCE=http://www.open-mpi.org/software/hwloc/v${VERSION}/downloads/
-PACKING=.tar.gz
-CHECKSUM=1f9f9155682fe8946a97c08896109508
-BUILDCHAIN=autotools
-
+++ /dev/null
-VERSION=0.3.4.2
-NAME=p4est-${VERSION}
-SOURCE=http://p4est.github.io/release/
-PACKING=.tar.gz
-CHECKSUM=ef38ea3be84628b1548188106a5b01e7
-BUILDCHAIN=custom
-
-package_specific_setup () {
- function bdie () {
- echo "Error: $@"
- exit 1
- }
-
- if test -z "$CFLAGS" -a -z "$P4EST_CFLAGS_FAST" ; then
- export CFLAGS_FAST="-O2"
- else
- export CFLAGS_FAST="$CFLAGS $P4EST_CFLAGS_FAST"
- fi
- echo "CFLAGS_FAST: $CFLAGS_FAST"
-
- if test -z "$CFLAGS" -a -z "$P4EST_CFLAGS_DEBUG" ; then
- export CFLAGS_DEBUG="-O0 -g"
- else
- export CFLAGS_DEBUG="$CFLAGS $P4EST_CFLAGS_DEBUG"
- fi
- echo "CFLAGS_DEBUG: $CFLAGS_DEBUG"
-
- # choose names for fast and debug build directories
- BUILD_FAST="${BUILD_PATH}/${NAME}/FAST"
- BUILD_DEBUG="${BUILD_PATH}/${NAME}/DEBUG"
-
- # choose names for fast and debug installation directories
- INSTALL_FAST="${INSTALL_PATH}/${NAME}/FAST"
- INSTALL_DEBUG="${INSTALL_PATH}/${NAME}/DEBUG"
-
- echo
- echo "This script tries configure and build the p4est library."
- echo "Build FAST: $BUILD_FAST"
- echo "Build DEBUG: $BUILD_DEBUG"
- echo "Install FAST: $INSTALL_FAST"
- echo "Install DEBUG: $INSTALL_DEBUG"
- echo "Checking environment: CFLAGS P4EST_CFLAGS_FAST P4EST_CFLAGS_DEBUG"
-
- test -f "${UNPACK_PATH}/${EXTRACTSTO}/src/p4est.h" || bdie "Main header file missing"
- test -f "${UNPACK_PATH}/${EXTRACTSTO}/configure" || bdie "Configure script missing"
-
- echo "See output in files .../config.output and .../make.output"
- echo
-
- # remove old versions
- if test -d "${BUILD_PATH}/${NAME}"; then
- rm -rf "${BUILD_PATH}/${NAME}"
- fi
-
- echo "Build FAST version in $BUILD_FAST"
- mkdir -p "$BUILD_FAST"
- cd "$BUILD_FAST"
- "${UNPACK_PATH}/${EXTRACTSTO}/configure" --enable-mpi --enable-shared \
- --disable-vtk-binary --without-blas \
- --prefix="$INSTALL_FAST" CFLAGS="$CFLAGS_FAST" \
- CPPFLAGS="-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL" \
- "$@" > config.output || bdie "Error in configure"
- make -C sc -j${PROCS} > make.output || bdie "Error in make sc"
- make -j${PROCS} >> make.output || bdie "Error in make p4est"
- make install >> make.output || bdie "Error in make install"
- echo "FAST version installed in $INSTALL_FAST"
-
- echo
- echo "Build DEBUG version in $BUILD_DEBUG"
- mkdir -p "$BUILD_DEBUG"
- cd "$BUILD_DEBUG"
- "${UNPACK_PATH}/${EXTRACTSTO}/configure" --enable-debug --enable-mpi --enable-shared \
- --disable-vtk-binary --without-blas \
- --prefix="$INSTALL_DEBUG" CFLAGS="$CFLAGS_DEBUG" \
- CPPFLAGS="-DSC_LOG_PRIORITY=SC_LP_ESSENTIAL" \
- "$@" > config.output || bdie "Error in configure"
- make -C sc -j${PROCS} > make.output || bdie "Error in make sc"
- make -j${PROCS} >> make.output || bdie "Error in make p4est"
- make install >> make.output || bdie "Error in make install"
- echo "DEBUG version installed in $INSTALL_DEBUG"
- echo
-
- cd "${BUILD_PATH}/${NAME}"
- touch dorsal_successful_build
-}
-
-
-package_specific_register () {
- export P4EST_DIR=${INSTALL_PATH}/${NAME}
-}
+++ /dev/null
-NAME=parmetis-4.0.3
-SOURCE=http://glaros.dtc.umn.edu/gkhome/fetch/sw/parmetis/
-PACKING=.tar.gz
-CHECKSUM=f69c479586bf6bb7aff6a9bc0c739628
-BUILDCHAIN=custom
-
-package_specific_build() {
- cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
- cd metis
- make config prefix=${INSTALL_PATH} shared=1
- make -j ${PROCS}
- make install
- cd ..
- make config prefix=${INSTALL_PATH} shared=1
- make -j ${PROCS}
- make install
-}
-
-package_specific_register () {
- export PARMETIS_DIR=${INSTALL_PATH}
-}
+++ /dev/null
-VERSION=3.3
-NAME=superlu_dist_${VERSION}
-EXTRACTSTO=SuperLU_DIST_${VERSION}
-SOURCE=http://crd-legacy.lbl.gov/~xiaoye/SuperLU/
-PACKING=.tar.gz
-CHECKSUM=f4805659157d93a962500902c219046b
-BUILDCHAIN=custom
-
-package_specific_build() {
- cp -rf ${UNPACK_PATH}/${EXTRACTSTO}/* .
-
- patch -p1 --forward < ${ORIG_DIR}/${PROJECT}/patches/SuperLU_DIST_3.3.patch || true
-
- mv make.inc make.inc.bak
- #create make.inc
-echo "# The machine (platform) identifier to append to the library names
-#
-PLAT = _x86_64
-
-#
-# The name of the libraries to be created/linked to
-#
-DSuperLUroot = ${INSTALL_PATH}
-DSUPERLULIBNAME = libsuperlu_dist
-DSUPERLULIBDIR = \$(DSuperLUroot)/lib
-DSUPERLULIB = \$(DSUPERLULIBDIR)/\$(DSUPERLULIBNAME)
-
-#
-BLASDEF = -DUSE_VENDOR_BLAS
-BLASLIB = -lblas
-
-## parmetis 4.x.x
-METISLIB = -L${PARMETIS_DIR}/lib -lmetis
-PARMETISLIB = -L${PARMETIS_DIR}/lib -lparmetis
-
-# Define the required Fortran libraries, if you use C compiler to link
-#FLIBS = -lpgf90 -lpgf90_rpm1
-
-# Define all the libraries
-LIBS = \$(DSUPERLULIB) \$(BLASLIB) \$(PARMETISLIB) \$(METISLIB) \$(FLIBS)
-
-#
-# The archiver and the flag(s) to use when building archive (library)
-# If your system has no ranlib, set RANLIB = echo.
-#
-ARCH = ar
-ARCHFLAGS = cr
-RANLIB = ranlib
-
-############################################################################
-# C compiler setup
-# CFLAGS should be set to be the C flags that include optimization
-CFLAGS = -fPIC -DDEBUGlevel=0 -DPRNTlevel=1 -DPROFlevel=0
-#
-# NOOPTS should be set to be the C flags that turn off any optimization
-NOOPTS = -fPIC -O0
-############################################################################
-# FORTRAN compiler setup
-FORTRAN = \$(FC)
-#F90FLAGS = -fast -Mipa=fast,safe
-############################################################################
-LOADER = \$(CC)
-#LOADOPTS = -fast
-############################################################################
-# C preprocessor defs for compilation (-DNoChange, -DAdd_, or -DUpCase)
-#
-# Need follow the convention of how C calls a Fortran routine.
-#
-CDEFS = -DAdd_
-" >> make.inc
-
- # now compile superlu_dist
- make superlulib
- mkdir -p ${INSTALL_PATH}/include/superlu
- cp SRC/*.h ${INSTALL_PATH}/include/superlu
-}
-
-package_specific_register () {
- export SUPERLU_DIR=${INSTALL_PATH}
-}
-
+++ /dev/null
-VERSION=11.8.1
-NAME=trilinos-${VERSION}-Source
-SOURCE=http://trilinos.sandia.gov/download/files/
-PACKING=.tar.gz
-CHECKSUM=3c9465b6d63d824e9dc0365ca73c3370
-BUILDCHAIN=cmake
-
-CONFOPTS="-D Trilinos_ENABLE_OpenMP:BOOL=OFF \
- -D TPL_ENABLE_TBB:BOOL=OFF \
- -D Trilinos_ENABLE_Didasko:BOOL=ON \
- -D Trilinos_ENABLE_Sacado:BOOL=ON \
- -D Trilinos_ENABLE_Stratimikos:BOOL=ON \
- -D TPL_ENABLE_ParMETIS:BOOL=ON \
- -D TPL_ParMETIS_LIBRARIES:FILEPATH=${INSTALL_PATH}/lib/libparmetis.so \
- -D TPL_ENABLE_SuperLUDist:BOOL=ON \
- -D TPL_SuperLUDist_LIBRARIES:FILEPATH=${INSTALL_PATH}/lib/libsuperlu_dist.so \
- -D SuperLUDist_INCLUDE_DIRS:PATH=${INSTALL_PATH}/include/superlu \
- -D CMAKE_BUILD_TYPE:STRING=RELEASE \
- -D CMAKE_CXX_FLAGS:STRING=-fPIC -g -O3 \
- -D CMAKE_C_FLAGS:STRING=-fPIC -g -O3 \
- -D CMAKE_FORTRAN_FLAGS:STRING=-g -O5 \
- -D Trilinos_EXTRA_LINK_FLAGS:STRING=-lgfortran \
- -D CMAKE_VERBOSE_MAKEFILE:BOOL=FALSE \
- -D Trilinos_VERBOSE_CONFIGURE:BOOL=FALSE \
- -D TPL_ENABLE_MPI:BOOL=ON \
- -D BUILD_SHARED_LIBS:BOOL=ON"
-
-package_specific_setup() {
- # Apply patch to let Trilinos/Amesos work with SuperLUDist_3.3
- cd ${UNPACK_PATH}/${EXTRACTSTO}/packages/amesos/src
- patch --forward Amesos_Superludist.cpp < ${ORIG_DIR}/${PROJECT}/patches/Amesos_Superludist.cpp.patch || true
-}
-
-package_specific_register () {
- export TRILINOS_DIR=${INSTALL_PATH}
-}
-
+++ /dev/null
-476,477c476,477
-< else if( IterRefine_ == "DOUBLE" ) PrivateSuperluData_->options_.IterRefine = DOUBLE;
-< else if( IterRefine_ == "EXTRA" ) PrivateSuperluData_->options_.IterRefine = EXTRA;
----
-> else if( IterRefine_ == "DOUBLE" ) PrivateSuperluData_->options_.IterRefine = SLU_DOUBLE;
-> else if( IterRefine_ == "EXTRA" ) PrivateSuperluData_->options_.IterRefine = SLU_EXTRA;
-
+++ /dev/null
-# 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++ openmpi-devel cmake \
-# blas blas-devel lapack lapack-devel \
-# boost boost-devel boost-python boost-openmpi boost-openmpi-devel boost-openmpi-python \
-# doxygen graphviz graphviz-devel splint qt-devel'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected.
-#
-# Check available and loaded modules:
-#
-# module avial
-# module list
-#
-# and load an appropriate module, e.g.:
-#
-# module load openmpi-x86_64
-##
-
-# Platform specific variables
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-p4est
-hdf5
-trilinos
-dealii
-)
+++ /dev/null
-# Fedora 20
-
-# 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++ openmpi-devel cmake \
-# blas blas-devel lapack lapack-devel \
-# boost boost-devel boost-python boost-openmpi boost-openmpi-devel boost-openmpi-python \
-# doxygen graphviz graphviz-devel splint qt-devel'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected.
-#
-# Check available and loaded modules:
-#
-# module avial
-# module list
-#
-# and load an appropriate module, e.g.:
-#
-# module load openmpi-x86_64
-##
-
-# Platform specific variables
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-#once:hwloc
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-dealii
-skip:DTM++.toolbox
-)
-
+++ /dev/null
-# RHEL 6
-
-# 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++ openmpi-devel cmake \
-# blas blas-devel lapack lapack-devel \
-# boost boost-devel boost-python boost-openmpi boost-openmpi-devel boost-openmpi-python \
-# doxygen graphviz graphviz-devel splint qt-devel'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected.
-#
-# Check available and loaded modules:
-#
-# module avial
-# module list
-#
-# and load an appropriate module, e.g.:
-#
-# module load openmpi-x86_64
-##
-
-# Platform specific variables
-default UMFPACK_INCLUDE_DIR=/usr/include/suitesparse
-
-# Define the packages this platform needs
-PACKAGES=(
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-dealii
-skip:DTM++.toolbox
-)
+++ /dev/null
-# Saucy
-
-# This build script assumes that you have several packages already
-# installed via Fedora's yum using the following command:
-#
-# su -c 'apt-get install build-essential automake autoconf gfortran \
-# libblas-dev liblapack-dev splint openmpi1.6 cmake git subversion'
-#
-# If you have multiple MPI libraries installed, make sure the
-# appropriate version is selected.
-##
-
-# Platform specific variables
-
-# Define the packages this platform needs
-PACKAGES=(
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-dealii
-skip:DTM++.toolbox
-)
+++ /dev/null
-# 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=DTM++.toolbox
-CLEAN_BUILD=false
-
-COMPILERBASE=native
-#COMPILERBASE=gcc-4.9.0
-#COMPILERBASE=llvm
-
-COMPILERMPI=openmpi
-#COMPILERMPI=openmpi-1.6.5
-#COMPILERMPI=mpich-3.0.4
-
-COMPILER=${COMPILERBASE}-${COMPILERMPI}
-
-# How many processes would you like to build using?
-PROCS=1
-
-# Prefix directory
-PREFIX_PATH=~/apps/candi
-
-# Where do you want the downloaded source files to go?
-DOWNLOAD_PATH=${PREFIX_PATH}/src
-
-# Where do you want to unpack source files to go?
-UNPACK_PATH=${PREFIX_PATH}/unpack
-
-# Where do you want the build files to go?
-BUILD_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER}-build
-
-# Where do you want the compiled software installed?
-INSTALL_PATH=${PREFIX_PATH}/${PROJECT}/${COMPILER}
-
-# Would you like to build stable versions of projects?
-# If STABLE_BUILD=false, then the development version of deal.II will be
-# installed.
-#STABLE_BUILD=true
-STABLE_BUILD=false
-
-CXXFLAGS=-Wno-literal-suffix
-