FROM fedora:36 RUN yum in -y cmake dnf-utils eigen3-devel gcc gcc-c++ gcc-fortran git libxml2-devel make mpich-devel python vim which WORKDIR /tmp RUN yum-config-manager --add-repo https://yum.repos.intel.com/oneapi && \ rpm --import https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB && \ yum -y install intel-oneapi-mkl-devel ENV MKLROOT "/opt/intel/oneapi/mkl/latest" ENV LD_LIBRARY_PATH "${LD_LIBRARY_PATH}${LD_LIBRARY_PATH:+:}${MKLROOT}/lib/intel64" ENV PATH "${PATH}:/usr/lib64/mpich/bin" RUN curl -LsO https://github.com/GlobalArrays/ga/releases/download/v5.8.1/ga-5.8.1.tar.gz && \ tar -xzf ga-5.8.1.tar.gz && cd ga-5.8.1 && \ ./configure --prefix=/usr --with-sockets MPICC=mpicc MPICXX=mpicxx --disable-f77 --without-blas --without-lapack --without-scalapack && \ make && make install && \ cd /tmp && rm -rf ga-5.8.1.tar.gz ga-5.8.1