Hello. I know almost nothing about Linux, so I apologize if the answer to
this is obvious.

I am trying to compile R with ATLAS (successfully compiled 3.9.24 on Ubuntu
10.04 64 bit). I configured with:

./configure --enable-R-shlib --enable-BLAS-shlib
--with-blas="-L/usr/local/atlas/lib -lf77blas -latlas"
--with-lapack="-L/usr/local/atlaslib -llapack -lcblas" --with-x

and I get this error (from config.log):

configure:28566: checking for dgemm_ in -L/usr/local/atlas/lib -lf77blas
-latlas
configure:28587: gcc -std=gnu99 -o conftest -g -O2 -fpic
-I/usr/local/include  -L/usr/local/lib64 conftest.c -L/usr/local/atlas/lib
-lf77blas -latlas  -lgfortran -lm -ldl -lm  >&5
conftest.c: In function 'main':
conftest.c:193: warning: implicit declaration of function 'dgemm_'
/usr/local/atlas/lib/libf77blas.so: undefined reference to
`atl_f77wrap_zger2u_'
/usr/local/atlas/lib/libf77blas.so: undefined reference to
`atl_f77wrap_cger2c_'
/usr/local/atlas/lib/libf77blas.so: undefined reference to
`atl_f77wrap_zger2c_'
/usr/local/atlas/lib/libf77blas.so: undefined reference to
`atl_f77wrap_cger2u_'
collect2: ld returned 1 exit status
configure:28587: $? = 1

I found the following e-mail in the archives <
http://www.mail-archive.com/r-devel@r-project.org/msg16853.html>, but it has
a different error, and the suggestion of switching out the BLAS later does
not seem to apply to ATLAS which requires two files, I think.

Any advice would be very appreciated.

Thank you.

        [[alternative HTML version deleted]]

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to