Re: [Rd] boneheaded BLAS questions

2021-03-18 Thread Ben Bolker
For what it's worth I eventually got it to build in a hacky way (had to add -lopenblaslib manually). FWIW I *did* RTFM, several times, but for whatever reason the standard recipes are not working for me ... thanks! Ben Bolker On 3/18/21 7:52 AM, Dirk Eddelbuettel wrote: On 18 March

Re: [Rd] boneheaded BLAS questions

2021-03-18 Thread Dirk Eddelbuettel
On 18 March 2021 at 09:15, Tomas Kalibera wrote: | This is documented in R Admin manual, section A.3, and there is also | "configure --help". | | On my Ubuntu 20.04, using "--with-blas --with-lapack" when a BLAS/LAPACK | implementation is installed via "apt" works for me: | | with libblas3, l

Re: [Rd] boneheaded BLAS questions

2021-03-18 Thread Iñaki Ucar
On Thu, 18 Mar 2021 at 05:10, Dirk Eddelbuettel wrote: > > > On 17 March 2021 at 22:53, Ben Bolker wrote: > |Thanks. I know it's supposed to Just Work (and I definitely > | appreciate all the work that's gone into making it Just Work 99% of the > | time!). > > And for what it is worth, the af

Re: [Rd] boneheaded BLAS questions

2021-03-18 Thread Tomas Kalibera
On 3/18/21 9:15 AM, Tomas Kalibera wrote: On 3/18/21 3:53 AM, Ben Bolker wrote: Thanks.  I know it's supposed to Just Work (and I definitely appreciate all the work that's gone into making it Just Work 99% of the time!).   I tried --with-lapack, no joy.   Will try to decipher the rules file t

Re: [Rd] boneheaded BLAS questions

2021-03-18 Thread Tomas Kalibera
On 3/18/21 3:53 AM, Ben Bolker wrote: Thanks.  I know it's supposed to Just Work (and I definitely appreciate all the work that's gone into making it Just Work 99% of the time!).   I tried --with-lapack, no joy.   Will try to decipher the rules file tomorrow ... This is documented in R Admin

Re: [Rd] boneheaded BLAS questions

2021-03-17 Thread Dirk Eddelbuettel
On 17 March 2021 at 22:53, Ben Bolker wrote: |Thanks. I know it's supposed to Just Work (and I definitely | appreciate all the work that's gone into making it Just Work 99% of the | time!). And for what it is worth, the aforementioned 'switching from within' solution is using FlexiBLAS (n

Re: [Rd] boneheaded BLAS questions

2021-03-17 Thread Simon Urbanek
Ben, possibly useful project related to this https://github.com/staticfloat/libblastrampoline which is what Dirk referred to as the Julia state of art. It is actually much more complex than it sounds because of differences in naming and ABI between BLAS implementations, so simple switches don't

Re: [Rd] boneheaded BLAS questions

2021-03-17 Thread Ben Bolker
Thanks. I know it's supposed to Just Work (and I definitely appreciate all the work that's gone into making it Just Work 99% of the time!). I tried --with-lapack, no joy. Will try to decipher the rules file tomorrow ... cheers Ben On 3/17/21 10:25 PM, Dirk Eddelbuettel wrote: B

Re: [Rd] boneheaded BLAS questions

2021-03-17 Thread Dirk Eddelbuettel
Ben, This stuff has worked unchanged since the 1990s when we had a _really_ far sighted fellow in Debian come up with the 'switch the links' scheme which was (and is) subsequently deployed by many numerical applications within Debian, R and e.g. Octave included. And I used this ability to switc

[Rd] boneheaded BLAS questions

2021-03-17 Thread Ben Bolker
I've been going around in circles trying to get BLAS-switching working on a current r-devel, I'm sure I'm doing something dumb. Any ideas about what I might be doing wrong, or suggestions for further diagnosis, would be welcome! tl;dr I am compiling R-devel with (to the best of my knowle