compilation error

[BE] Ufuk Utku Turuncoglu turuncu at be.itu.edu.tr
Tue May 1 00:34:58 MDT 2007


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



More information about the netcdfgroup mailing list