none
Conda install R with MKL RRS feed

  • Question

  • On my RHEL-server I do not have admin rights, but I can create Conda environments. I would like to create a Conda environment running R with Intel MKL (Intel® Math Kernel Library). 

    I create the environment with R_defaults.yml, running $> conda env create --file R_defaults.yml:

    name: R_defaults
    channels:
      - defaults
      - conda-forge
    dependencies:
      - pkgs/r::r-essentials=3.6.0=r36_0

    Activating the environment, starting R, and sessionInfo() I get that MKL is not used:
    R version 3.6.1 (2019-07-05)
    Platform: x86_64-conda_cos6-linux-gnu (64-bit)
    Running under: Red Hat Enterprise Linux Server 7.7 (Maipo)

    Matrix products: default
    BLAS/LAPACK: /home/geiringe/miniconda3/envs/R_r/lib/R/lib/libRblas.so

    Microsoft R Open (https://mran.microsoft.com/download) can be installed with MKL.

    It seems Anaconda has changed opinions about Microsoft R Open. In June 2018 it was said to become default R for the Anaconda distribution (https://www.anaconda.com/introducing-microsoft-r-open-as-default-r-for-anaconda-distribution/). Now they want us to migrate away from Microsoft R Open, and they will not update MRO packages (https://docs.anaconda.com/anaconda/user-guide/tasks/using-r-language/#switch-an-environment-from-r-to-mro). The latest version of r::mro-base is 3.5.1, and is more than 1 year old. The latest version of r::r-essentials is 3.6.0

    Is there a way for me to create a Conda environment with an updated version of R and with MKL?

    This question has also been posted on https://stackoverflow.com/questions/58834940/conda-install-r-essentials-with-mkl.

    Wednesday, November 13, 2019 11:12 AM