Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fedora: add intel repo the modern way #190

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions fedora
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ RUN ( dnf -y update || dnf -y update ) && \
python-pip python3-lxml python3-numpy wget hdf5-devel lammps eigen3-devel libxc-devel python3-espresso-openmpi sudo curl clang-tools-extra python3-cma \
ninja-build libomp-devel clang-devel llvm-devel python3-sphinx python3-nbsphinx python3-recommonmark python3-sphinx_rtd_theme python3-ipykernel patch \
python3-seaborn python3-numpydoc zstd libint2-devel libecpint-devel doxygen python3-h5py pybind11-devel python3-coverage python3-pytest-cov \
openmpi-devel boost-python3-devel python-devel boost-openmpi-devel hdf5-openmpi-devel python3-mpi4py-openmpi python-pip vim && \
openmpi-devel boost-python3-devel python-devel boost-openmpi-devel hdf5-openmpi-devel python3-mpi4py-openmpi python-pip vim dnf-plugins-core && \
dnf clean all

RUN source /etc/os-release && if [ "${VERSION_ID}" -le 34 ]; then \
Expand All @@ -34,7 +34,7 @@ RUN if [ -z "${GMX_BRANCH}" ]; then \
fi

RUN if [ "${INTEL}" = "yes" ]; then \
printf "[oneAPI]\nname=Intel oneAPI\nbaseurl=https://yum.repos.intel.com/oneapi\nenabled=1\ngpgcheck=1\nrepo_gpgcheck=1\ngpgkey=https://yum.repos.intel.com/intel-gpg-keys/GPG-PUB-KEY-INTEL-SW-PRODUCTS.PUB" > /etc/yum.repos.d/intel-oneapi.repo && \
dnf config-manager --add-repo https://yum.repos.intel.com/setup/intelproducts.repo && \
( dnf -y update || dnf -y update ) && \
dnf -y install intel-oneapi-compiler-dpcpp-cpp intel-oneapi-compiler-dpcpp-cpp-and-cpp-classic intel-oneapi-mkl-devel && \
dnf clean all; \
Expand Down