ATLAS
Thanks to Jason Turner and Brian Ripley for the quick and informative responses to my query about the proper use of the '--with-blas' argument to the configure script. They have both indicated that as long as the libraries are in the library path, configure should find them. BR adds that the libraries needed are: libatlas.a, libcblas.a, and libf77blas.a. The original question was:
I thought I would try compiling R this time with the ATLAS libraries. I have compiled ATLAS and I have the following libraries: libatlas.a libf77blas.a libptcblas.a libtstatlas.a libcblas.a liblapack.a libptf77blas.a Is it sufficient to use ' --with-blas=libatlas.a ' when configuring or do I need to specify any of the other libraries as well?
Jason Turner replied:
Assuming you have a Un*x-like installation...
As long as the ATLAS libraries were put in a place they could be
easily found (usually /usr/local/lib), and ldconfig(8) has been run
since they were put there, the configure script should pick them
up automagically. I simply ran configure without options and
got...
(config.cache)
ac_cv_lib_atlas_ATL_xerbla=${ac_cv_lib_atlas_ATL_xerbla='yes'}
And Brian Ripley relplied:
If this is Unix(-alike) .... You need libatlas.a, libcblas.a, libf77blas.a, and you want to specify them as "-latlas -lcblas -lf77blas". *However* they need to be in your library path, and if they are, configure will find them. So just set the library path as needed (e.g. LIBS in config.site) rm config.cache ./configure make will make use of ATLAS. See the R-admin.html manual for more details.
William D. McCoy Geosciences University of Massachusetts Amherst, MA 01003 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._