From: Uwe Köcher Date: Thu, 23 Sep 2021 09:24:59 +0000 (+0200) Subject: Adds platform AlmaLinux as replacement for CentOS 8 X-Git-Tag: v9.3.3-r1~1^2~3^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bb9603d1778862f3ea3371f7d7294fd11324625;p=candi.git Adds platform AlmaLinux as replacement for CentOS 8 --- diff --git a/candi.sh b/candi.sh index d032851..a84a365 100755 --- a/candi.sh +++ b/candi.sh @@ -634,6 +634,9 @@ guess_platform() { elif [ "${OS_ID}" == "centos" ]; then echo centos${OS_VERSION_ID} + elif [ "${OS_ID}" == "almalinux" ]; then + echo almalinux${OS_MAJOR_VERSION} + elif [ "${OS_ID}" == "rhel" ]; then echo rhel${OS_MAJOR_VERSION} diff --git a/deal.II-toolchain/platforms/supported/almalinux8.platform b/deal.II-toolchain/platforms/supported/almalinux8.platform new file mode 100644 index 0000000..43e3c9a --- /dev/null +++ b/deal.II-toolchain/platforms/supported/almalinux8.platform @@ -0,0 +1,36 @@ +# AlmaLinux 8 + +# This build script assumes that you have several packages already +# installed. +# +# > sudo dnf groupinstall "Development Tools" +# > sudo dnf install git wget \ +# gcc-c++ cmake \ +# openmpi openmpi-devel \ +# patch \ +# libtool libtool-ltdl libtool-ltdl-devel \ +# lua lua-devel \ +# blas blas-devel lapack lapack-devel \ +# gmp gmp-devel \ +# doxygen graphviz graphviz-devel +# +# Please load the 'openmpi' compiler with +# +# > module load mpi/openmpi-x86_64 +# +# and then set the compiler enviroment variables to +# +# > export CC=mpicc; export CXX=mpicxx; export FC=mpif90; export FF=mpif77 +# +# before you continue! +## + +# On RHEL 7 the candi installed parmetis 4.0.3 is not recognized correctly +# for trilinos 12-10-1. We force to assume parmetis version 4.0.3. +#TRILINOS_PARMETIS_CONFOPTS="\ +# ${TRILINOS_PARMETIS_CONFOPTS} \ +# -D HAVE_PARMETIS_VERSION_4_0_3:BOOL=ON" + +# +# Define the additional packages for this platform. +#PACKAGES="once:cmake ${PACKAGES}"