echo debian${OS_MAJOR_VER}
elif [ "$OS_ID" == "ubuntu" ]; then
- echo ubuntu${OS_MAJOR_VER}
+ echo ubuntu
elif [ "${OS_NAME}" == "openSUSE Leap" ]; then
echo opensuse15
-# Ubuntu 20.04
+# Ubuntu
#
# This build script assumes that you have several packages already
# installed via ubuntu's apt-get using the following commands:
#
-# > sudo apt-get install lsb-release git subversion wget bc libgmp-dev \
+# sudo apt-get install lsb-release git subversion wget bc libgmp-dev \
# build-essential autoconf automake cmake libtool gfortran python \
# libboost-all-dev zlib1g-dev \
# openmpi-bin openmpi-common libopenmpi-dev \
#
# Then run candi again.
#
+# If the default compiler is older than the hardware generation, a newer
+# compiler version is necessary to use native optimizations.
+# For example, to update the GNU Compiler Collection from the default v9 to
+# v10, install the new compilers
#
-# To use native compiler optimizations on Intel's 11th-Gen (TigerLake)
-# you may need to use the GNU Compiler collection Version 10 or newer.
-# To priorize v10 over the default v9, do
+# sudo apt-get install gcc-10 g++-10 gfortran-10
+#
+# and update the symbolic links to gcc, g++ and gfortran by
#
# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 10 \
# update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 20
#
# with super-user privileges and invoke an operating system update.
##
-
-# Define the additional packages for this platform.
-#PACKAGES="once:cmake ${PACKAGES}"
+++ /dev/null
-# ubuntu 18 LTS
-#
-# 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 lsb-release wget \
-# bc python automake autoconf gfortran \
-# openmpi-bin openmpi-common libopenmpi-dev cmake subversion git \
-# libblas-dev liblapack-dev libblas3 liblapack3 \
-# libsuitesparse-dev libtool libboost-all-dev zlib1g-dev \
-# splint tcl tcl-dev environment-modules qt4-dev-tools
-#
-# Then run candi again.
-##
-
-#
-# Define the additional packages for this platform.
-#PACKAGES="once:cmake ${PACKAGES}"
-