This actual argument must be the name of a user subroutine or the name of intrinsic subroutine.

This actual argument must be the name of a user subroutine or the name of intrinsic subroutine.

milenko@milenkons:~/fcm10/bcg2$ ifort -c mvm.f90
mvm.f90(33): error #6636: This actual argument must be the name of a user subroutine or the name of intrinsic subroutine.   [MATVEC]
call bicgstab2 (okprint,l, n, x, rhs,matvec, nonzero, tol,typestop,mxmv, work, ldw, info)
-------------------------------------^
compilation aborted for mvm.f90 (code 1)

I have problem with external function,I am attaching the code.

AllegatoDimensione
Download mvm.f90567 byte
Download m1.f908.18 KB
Download m2.f90365 byte
3 post / 0 nuovi
Ultimo contenuto
Per informazioni complete sulle ottimizzazioni del compilatore, consultare l'Avviso sull'ottimizzazione

The message is pretty clear to me. In m2, you declare matvec as a function that returns an array. But in bicgstab2, you call the matvec argument as a subroutine, which is a conflict. These need to be consistent.

Steve - Intel Developer Support

Thanks Steve,I will try to fix this.

Lascia un commento

Eseguire l'accesso per aggiungere un commento. Non siete membri? Iscriviti oggi