search for: libsatlas

Displaying 4 results from an estimated 4 matches for "libsatlas".

Did you mean: libatlas
2020 May 27
2
Changing the BLAS from openblas on a F32 box
Of course, even a simpler trick is to launch R as follows: LD_PRELOAD=/lib64/atlas/libsatlas.so.3 R and then the symbols in libsatlas take precedence over libopenblas. Or a mix between both alternatives, i.e., setting LD_PRELOAD=/path/to/some/link R and then change that link to point to openblas, atlas... Whatever suits you best. I?aki On Wed, 27 May 2020 at 11:00, I?aki Ucar <iuca...
2020 May 26
2
Changing the BLAS from openblas on a F32 box
Dear list, What is the recommended incantation on Fedora 32 to swap out the openblas BLAS that the packaged (rpm) version of R-core installs for ATLAS? I'm running into some problems with some big models I want to fit using the mgcv package, and openblas is apparently not thread safe and is causing problems. I have the following installed: $ dnf list installed | grep ^R R-core.x86_64
2020 May 27
0
Changing the BLAS from openblas on a F32 box
...ge GAMs we're trying to fit. But being able to switch to atlas temporarily is a good alternative. Cheers G On Wed, 27 May 2020 at 03:20, I?aki Ucar <iucar at fedoraproject.org> wrote: > > Of course, even a simpler trick is to launch R as follows: > > LD_PRELOAD=/lib64/atlas/libsatlas.so.3 R > > and then the symbols in libsatlas take precedence over libopenblas. Or > a mix between both alternatives, i.e., setting > > LD_PRELOAD=/path/to/some/link R > > and then change that link to point to openblas, atlas... Whatever > suits you best. > > I?aki >...
2020 May 27
0
Changing the BLAS from openblas on a F32 box
...es openblas-Rblas and links against system openblas, as you can see here: $ ldd /usr/lib64/R/bin/exec/R | grep blas libopenblas.so.0 => /lib64/libopenblas.so.0 (0x00007f8fff849000) So one simple trick to override that is something along these lines: $ mkdir ~/blas $ ln -s /lib64/atlas/libsatlas.so.3 ~/blas/libopenblas.so.0 $ LD_LIBRARY_PATH=~/blas ldd /usr/lib64/R/bin/exec/R | grep blas libopenblas.so.0 => /home/****/blas/libopenblas.so.0 (0x00007f78b3ea2000) As you can see, now R points to the link in my home, which in turn points to system's atlas. Now you can define an...