- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Tim, I think the square brackets are from the documentation.
The documentation would appear to require that you pass at least three arguments, but you've passsed only two.
The documentation would appear to require that you pass at least three arguments, but you've passsed only two.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page