From ripley at stats.ox.ac.uk  Wed Dec 14 15:43:56 2005
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Wed, 14 Dec 2005 14:43:56 +0000 (GMT)
Subject: [Rd] Building R-devel with ACML
In-Reply-To: <43A029DB.9090709@jhsph.edu>
References: <43A029DB.9090709@jhsph.edu>
Message-ID: <Pine.LNX.4.61.0512141440430.2917@gannet.stats>

On Wed, 14 Dec 2005, Roger Peng wrote:

> I'm trying to build R-devel with AMD's ACML.  I downloaded version 3.0.0
> 64bit for gfortran (acml-3-0-0-gfortran-64bit.tgz) and copied the
> libraries to /usr/local/lib.  When I configure R to build against the
> ACML library, how do I know if the library has been detected and will be
> used?

Look at the end of the output (will say BLAS(generic)) and at BLAS_LIBS in 
Makeconf.

> I run 'configure' with the '--with-blas=-lacml' flag and am using gcc
> 4.0.2 (with gfortran) on FC4.

On my such system with --with-lapack I got

   External libraries:        readline, BLAS(generic), LAPACK(in blas)

BLAS_LIBS = -L/usr/local/acml/gnu64/lib -lacml

-- 
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] Building R-devel with ACML
Prof Brian Ripley