Re: [R] Compiling R with multi-threaded BLAS math libraries - why not actually ?

From: Matt Shotwell <>
Date: Fri, 11 Jun 2010 23:01:39 -0400

In the case of REvolution R, David mentioned using the Intel MKL, proprietary library which may not be distributed in the way R is distributed. Maybe REvolution has a license to redistribute the library. For the others, I suspect Gabor has the right idea, that the R-core team would rather not keep architecture dependent code in the sources, although there is a very small amount already (`grep -R __asm__`).

However, I know using Linux (Debian in particular) it is fairly straightforward to build R with `enhanced' BLAS libraries. The R Administration and Installation manual has a pretty good section on linking with enhanced BLAS and LAPACK libs, including the Intel MKL, if you are willing cough up $399, or swear not to use the library commercially or academically.

Maybe a short tutorial using free software, such as ATLAS would be suitable content for an r-bloggers post :) ?

Matt Shotwell
Graduate Student
Div. Biostatistics and Epidemiology
Medical University of South Carolina

On Fri, 2010-06-11 at 19:21 -0400, Tal Galili wrote:
> Hello all,
> I came across<>
> David
> Smith's new post
> Performance benefits of linking R to multithreaded math
> libraries<>
> Which explains how (and why) REvolution distribution of R uses
> different BLAS math libraries for R, so to
> allow multi-threaded mathematical computation.
> What the post doesn't explain is why it is that native R distribution
> doesn't use the multi-threaded version of the libraries. Is it because
> R-devel team didn't get to it yet or is it for some technical reason.
> Could someone please help to explain the situation?
> Thanks in advance,
> Tal
> p.s: I wasn't sure if to send the question here or to R-devel, I decided to
> send it here. If I am in the wrong - please let me know.
> ----------------Contact
> Details:-------------------------------------------------------
> Contact me: | 972-52-7275845
> Read me: (Hebrew) | (Hebrew) |
> (English)
> ----------------------------------------------------------------------------------------------
> [[alternative HTML version deleted]]
> ______________________________________________
> mailing list
> PLEASE do read the posting guide
> and provide commented, minimal, self-contained, reproducible code. mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sat 12 Jun 2010 - 03:04:45 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 12 Jun 2010 - 11:50:28 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive