Re: [Rd] unable to load

From: Hiroyuki Kawakatsu <>
Date: Fri 29 Sep 2006 - 07:46:32 GMT

On 9/28/06, Prof Brian Ripley <> wrote:

>> I'm having problems using ACML with R. I made two changes in
>> by setting
>> LDFLAGS="-L/opt/acml3.1.0/gnu64/lib"
>> BLAS_LIBS="-lacml"
>That's not how the R-admin manual describes how to do this.
>Please try the way it does describe

After re-reading appendix A2.2, I still don't see what I am doing wrong. The comments in say

## Use LAPACK_LIBS for all '-L' and '-l' options needed for linking
## against an external LAPACK implementation.
## Note that (see R-admin) that our main intention is to allow a
## LAPACK-containing BLAS to be used, so this is rarely needed, and
## it is not used if the BLAS already contains LAPACK.
so I don't need to set LAPACK_LIBS as the acml BLAS already contains LAPACK?

> I am a bit puzzled: currently ACML is only available for Linux, Solaris
> and Windows, so where did you find a FreeBSD version?

I didn't; but see

> Apparently Is it there (in R_HOME/lib)?

erdos# ls -l /usr/local/R-patched/lib
total 1808
-rwxr-xr-x 1 root 30 1832001 Sep 29 07:08*

> (and please try 2.4.0 RC rather than an old patched version of 2.3.1).

Ah, when I tried R-rc, I found what I was doing wrong: the copy of R in /usr/local/bin/R was not updated from R_HOME/bin/R

For R-rc with the same two changes in, the build passes make check (except for internet.R as I am behind a firewall and set http_proxy in .Renviron which appears to be ignored by make check). But in lib/ I now have

erdos# ls -l /usr/local/R-rc/lib/
total 2112
-rwxr-xr-x 1 root 506 289732 Sep 29 07:52* -rwxr-xr-x 1 root 506 1831697 Sep 29 07:57*

Does this mean that the acml BLAS is not being used?

> version

platform       x86_64-unknown-freebsd6.1
arch           x86_64
os             freebsd6.1
system         x86_64, freebsd6.1
status         RC
major          2
minor          4.0
year           2006
month          09
day            27
svn rev        39543
language       R

version.string R version 2.4.0 RC (2006-09-27 r39543)


Hiroyuki Kawakatsu
Business School
Dublin City University
Dublin 9, Ireland
Tel +353 (0)1 700 7496

______________________________________________ mailing list
Received on Fri Sep 29 17:51:06 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 29 Sep 2006 - 08:30:09 GMT.

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