Re: compilation error

Hi,

try to add following lines into compile command,

-L/share/dam/packages/netcdf-3.6.0-p1/x86_64/lib -lnetcdf

or, just add

/share/dam/packages/netcdf-3.6.0-p1/x86_64/lib/libnetcdf.a

i hope this solve your problem.
best wishes,

Ufuk Utku Turuncoglu
ITU, Informatics Institute
Computational Science and Engineering Programme

Battalgazi Yildirim wrote:

Hi,

I am trying to use compile simple f90 file as follows

g95 -c -I/share/dam/packages/netcdf-3.6.0-p1/x86_64/include test.f90
Fatal Error: While reading module 'netcdf' found module version 0, expected 3.


my test.f90 is very simple file just includeing the following lines

test.f90:

program test

use netcdf
implicit none


end program test



do you have any idea what it is wrong?


thanks,






==============================================================================
To unsubscribe netcdfgroup, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: