From ripley at stats.ox.ac.uk  Tue May 10 08:07:46 2011
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue, 10 May 2011 07:07:46 +0100 (BST)
Subject: [Rd] matrix multiplication speed R
In-Reply-To: <1305001560672-3510979.post@n4.nabble.com>
References: <1294992591724-3217257.post@n4.nabble.com>
	<AANLkTinaCO61x_fWzqFFawWrnBN+LZ_APLpsaBZYAw-j@mail.gmail.com>
	<4D302DCF.1020003@statistik.tu-dortmund.de>
	<1295007321497-3217539.post@n4.nabble.com>
	<1304955156757-3509596.post@n4.nabble.com>
	<1305001560672-3510979.post@n4.nabble.com>
Message-ID: <alpine.LFD.2.02.1105100703550.8562@gannet.stats.ox.ac.uk>

On Mon, 9 May 2011, Sharpie wrote:

>
> aftar wrote:
>>
>> Hi
>>
>> Can we use BLAS in R X64 for windows?
>>
>> Regards
>> Aftar
>>
>
> You are already using BLAS in R as R includes its own BLAS library. On
> Windows the 64-bit DLL is located at R_HOME\bin\x64\Rblas.dll.
>
> If you are asking about swapping that out for an optimized BLAS, you will
> probably have to:
>
>  1. Obtain and build an optimized BLAS such as ATLAS, Goto BLAS or Intel
> MKL
>
>  2. Build your own copy of R from source that links against this new blas.
>
> If there is a simpler way, I'm sure someone will correct me.

All you need is a copy of Rblas.dll containing the BLAS you wish to 
use.  You do not need to rebuild anything else in R.  Some (not 
recent) such Rblas.dll are made available: see the R for Windows 
documentation.  In addition, Ei-ji Nakama has posted (on this list) 
how to use the Goto BLAS on x64 Windows.

>
>
> -----
> Charlie Sharpsteen
> Undergraduate-- Environmental Resources Engineering
> Humboldt State University
> --
> View this message in context: http://r.789695.n4.nabble.com/matrix-multiplication-speed-R-tp3217257p3510979.html
> Sent from the R devel mailing list archive at Nabble.com.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] matrix multiplication speed R
Prof Brian Ripley