Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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
==============================================================================


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690