Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

dislin

Status
Not open for further replies.

eneaviviani

Technical User
Dec 24, 2008
5
IT
hi

I'm new on fortran (i've always use matlab) and i've tried to use dislin with g95 compiler on windows xp

In the readme file say to run the program in this way :

>>g95link -a exa_f90

in the folder dislin\examples

But when i launch this comand i receive:

"'g95link' is not recognised as an internal or external command ,operable program or batch file."

If i launch >>g95 exa_f90.f90 it says:
"Fatal error: Can't open module file 'dislin.mod' at (1) for reading: No such file or directoriy

Any suggestion??

thanks
enea



 
Somewhere in the dislin distrubution you will find files like dislin.mod and exa.mod. These need to be linked in with your program. There are several ways of doing this.

1) Copy the .mod, .lib and .dll files to the example directories and relink
2) On the command line add -I followed by the directory containing the .mod files and -L followed by the directory containing the .lib/.dll files
 
ok xwb thanks for your help!!

in the dislin folder i've found some file .mod and .dll but not .lib

I put this file in folder examples and the promt says:

"Fatal Error: While reading module 'dislin' found module version 2, expected 8.

enea
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top