Displaying 7 results from an estimated 7 matches for "gmlfun".
2019 Sep 12
0
Fw: Calling a LAPACK subroutine from R
Hi guys,
interestingly, my problem seems to be solved by writing a FORTRAN
wrapper for the Fortran code! (As long as the check doesn't get
smarter...). This is the relevant part of my Fortran code:
-----------------------------------------------------------
subroutine gmlfun(what,
& totevent, totrs, ns,
& antrs, antevents, size,
& totsize, eventset, riskset,
& nn, antcov, covar, offset,
& beta, gamma,
& loglik, h1, h2, h11, h21, h22,
& score)
......
call gmlfun1(wh...
2019 Sep 11
4
Fw: Calling a LAPACK subroutine from R
Sorry for cross-posting, but I realized my question might be more appropriate for r-devel...
Thank you,
Giovanni
________________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of Giovanni Petris <gpetris at uark.edu>
Sent: Tuesday, September 10, 2019 16:44
To: r-help at r-project.org
Subject: [R] Calling a LAPACK subroutine from R
Hello R-helpers!
2019 Sep 11
4
Fw: Calling a LAPACK subroutine from R
Berend,
I do not think this works with gfortran 7+. I am calling the BLAS
subroutine dgemv from Fortran code in my package eha, and the check
(with R-devel) gives:
gmlfun.f:223:1: warning: type of ?dgemv? does not match original
declaration [-Wlto-type-mismatch]
& score, ione)
^
/home/gobr0002/R/src/R-devel/include/R_ext/BLAS.h:107:1: note: type
mismatch in parameter 12
F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
Type of a Fo...
2019 Sep 12
1
Calling a LAPACK subroutine from R
...11 Sep 2019, at 22:07, G?ran Brostr?m <goran.brostrom at umu.se> wrote:
>>
>> Berend,
>>
>> I do not think this works with gfortran 7+. I am calling the BLAS subroutine dgemv from Fortran code in my package eha, and the check (with R-devel) gives:
>>
>> gmlfun.f:223:1: warning: type of ?dgemv? does not match original declaration [-Wlto-type-mismatch]
>> & score, ione)
>> ^
>> /home/gobr0002/R/src/R-devel/include/R_ext/BLAS.h:107:1: note: type mismatch in parameter 12
>> F77_NAME(dgemv)(const char *trans, const int *m,...
2019 Sep 11
1
Fw: Calling a LAPACK subroutine from R
...strom at umu.se
> <mailto:goran.brostrom at umu.se>> wrote:
>
> Berend,
>
> I do not think this works with gfortran 7+. I am calling the BLAS
> subroutine dgemv from Fortran code in my package eha, and the check
> (with R-devel) gives:
>
> gmlfun.f:223:1: warning: type of ?dgemv? does not match original
> declaration [-Wlto-type-mismatch]
> ? ? ? ?&? ? ?score, ione)
> ? ^
> /home/gobr0002/R/src/R-devel/include/R_ext/BLAS.h:107:1: note: type
> mismatch in parameter 12
> ? F77_NAME(dgemv)(const...
2019 Sep 12
0
Calling a LAPACK subroutine from R
...macOS.
Berend
> On 11 Sep 2019, at 22:07, G?ran Brostr?m <goran.brostrom at umu.se> wrote:
>
> Berend,
>
> I do not think this works with gfortran 7+. I am calling the BLAS subroutine dgemv from Fortran code in my package eha, and the check (with R-devel) gives:
>
> gmlfun.f:223:1: warning: type of ?dgemv? does not match original declaration [-Wlto-type-mismatch]
> & score, ione)
> ^
> /home/gobr0002/R/src/R-devel/include/R_ext/BLAS.h:107:1: note: type mismatch in parameter 12
> F77_NAME(dgemv)(const char *trans, const int *m, const int *n,
&...
2019 Sep 11
0
Fw: Calling a LAPACK subroutine from R
...ectly.
Avi
On Wed, Sep 11, 2019 at 4:08 PM G?ran Brostr?m <goran.brostrom at umu.se>
wrote:
> Berend,
>
> I do not think this works with gfortran 7+. I am calling the BLAS
> subroutine dgemv from Fortran code in my package eha, and the check
> (with R-devel) gives:
>
> gmlfun.f:223:1: warning: type of ?dgemv? does not match original
> declaration [-Wlto-type-mismatch]
> & score, ione)
> ^
> /home/gobr0002/R/src/R-devel/include/R_ext/BLAS.h:107:1: note: type
> mismatch in parameter 12
> F77_NAME(dgemv)(const char *trans, const int *m,...