Does this binary of ATLAS also work on a Core 2 Duo cpu? Thanks. Huang
On Thu, Oct 21, 2010 at 9:39 AM, Simon Urbanek <simon.urba...@r-project.org>wrote: > On Oct 20, 2010, at 7:35 PM, Steven McKinney wrote: > > > I have R 2.11.1 installed (soon will update to R 2.12) and I appear to > have a Nehalem-based Mac Pro. > > > > I'm trying to find documentation about how to set up R on my Mac so I'm > using the ATLAS BLAS. > > > > Well, you have to get it [=ATLAS] first. Then it's as easy as pointing the > libRblas.dylib symlink to it. > > > I have a binary of ATLAS that you can use if you have Mac OS X 10.6 (Snow > Leopard) it's at > http://r.research.att.com/libatlas-MacPro.dylib > > So the copy/paste steps (you have to be admin) are: > > cd /Library/Frameworks/R.framework/Resources/lib > curl -O http://r.research.att.com/libatlas-MacPro.dylib > chmod a+x libatlas-MacPro.dylib > ln -sfn libatlas-MacPro.dylib libRblas.dylib > > > ## if you want to go back to vecLib > cd /Library/Frameworks/R.framework/Resources/lib > ln -sfn libRblas.vecLib.dylib libRblas.dylib > > ## if you want to use R's BLAS (not as fast but more reliable) > cd /Library/Frameworks/R.framework/Resources/lib > ln -sfn libRblas.0.dylib libRblas.dylib > > > > I installed this version of R using the Mac installer R-2.11.1.pkg. > > Does this installer set up R that uses the ATLAS BLAS, or are there > > additional steps I need to take to have R use the ATLAS BLAS? > > > > Once R is up and running, can anyone tell me how I can determine > > which BLAS R is using? > > > > Indirectly, just look at the output of > ls -l /Library/Frameworks/R.framework/Resources/lib/libRblas.dylib > > Cheers, > Simon > > > > > Any info appreciated. > > > > > > > >> sessionInfo() > > R version 2.11.1 (2010-05-31) > > x86_64-apple-darwin9.8.0 > > > > locale: > > [1] en_CA.UTF-8/en_CA.UTF-8/C/C/en_CA.UTF-8/en_CA.UTF-8 > > > > attached base packages: > > [1] stats graphics grDevices utils datasets methods base > > > > loaded via a namespace (and not attached): > > [1] tools_2.11.1 > > > > > > > > > > Steven McKinney > > > > _______________________________________________ > > R-SIG-Mac mailing list > > R-SIG-Mac@stat.math.ethz.ch > > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > > > > > > _______________________________________________ > R-SIG-Mac mailing list > R-SIG-Mac@stat.math.ethz.ch > https://stat.ethz.ch/mailman/listinfo/r-sig-mac > [[alternative HTML version deleted]] _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac