Package Details: r-mkl 4.0.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=4.0.2
Submitter: giniu
Maintainer: alexanderp
Last Packager: alexanderp
Votes: 19
Popularity: 0.093169
First Submitted: 2010-05-06 00:10
Last Updated: 2020-06-29 23:36

Dependencies (25)

Required by (350)

Sources (5)

Latest Comments

1 2 3 4 5 6 ... Next › Last »

sxyzy1016 commented on 2020-06-26 10:32

using icc to build it by uncomment the line # _CC="icc" and get:

...
icc -I../../src/extra -I/usr/include/tirpc -I. -I../../src/include -I../../src/include  -D_FORTIFY_SOURCE=2 -I../../src/nmath -DHAVE_CONFIG_H   -fopenmp -fpic  -O3 -fPIC -m64 -march=native -fp-model precise -fp-model source -I/opt/intel/mkl/include  -c arithmetic.c -o arithmetic.o
arithmetic.c(61): warning #274: declaration is not visible outside of function
  int matherr(struct exception *exc)
                     ^

arithmetic.c(63): error: pointer to incomplete class type is not allowed
      switch (exc->type) {
              ^

arithmetic.c(64): error: identifier "DOMAIN" is undefined
      case DOMAIN:
           ^

arithmetic.c(65): error: identifier "SING" is undefined
      case SING:
           ^

arithmetic.c(68): error: identifier "OVERFLOW" is undefined
      case OVERFLOW:
           ^

arithmetic.c(71): error: identifier "UNDERFLOW" is undefined
      case UNDERFLOW:
           ^

arithmetic.c(72): error: pointer to incomplete class type is not allowed
    exc->retval = 0.0;
    ^

compilation aborted for arithmetic.c (code 2)
...

in build(). EDIT: according to this, use

sed -i '/^#define HAVE_MATHERR 1/d' src/include/config.h

between configure and make will make it work.

Svenstaro commented on 2020-06-15 17:22

Alright but can you check the new intel-mkl that blue includes a shim script for mklvars.sh? It should work.

alexanderp commented on 2020-06-15 10:51

Hi @Svenstaro. No reason, other than wanting to fix r-mkl as quickly as possible after the move of intel-mkl to [Community]. I read the discussions on not including the original MKL scripts on the basis of standardization, so I made the decision to maintain compatibility locally.

Anyway, I copied the mklvars.sh script from upstream, therefore it should work for any package that depends on it.

Also, thank you for bringing intel-mkl to [Community]. Hopefully we'll get smoother upgrades and less incompatibilities this way.

Svenstaro commented on 2020-06-14 22:51

Hey, I'm the maintainer of the intel-mkl package and I just stumbled upon this pacakage right here. I'm trying to add a mklvars.sh to the [community] package that works for most people.

I'm curious: Why didn't you provide a patch for this on our bug tracker? Currently, your patch only works for this package but maybe other people would also be happy to benefit from the added mklvars.sh.

alexanderp commented on 2020-04-07 21:43

Update: I've added logic that allows this package to compile with both the AUR and Community versions of intel-mkl.

alexanderp commented on 2020-04-07 20:29

@mys_721tx, the intel-mkl package in Community is a mess. It's trying to force some rules/opinions which have obviously broken the software which depend on it. It's missing a lot of setup scripts from the original package on AUR and has rearranged most libraries and files.

I suggest to keep using intel-mkl from AUR, until the Community version is fixed.

mys_721tx commented on 2020-04-06 23:54

@alexanderp intel-mkl currently shipped in [Community] does not include mklvars.sh, which is required by PKGBUILD.

alexanderp commented on 2020-03-07 23:52

@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

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

alexanderp commented on 2020-02-18 08:40

@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.