]> https://gitweb.dealii.org/ - candi.git/commitdiff
Adds platform AlmaLinux as replacement for CentOS 8 265/head
authorUwe Köcher <mail@uwe.koecher.cc>
Thu, 23 Sep 2021 09:24:59 +0000 (11:24 +0200)
committerUwe Köcher <mail@uwe.koecher.cc>
Thu, 23 Sep 2021 09:24:59 +0000 (11:24 +0200)
candi.sh
deal.II-toolchain/platforms/supported/almalinux8.platform [new file with mode: 0644]

index d032851fc1c0d67eeef360a5e9b759fd41cb9484..a84a36523e59af5b9d963aaa0d0d944e16891622 100755 (executable)
--- 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 (file)
index 0000000..43e3c9a
--- /dev/null
@@ -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}"

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.