Intel® oneAPI Math Kernel Library
Ask questions and share information with other developers who use Intel® Math Kernel Library.
7047 Discussions

There is no matching specific subroutine for this generic subroutine call: oneAPI seems more fussy

Peter0000
New Contributor I
1,144 Views

 

In compiling some old code, I find oneAPI iFort is much stricter about interfaces e.g

error #6285: There is no matching specific subroutine for this generic subroutine call.   [GETRF]

 

USE F95_PRECISION

USE LAPACK95 

etc

REAL(DP)                    :: M(ng,ng)

INTEGER [,TARGET] :: indx(ng)

INTEGER                     :: info

etc

call GETRF(M,indx,info)

 

While many were fixed by simply changing "info" from INTEGER I4B (my past error)  to INTEGER, the above was not fixed.

Adding TARGET to indx did not help

0 Kudos
1 Solution
Peter0000
New Contributor I
1,132 Views

My apologies. While I have not found put why my legacy code fails to compile,  my attempts to replicate it the fault fail. It does not even care if TARGET is present.

o the attached works

I may leave the question open in case I learn anything when or if I find my issue.

View solution in original post

0 Kudos
3 Replies
Peter0000
New Contributor I
1,133 Views

My apologies. While I have not found put why my legacy code fails to compile,  my attempts to replicate it the fault fail. It does not even care if TARGET is present.

o the attached works

I may leave the question open in case I learn anything when or if I find my issue.

0 Kudos
Peter0000
New Contributor I
1,129 Views

Solved.  I had a link to an local copy of lapack95.f90,  an old "patch" to make MKL work.

Removing it fixes it.

0 Kudos
SantoshY_Intel
Moderator
1,116 Views

Hi,


Thank you for posting in Intel Communities.


Glad to know that your issue is resolved. If you need any additional information, please post a new question as this thread will no longer be monitored by Intel.


Thanks & Regards,

Santosh


0 Kudos
Reply