Package Details: r-mkl 4.4.0-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.004410
First Submitted: 2010-05-06 00:10 (UTC)
Last Updated: 2024-04-29 17:06 (UTC)

Latest Comments

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

alexanderp commented on 2019-10-15 07:52 (UTC)

@xia0er, I guess the first question is how long ago the docker container was built and whether you updated software inside the container.

xia0er commented on 2019-10-15 05:24 (UTC)

Anyone experiencing issue when installing the classInt package on r-mkl? I am getting a strange error on an otherwise fully functional r-mkl installation:

... gcc -shared -L/usr/lib64/R/lib -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o classInt.so fish1.o init.o -lgfortran -limf -lm -lquadmath -L/usr/lib64/R/lib -lR /usr/sbin/ld: cannot find -limf collect2: error: ld returned 1 exit status make: *** [/usr/share/R//make/shlib.mk:6: classInt.so] Error 1 ERROR: compilation failed for package ‘classInt’ ...

But libimf.so is present in the /opt/intel/lib directory.

Besides, it also complains missing include dirs in a warning message, but, oddly, pointing to 2019.4.243

gfortran -fno-optimize-sibling-calls -fpic -m64 -I/opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/include -c fish1.f -o fish1.o f951: Warning: Nonexistent include directory ‘/opt/intel/compilers_and_libraries_2019.4.243/linux/mkl/include’ [-Wmissing-include-dirs] fish1.f:100:72:

100 | DO 10 I=1,M | 1 Warning: Fortran 2018 deleted feature: Shared DO termination label 10 at (1) fish1.f:132:72:

132 | 40 IWORK(I,1)=1 | 1 Warning: Fortran 2018 deleted feature: DO termination statement which is not END DO or CONTINUE with label 40 at (1)

The classInt package installs successfully on a regular (non-mkl) R installation.

This happens when running r-mkl on an archlinux docker container, so there is no contamination from an earlier installation of mkl etc.

I appreciate it if anyone can help shed light on what may be happening here. Thanks!

The full stdout with error message can be found at https://gist.github.com/lmwang9527/48386437de1574aac45cb27725f129c7

alexanderp commented on 2019-07-26 07:45 (UTC)

Great @petronny. Thanks for your effort.

petronny commented on 2019-07-26 07:40 (UTC) (edited on 2019-07-26 07:41 (UTC) by petronny)

Hi, I provide a pre-built binary of this package at arch4edu.
Also please vote at this issue if you want more pre-built R packages.

petronny commented on 2019-07-24 07:06 (UTC) (edited on 2019-07-24 07:06 (UTC) by petronny)

Every time Intel MKL gets updated, compilation of R with icc needs to be adapted.

Actually I can deal with that, I can provide a well-built binary with every icc or r-mkl update. But I'll use gcc then since there is no gain when using icc.

alexanderp commented on 2019-07-24 06:40 (UTC) (edited on 2019-07-24 06:41 (UTC) by alexanderp)

Hi @petronny.

Every time Intel MKL gets updated, compilation of R with icc needs to be adapted.

I measured no gain when using icc, therefore this package defaults to gcc.

See some of my benchmarks here: https://github.com/alexisph/high_performance_r

petronny commented on 2019-07-23 07:24 (UTC)

And is building with gcc the recommend way by the official R group to build with MKL support?
If so I can give up building with icc and using gcc now.

petronny commented on 2019-07-23 07:21 (UTC) (edited on 2019-07-23 07:21 (UTC) by petronny)

Hi, thanks for maintaining this package.
Could you help with building with icc?
I've un-comment the line _CC="icc" but I get errors:

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/compilers_and_libraries_2019.4.243/li
nux/mkl/include  -c envir.c -o envir.o
arithmetic.c(59): warning #274: declaration is not visible outside of function
  int matherr(struct exception *exc)
                     ^

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

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

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

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

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

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

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/compilers_and_libraries_2019.4.243/li
nux/mkl/include  -c errors.c -o errors.o
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/compilers_and_libraries_2019.4.243/li
nux/mkl/include  -c eval.c -o eval.o
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/compilers_and_libraries_2019.4.243/li
nux/mkl/include  -c format.c -o format.o
compilation aborted for arithmetic.c (code 2)
make[3]: *** [../../Makeconf:124: arithmetic.o] Error 2
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory '/build/r-mkl/src/R-3.6.1/src/main'
make[2]: *** [Makefile:135: R] Error 2
make[2]: Leaving directory '/build/r-mkl/src/R-3.6.1/src/main'
make[1]: *** [Makefile:28: R] Error 1
make[1]: Leaving directory '/build/r-mkl/src/R-3.6.1/src'
make: *** [Makefile:61: R] Error 1
==> ERROR: A failure occurred in build().

blazko commented on 2019-07-15 07:40 (UTC)

Is anyone else facing validity checks problem with parallel_studio_xe?

==> Validating source files with sha256sums...
    parallel_studio_xe_2019_update4_cluster_edition.tgz ... FAILED
    intel_compilers.sh ... Passed
    intel_vtune-amplifier.sh ... Passed
    intel_advisor.sh ... Passed
    intel_inspector.sh ... Passed
    intel-composer.install ... Passed
    intel-common-libs.conf ... Passed
    intel-fortran.conf ... Passed
    intel-openmp.conf ... Passed
    intel-mkl.conf ... Passed
    intel-mpi.conf ... Passed
    intel-ipp.conf ... Passed
    intel-tbb.conf ... Passed
    intel-mkl.sh ... Passed
    intel-mkl.install ... Passed
    intel-mkl-th.conf ... Passed
    intel-tbb.install ... Passed
    EULA.txt ... Passed
==> ERROR: One or more files did not pass the validity check!

alexanderp commented on 2019-05-17 11:46 (UTC)

Thanks for the report @blazko. To be honest, those numbers look strange to me... Did you consider reporting this to the Intel MKL forums? (https://software.intel.com/en-us/forums/intel-math-kernel-library)

By the way, have you done any benchmark comparisons between the versions?