Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.

MKL DOCKER

degraca__arom
Beginner
1,864 Views

I would like to install mkl in a docker image, specifically the 2018 version 3 update using wget.

My Dockerfile is as follows:

RUN apt update && apt install git make cmake gcc g++

# Install MKL
RUN cd /tmp && \
# Download MKL install package
  wget -q http://registrationcenter-download.intel.com/akdlm/irc_nas/8374/l_mkl_2018.1.163 && \
# Install MKL
  tar -xzf l_mkl_2018.1.163 && cd l_mkl_11.3.1.150 && \
  sed -i 's/ACCEPT_EULA=decline/ACCEPT_EULA=accept/g' silent.cfg && \
  sed -i 's/ACTIVATION_TYPE=exist_lic/ACTIVATION_TYPE=trial_lic/g' silent.cfg && \
  ./install.sh -s silent.cfg && \
# Clean up
  cd .. && rm -rf *

# Add to path
# ENV PATH ${CUDA_PATH}/bin:${PATH}
# Configure dynamic link
RUN echo "${MKL_PATH}/mkl/lib/intel64" >> /etc/ld.so.conf.d/intel.conf && ldconfig && \
  echo ". /opt/intel/bin/compilervars.sh intel64" >> /etc/bash.bashrc

My question: what is the link to the 2018 update 3? The link in wget is the 2018.1 update.

0 Kudos
1 Solution
Gennady_F_Intel
Moderator
1,863 Views

this is very interesting way  :), but Intel MKL doesn't officially support this way to distribute binaries. To get the latest 2018 u3, you may try to use YUM or PIP channels  or directly take this update from this page.

View solution in original post

1 Reply
Gennady_F_Intel
Moderator
1,864 Views

this is very interesting way  :), but Intel MKL doesn't officially support this way to distribute binaries. To get the latest 2018 u3, you may try to use YUM or PIP channels  or directly take this update from this page.

Reply