[Rd] Debate: Shall some of Microsoft R Open Code be ported to mainstream R?

2017-10-30 Thread Cohn, Robert S
I think the thing that is missing is a simple way for end users on windows to replace blas/lapack libraries with MKL-a package that you install that puts the libraries in the right place. Microsoft provides something for their distro, but we don't have the equivalent if you get R from cran. O

Re: [Rd] Intel MKL compiling issue

2017-04-23 Thread Cohn, Robert S
? This helps -- would you be able to do with --enable-R-shlib? I also got complaints with it. It works when I do this: ./configure --with-x=no --with-blas=-lmkl --enable-R-shlib [[alternative HTML version deleted]] __ R-devel@r-project.org

Re: [Rd] Intel MKL compiling issue

2017-04-21 Thread Cohn, Robert S
> I would appreciate any insights over compiling R 3.4 with Intel MKL -- I have > been successful until R 3.3.3 but now it stops complaining about pcre though > it worked without Intel MKL as follows, I successfully built R-rc_2017-04-19_r72555.tar.gz with icc & MKL on centos 7 with this: # h

Re: [Rd] accelerating matrix multiply

2017-01-16 Thread Cohn, Robert S
2017 12:00 PM To: Cohn, Robert S Cc: r-devel@r-project.org Subject: Re: [Rd] accelerating matrix multiply Hi Robert, thanks for the report and your suggestions how to make the NaN checks faster. Based on my experiments it seems that the "break" in the loop actually can have pos

Re: [Rd] accelerating matrix multiply

2017-01-11 Thread Cohn, Robert S
---Original Message- From: Martin Maechler [mailto:maech...@stat.math.ethz.ch] Sent: Tuesday, January 10, 2017 8:59 AM To: Cohn, Robert S Cc: r-devel@r-project.org Subject: Re: [Rd] accelerating matrix multiply >>>>> Cohn, Robert S >>>>> on Sat, 7 Jan 2017 16:

[Rd] accelerating matrix multiply

2017-01-07 Thread Cohn, Robert S
I am using R to multiply some large (30k x 30k double) matrices on a 64 core machine (xeon phi). I added some timers to src/main/array.c to see where the time is going. All of the time is being spent in the matprod function, most of that time is spent in dgemm. 15 seconds is in matprod in some