From ripley at stats.ox.ac.uk  Sun May 13 11:24:42 2012
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Sun, 13 May 2012 10:24:42 +0100
Subject: [Rd] R Installation Manual - ATLAS BLAS guidance that is not in
 the current version
In-Reply-To: <93A2161604A30C4ABE14AC35CAFC8422B63CF2F4@USDFW11XM32.mercer.com>
References: <93A2161604A30C4ABE14AC35CAFC8422B63CF2F4@USDFW11XM32.mercer.com>
Message-ID: <4FAF7DDA.5010606@stats.ox.ac.uk>

On 09/05/2012 19:54, Adler, Avraham wrote:
> Good afternoon.
>
> I am trying to compile a version of Rblas.dll based on ATLAS for the
Corei7. I had remembered that there was mention of which file to adjust
and that "xerbla" needed to be removed from one of the outputs from the
last time I tried a few years ago. The most recent version of the R
Installation manual does not say anything about this. An older version
(2.10 I believe) has the following text:
>
>        Optionally, you can install a version of ATLAS
>        (`math-atlas.sourceforge.net'
>        (http://math-atlas.sourceforge.net/)) tuned to your system for
>        fast linear algebra routines. Pre-built `Rblas.dll' for various
>        Pentium and AthlonXP chips are available in the
>        `windows/contrib/ATLAS' area on CRAN.  If you are building R from
>        source, there are macros `USE_ATLAS' and `ATLAS_PATH' in the file
>        `MkRules'.  Set `USE_ATLAS = YES' and `ATLAS_PATH' to where the
>        ATLAS libraries are located.  You will need to make the libraries
>        yourself(1): none of the binaries we have seen are compiled for
>        the correct compiler.  Since R has its own `xerbla' it is best to
>        delete that in ATLAS by
>
>             ar d /path/to/libf77blas.a xerbla.o
>
> Would it be possible to restore the above information to the next version of the manual for future reference, please?

No, as this is no longer supported (and various attempts to make it work 
have failed with incorrect results/segfaults).

We do support the use of the legacy Goto BLAS these days (64-bit only, 
but anyone who cares about performance will be using 64-bit).

As you have found in another thread, avoid over-optimizing code: the 
risk of incorrect answers is serious and the performance gains small.

> Thank you,
>
> Avraham Adler
> ______________________________________________
> 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] R Installation Manual - ATLAS BLAS guidance that is not in the current version
Prof Brian Ripley