Re: [R-pkg-devel] R, BLAS, and FCLEN (solved, really!)

2019-09-13 Thread Göran Broström
On 2019-09-13 12:34, Göran Broström wrote: Dear Tomas, your explanation matches exactly my expectation, but not my experience. I uploaded (to CRAN) version 2.7.5 yesterday, and there I use, in  the Fortran function gmlfun, directly called by .Fortran:   call cdgemv(trans, nn, antcov,

Re: [R-pkg-devel] R, BLAS, and FCLEN (solved)

2019-09-13 Thread Göran Broström
Dear Tomas, your explanation matches exactly my expectation, but not my experience. I uploaded (to CRAN) version 2.7.5 yesterday, and there I use, in the Fortran function gmlfun, directly called by .Fortran: call cdgemv(trans, nn, antcov, one, covar, nn, beta, ione, one, & sco

Re: [R-pkg-devel] R, BLAS, and FCLEN (solved)

2019-09-13 Thread Tomas Kalibera
Dear Göran, I can reproduce the problem with eha version 2.6.0. The reason for the type mismatch, and hence the LTO warning, is _not_ the calls to dgemv from Fortran code, but the calls to dgemv from the C code from the other source files in your package. There is no need to go through wrapper

Re: [R-pkg-devel] R, BLAS, and FCLEN (solved)

2019-09-12 Thread Göran Broström
On 2019-09-12 09:13, Martin Maechler wrote: Göran Broström on Wed, 11 Sep 2019 13:36:40 +0200 writes: > A followup question: Is it possible to call a BLAS/LAPACK subroutine, > where one parameter is character, from FORTRAN (77) code called by > .Fortran? (No problem "in t