Quantcast
Channel: Posts recentes
Viewing all articles
Browse latest Browse all 10

Libraries

$
0
0
inglês

Hallo,
does anybody knows how to use libraries in fortran?
For example, I would like to use GMRES subprogram for solving linear system of equations. At the beginning I define:

extarnal gmres

and then somewhere in the program I call the subroutine:

call gmres(....)

But I cannot build .exe file because there is an error:

GMRES.obj : error LNK2001: unresolved external symbol _GMRES@28

Does anybody know what is the problem and how I am supose to include those external libraries?
I am using Visual Fortran 5.0


Viewing all articles
Browse latest Browse all 10


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>