Re: [Rd] R and ATLAS and distributing across boxes

From: Dirk Eddelbuettel <edd_at_debian.org>
Date: Thu, 10 Mar 2011 07:46:10 -0600

On 9 March 2011 at 14:34, Adam D. I. Kramer wrote:
| If I have a cluster of heterogenous machines, each with their own
| self-optimized ATLAS, do I need to compile R on each machine to tell it to
| take advantage of the local ATLAS? Or is it sufficient to compile R once
| with the appropriate --with-blas and --with-lapack flags, and then trust
| that, once installed on a certain box, R will look in the right place and
| find and use the local library?

Correct. Shared libraries, well-defined interfaces, hence plug-and-play.

| Or will I need to recompile R on each box?

No. If they all have libblas and liblapack somewhere were ld.so finds them you should be fine/  

| Googling around has shown me how to have R use ATLAS instead of
| native BLAS, but none of them note whether changing the BLAS library out
| from under an R binary will change the code that R executes.

Blas etc use is discussed in Appendix A.3 Linear algebra of the R Installation and Administration manual.

Dirk

-- 
Dirk Eddelbuettel | edd@debian.org | http://dirk.eddelbuettel.com

______________________________________________
R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Received on Thu 10 Mar 2011 - 13:48:48 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 10 Mar 2011 - 15:50:29 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive