fi
# Source default PLATFORM variables, if present
-PLATFORM_DEFAULT=${PROJECT}/platforms/default.packages
-if [ -e ${PLATFORM_DEFAULT} ]; then
- source ${PLATFORM_DEFAULT}
+DEFAULT_PACKAGES=${PROJECT}/packages/default.packages
+if [ -e ${DEFAULT_PACKAGES} ]; then
+ source ${DEFAULT_PACKAGES}
fi
-
# Source PLATFORM variables if set up correctly
if [ -z ${PLATFORM} ]; then
cecho ${BAD} "Please contact the authors, if you have not changed candi!"
--- /dev/null
+PACKAGES=(
+load:dealii-prepare
+once:opencascade
+once:parmetis
+once:superlu_dist
+once:hdf5
+once:p4est
+once:trilinos
+once:petsc
+once:slepc
+dealii
+)
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
#
##
+
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
+# Define the additional packages for this platform.
+PACKAGES="
once:zlib
once:bzip2
once:boost
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
-
+${PACKAGES}"
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-#once:boost
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
-
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-#once:boost
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
-
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
# ubuntu 12
-#
-#
+#
# This build script assumes that you have several packages already
# installed via ubuntu's apt-get using the following commands:
#
# openmpi-bin openmpi-common libopenmpi-dev cmake subversion \
# git libblas-dev liblapack-dev libblas3gf liblapack3gf splint \
# tcl tcl-dev libsuitesparse-dev libtool libboost-all-dev qt4-dev-tools
-#
+#
# Then reboot.
-#
+#
# Afterwards, you should set your compilers safely:
# > export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77
# and rerun candi again.
-#
+#
# To compile deal.II applications, you need to set the following variables
# > export DEAL_II_DIR=${INSTALL_PATH} (see below for your settings)
# > export PATH=$DEAL_II_DIR/bin:$PATH
##
#
-# Define the packages this platform needs
-PACKAGES=(
-once:cmake
-load:dealii-prepare
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
+# Define the additional packages for this platform.
+PACKAGES="once:cmake ${PACKAGES}"
# The default compiler on ubuntu12 does not support Trilinos 12.
# Anyhow, the user can decide to use Trilinos 11 or 12, if the
if [ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]; then
TRILINOS_MAJOR_VERSION=11
fi
-
# ubuntu 14
-#
-#
+#
# This build script assumes that you have several packages already
# installed via ubuntu's apt-get using the following commands:
#
# git libblas-dev liblapack-dev libblas3gf liblapack3gf splint \
# tcl tcl-dev environment-modules libsuitesparse-dev \
# libtool libboost-all-dev qt4-dev-tools
-#
+#
# Then reboot and run candi again.
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"
# The default compiler on ubuntu14 does not support Trilinos 12
# together with deal.II v8.3.0.
if [ ${STABLE_BUILD} == "true" ] && [ ${DEAL_II_VERSION} == "v8.3.0" ] && [ ${TRILINOS_MAJOR_VERSION} == "AUTO" ]; then
TRILINOS_MAJOR_VERSION=11
fi
-
# ubuntu 15
-#
+#
# This build script assumes that you have several packages already
# installed via ubuntu's apt-get using the following commands:
#
-# > sudo apt-get install build-essential automake autoconf gfortran openmpi-bin openmpi-common libopenmpi-dev cmake subversion git libblas-dev liblapack-dev libblas3gf liblapack3gf splint tcl tcl-dev environment-modules libsuitesparse-dev libtool libboost-all-dev qt4-dev-tools
-#
+# > sudo apt-get install build-essential automake autoconf gfortran \
+# openmpi-bin openmpi-common libopenmpi-dev cmake subversion git \
+# libblas-dev liblapack-dev libblas3gf liblapack3gf splint tcl tcl-dev \
+# environment-modules libsuitesparse-dev libtool libboost-all-dev \
+# qt4-dev-tools
+#
# Then reboot and run candi again.
##
#
-# Define the packages this platform needs
-PACKAGES=(
-load:dealii-prepare
-once:opencascade
-once:parmetis
-once:superlu_dist
-once:hdf5
-once:p4est
-once:trilinos
-once:petsc
-once:slepc
-dealii
-)
-
+# Define the additional packages for this platform.
+#PACKAGES="once:cmake ${PACKAGES}"