Package Details: r-mkl 4.4.2-1

Git Clone URL: https://aur.archlinux.org/r-mkl.git (read-only, click to copy)
Package Base: r-mkl
Description: Language and environment for statistical computing and graphics, linked to the Intel(R) MKL.
Upstream URL: http://www.r-project.org/
Keywords: hpc mathematics modelling r statistics
Licenses: GPL
Conflicts: microsoft-r-open, r
Provides: r
Submitter: giniu
Maintainer: alexanderp
Last Packager: alexanderp
Votes: 25
Popularity: 0.000084
First Submitted: 2010-05-06 00:10 (UTC)
Last Updated: 2024-11-12 19:56 (UTC)

Required by (3402)

Sources (5)

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 21 Next › Last »

alexanderp commented on 2020-03-07 23:52 (UTC)

@Nexilim, no need for special Makevars file. R should already be using the correct libraries and headers during package compilation.

Nexilim commented on 2020-03-07 23:28 (UTC)

Could anyone please share their Makevars file with the correct flags and routes to MKL? Thanks!

alexanderp commented on 2020-02-18 08:40 (UTC)

@petronny, that's not a build error. That's an error during the check phase and it doesn't affect the package, nor R usage.

petronny commented on 2020-02-18 04:54 (UTC)

Hi, now I get

Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  : 
  pdflatex is not available

when building this package.

Should we list texlive in makedepends?

alexanderp commented on 2020-02-17 18:36 (UTC) (edited on 2020-02-17 18:38 (UTC) by alexanderp)

@laborat, the recent (two days old) community/intel-mkl package lacks a lot of content from the split package.

Please keep on using aur/intel-mkl as part of aur/intel-parallel-studio-xe until the relevant scripts are ported to community.

Also, as a general note, those with Ryzen processors could obtain even better performance by setting an environment variable. Please see https://www.reddit.com/r/MachineLearning/comments/f2pbvz/discussion_workaround_for_mkl_on_amd/

laborat commented on 2020-02-17 17:42 (UTC)

The recent update to r-mkl appears to have an issue:

/home/user/.cache/yay/r-mkl/PKGBUILD: line 88: /opt/intel/mkl/bin/mklvars.sh: No such file or directory

Indeed, my /opt/intel/mkl only has 'include' and 'lib'. Missing dependency? community/intel-mkl is at its latest version, 2020.0.166-3

petronny commented on 2019-10-17 05:21 (UTC) (edited on 2019-10-17 05:24 (UTC) by petronny)

@xia0er R uses R-package/src/Makevars instead of the system Makevars when building packages. I find this when I try to build r-mxnet.

I can't recall exactly but I think there is a way to set the Makevars in userspace by editing something like ~/.R/Makevars.

Also someone filed an issue on arch4edu about that the prebuilt binary needs rebuild against the latest mkl. I'm working on it.

xia0er commented on 2019-10-16 20:09 (UTC)

My issue is fixed by editing /etc/R/Makeconf: FCLIBS_XTRA = -L/opt/intel/lib

Not sure why this is still needed, as I can see that /etc/ld.so.conf.d/intel-common-libs.conf has /opt/intel/lib included. I have also tried to set the environment variable export LD_LIBRARY_PATH=-L/opt/intel/lib before starting R, but it doesn't fix the issue.

Hope this helps others with similar issues.

alexanderp commented on 2019-10-15 21:58 (UTC)

@xia0er, looks like your system (container) might be broken. It's considered bad practice to manually manage software inside the container. Instead, recreate your base image.

xia0er commented on 2019-10-15 18:52 (UTC)

@alexanderp The docker image is based on archlinux/base and I update all packages to the latest version with pacman -Syyu before download and install r-mkl with this PKGBUILD (also tried @petronny's binary package) in my own Dockerfile. After building the image and run it in a container, r-mkl works fine as far as I can see, but fails when installing classInt (as a dependency for the package sf). I also tried installing the r packages in the Dockerfile, but it fails in the building process with the same error. Thanks for your help!