Skip to content
Prev 1776 / 3656 Next

Accessto OpenBLAS

On 02/14/2012 04:56 PM, Scott Raynaud wrote:
Scott,

There used to be a good post about this on a blog, but the blog has gone 
under.  Luckily, I was able to salvage the post from Google cache.  Here 
is the relevant part:

     Copy the resulting .so shared object library file 
(libgoto2_penrynp-r1.12.so on my machine) to /usr/lib
     The original BLAS library located there is called libblas.so.3gf.0. 
  Back this file up:  cp libblas.so.3gf.0  libblas.so.3gf.0.keep
     Make a symbolic link to the new BLAS library:
     ln -s libgoto2_penrynp-r1.12.so libblas.so.3gf.0

Basically, you need to make sure that the file "libblas.so.3gf.0" links 
to the location of your lib.  I would find a benchmark file 
(http://r.research.att.com/benchmarks/) to test R before and after 
creating the link, just to make sure it is working.

Hope this helps,
Michael


  _______________________________________________