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

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

2019-09-12 Thread Martin Maechler
> 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 the past".) [as there wasn't a reply ti

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

2019-09-11 Thread Göran Broström
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 the past".) And if yes, how? Documentation describes calls from C to Fortran and vice versa, but not this situation (AFAICS). Ye

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

2019-09-01 Thread Göran Broström
On 2019-08-31 18:47, Göran Broström wrote: I'm having difficulties updating my package eha: When I run standard checks 'at home' everything is fine, but 'CRAN-submissions' reports (among other things): geomsup.f:324:9: warning: type of ‘dgemv’ does not match original declaration [-Wlto-typ

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

2019-09-01 Thread Göran Broström
On 2019-08-31 21:26, Duncan Murdoch wrote: On 31/08/2019 12:47 p.m., Göran Broström wrote: I'm having difficulties updating my package eha: When I run standard checks 'at home' everything is fine, but 'CRAN-submissions' reports (among other things): geomsup.f:324:9: warning: type of ‘dgemv’

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

2019-08-31 Thread Duncan Murdoch
On 31/08/2019 12:47 p.m., Göran Broström wrote: I'm having difficulties updating my package eha: When I run standard checks 'at home' everything is fine, but 'CRAN-submissions' reports (among other things): geomsup.f:324:9: warning: type of ‘dgemv’ does not match original declaration [-Wlto-type