From ripley at stats.ox.ac.uk  Wed Jul 20 22:54:53 2011
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 20 Jul 2011 21:54:53 +0100 (BST)
Subject: [Rd] Compiling R-2.13.1 with MKL in windows 7 64bit
In-Reply-To: <A922F564-61E7-4C4D-801A-DADFF1701DBF@r-project.org>
References: <CAG-dEyboq7Yn0mvb6mdYSheq02sO4GQt3DPZpuHctCFLo7FTFQ@mail.gmail.com>
	<4E272611.7030308@gmail.com>
	<A922F564-61E7-4C4D-801A-DADFF1701DBF@r-project.org>
Message-ID: <alpine.LFD.2.02.1107202147240.26703@gannet.stats.ox.ac.uk>

On Wed, 20 Jul 2011, Simon Urbanek wrote:

>
> On Jul 20, 2011, at 3:01 PM, Duncan Murdoch wrote:
>
>> On 20/07/2011 10:40 AM, WADA Kazuya wrote:
>>> Hi
>>>
>>>  I don't know how to complie R-2.13.1 with MKL in windows 7 64bit.
>>>
>>>  I can compile normal R in windows using Rtools under R-admin.html description.
>>>  but, this way doesn't use ./configure file.(use MkRules.local file as
>>> setting.).
>>>  In 'R-admin.html' description, use ./configure --with-blas="$MKL" in
>>>  which case with MKL compile.
>>>  But, There is no description when I use MkRules.local setting file.
>>>  So, I don't understand what I could describe in MkRules.local file in
>>>  case of compile R-2.13.1 with MKL in windows.
>>>
>>>  Does anyone know how to complie R with MKL in windows?
>>
>>
>> The Windows make files assume you're using MinGW.  If you're not using that compiler, you're on your own.
>>
>
> I think the questions was about MKL BLAS with MinGW.
>
> WADA, see Windows FAQ 8.2 - in general, you don't need to compile R 
> against a particular BLAS - you just use shared BLAS and put your 
> favorite BLAS implementation (like MKL) instead of Rblas.dll. The 
> instructions you quote are not for you - they are for unix. I did 
> not use MKL on Windows myself (my tests on OSX indicated that it's 
> slower than ATALS and thus not worth the hassle), so you'll have to 
> try it for yourself.

Yes, I think that was the question, and I have used MKL.  But its use 
on Windows is a pain (it took my staff man-days to get the license 
manager to work), and I would suggest using the Goto BLAS instead: 
instructions are in the current R documentation (the rw-FAQ AFAIR).

>
> Cheers,
> Simon
>
> ______________________________________________
> 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] Compiling R-2.13.1 with MKL in windows 7 64bit
Prof Brian Ripley