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.011179
First Submitted: 2010-05-06 00:10
Last Updated: 2020-06-29 23:36

Dependencies (25)

Required by (364)

Sources (5)

Latest Comments

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

alexanderp commented on 2019-05-06 18:46

@mys_721tx, acepack installs fine on my side:

> install.packages("acepack")
trying URL 'https://cran.rstudio.com/src/contrib/acepack_1.4.1.tar.gz'
Content type 'application/x-gzip' length 34848 bytes (34 KB)
==================================================
downloaded 34 KB

* installing *source* package ‘acepack’ ...
** package ‘acepack’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran  -fpic  -m64 -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include   -c ace.f -o ace.o
gfortran  -fpic  -m64 -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include   -c avas.f -o avas.o
gfortran  -fpic  -m64 -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include   -c rlsmo.f -o rlsmo.o
gcc -shared -L/usr/lib64/R/lib -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o acepack.so ace.o avas.o rlsmo.o -lgfortran -limf -lm -lquadmath -L/usr/lib64/R/lib -lR
installing to /home/user/R/x86_64-pc-linux-gnu-library/3.6/00LOCK-acepack/00new/acepack/libs
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (acepack)

The downloaded source packages are in
    ‘/tmp/RtmpTd0Kjm/downloaded_packages’
> 

alexanderp commented on 2019-05-06 18:36

@blazko, I need something to test this claim. Can you please provide a reproducible example that made use of all cores before the update but does not now?

blazko commented on 2019-05-06 18:24

@alexanderp My .conf file is set up as before:

# Confgure the MKL multithreading
# for more details visit: http://software.intel.com/sites/products/documentatio>
#

# Uncomment if you want to set a constant number o threads.
export MKL_NUM_THREADS=32

# Uncomment and edit if you want to set the nr. of threads for every components.
# export MKL_DOMAIN_NUM_THREADS="MKL_ALL=4, MKL_BLAS=4"

# If TRUE MKL set automatically the optimal number of threads
#export MKL_DYNAMIC=TRUE

That does not help. I'm not sure what does this switch mean, but is there a way to make it use Intel back again?

alexanderp commented on 2019-05-06 18:05

@blazko The package recently switched from Intel threading to OpenMP. Can you please try setting the number of threads manually in /etc/intel-mkl-th.conf?

mys_721tx commented on 2019-05-05 16:30

The -limf flag causes a problem when compiling acepack since /opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64 is not in $FLIBS. The problem is resolved by adding -L/opt/intel/compilers_and_libraries_2019.3.199/linux/compiler/lib/intel64 to $FLIBS in /usr/lib/R/etc/Makeconf. Perhaps we should append it to wherever -limf appears.

> install.packages("acepack")
trying URL 'https://cloud.r-project.org/src/contrib/acepack_1.4.1.tar.gz'
Content type 'application/x-gzip' length 34848 bytes (34 KB)
==================================================
downloaded 34 KB

* installing *source* package ‘acepack’ ...
** package ‘acepack’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
gfortran  -fpic  -m64 -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include   -c ace.f -o ace.o
gfortran  -fpic  -m64 -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include   -c avas.f -o avas.o
gfortran  -fpic  -m64 -I/opt/intel/compilers_and_libraries_2019.3.199/linux/mkl/include   -c rlsmo.f -o rlsmo.o
gcc -shared -L/usr/lib64/R/lib -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now -o acepack.so ace.o avas.o rlsmo.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: acepack.so] Error 1
ERROR: compilation failed for package ‘acepack’
* removing ‘/usr/lib/R/library/acepack’
* restoring previous ‘/usr/lib/R/library/acepack’

The downloaded source packages are in
    ‘/tmp/RtmpZqWncs/downloaded_packages’
Warning message:
In install.packages("acepack") :
  installation of package ‘acepack’ had non-zero exit status

blazko commented on 2019-05-04 06:58

Thanks it worked.

The new version (with newest intel-mkl) does not recognize all 32 cores on my xeon. When running simr() it now uses only 16, and with previous version it used all of them at 100%.

Is this something I can restore?

As a side note: other multicore applications still can run at 100% resources. It's something that changed for R only

alexanderp commented on 2019-05-03 12:48

https://wiki.archlinux.org/index.php/Pacman#%22Failed_to_commit_transaction_(conflicting_files)%22_error

blazko commented on 2019-05-03 12:08

@alexanderp thing is, there are a couple of those (survival.R) is just one of them. Is there any --overwrite all option? :)

error: failed to commit transaction (conflicting files)
r-mkl: /usr/lib/R/library/rpart/help/figures/rpart.png exists in filesystem
r-mkl: /usr/lib/R/library/survival/doc/survival.R exists in filesystem
r-mkl: /usr/lib/R/library/survival/doc/survival.Rnw exists in filesystem
r-mkl: /usr/lib/R/library/survival/doc/survival.pdf exists in filesystem
r-mkl: /usr/lib/R/library/survival/help/figures/logo.png exists in filesystem
Errors occurred, no packages were upgraded.
==> WARNING: Your packages are saved in /tmp/yaourt-tmp-bajzel

alexanderp commented on 2019-05-03 11:36

@blazko Try adding --overwrite usr/lib/R/library/survival/doc/survival.R to your pacman command. My own installations upgraded fine by the way.

blazko commented on 2019-05-03 11:00

I'm getting r-mkl: /usr/lib/R/library/survival/doc/survival.R already exists in filesystem with a couple others when trying to upgrade from last 3.5 version. Should I remove old install completely before trying to upgrade?