Linux: RHEL8

A trial compilation of Dakota (using all default options) on CentOS 8 used the following to satisfy dependencies:

# NOTE: Java should only be needed if maintaining Dakota or building documentation
yum install gcc gcc-c++ gcc-gfortran git cmake make python2 perl java-1.8.0-openjdk-devel

# NOTE: GSL only needing if enabling Dakota's QUESO library
yum install blas lapack boost boost-devel openmpi openmpi-devel gsl gsl-devel

CentOS 8 doesn't provide symlinks called libblas.so and liblapack.so, which trips up the way Dakota searches for them. Either

  1. Specify explicit paths to them, e.g., when running CMake specify CMake variables BLAS_LIBS=/usr/lib64/libblas.so.3.4.2, LAPACK_LIBS=/usr/lib64/liblapack.so.3.4.2
  2. Enable enable the PowerTools repo via editing /etc/yum.repos.d/CentOS-PowerTools.repo and yum install blas-devel lapack-devel; or
  3. Symlink libblas.so and liblapack.so to the versioned shared object libraries, e.g., sudo ln -s /usr/lib64/libblas.so.3.4.2 /usr/lib64/libblas.so and similar for LAPACK.