I'm trying to call:
From the Fortran 95 interface but I always get a message of:
Description Resource Path Location Type
error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90 FORGATRAN/src line 12 C/C++ Problem
My full code is:
It compile when I comment ''call gemv(A, B)"
I'm using
Ubuntu + Eclipse + Photran
[cpp]call gemv(a, x, y [,alpha][,beta] [,trans])[/cpp]
From the Fortran 95 interface but I always get a message of:
Description Resource Path Location Type
error #6285: There is no matching specific subroutine for this generic subroutine call. [GEMV] main.f90 FORGATRAN/src line 12 C/C++ Problem
My full code is:
[cpp]PROGRAM main use mkl95_blas IMPLICIT NONE INTEGER :: A(3, 3), B(3, 1) integer :: xA, yA, xB, yB xA = 3 yA = 3 xB = 3 yB = 1 call gemv(A, B) END PROGRAM[/cpp]
It compile when I comment ''call gemv(A, B)"
I'm using
Ubuntu + Eclipse + Photran
連結已複製
2 回應
This question may get more attention on the MKL Fortran. However, the documentation for optional arguments is not to be taken literally. If you use all 6 possible arguments, simply list them in ordinary style without square brackets. If you use less than 6, but skip one or more, you must specify the keywords for any after a skip, no square brackets, e.g. gemv(A,B,Y,TRANS=yourtrans) (but I didn't test this). It all follows f90 rules, no different special magic.
