Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Ed, Thanks a lot. That problem is fixed now after linking to the correct lib. I'm using netCDF-3.6.2 simply for historical reason. Probably I'll upgrade it. Thanks though. Cheers Hongyan On Fri, Aug 5, 2011 at 11:44 AM, Ed Hartnett <ed@xxxxxxxxxxxxxxxx> wrote: > "H.Dang" <danghy@xxxxxxxxx> writes: > > > Hi dear all, > > > > I'm using netCDF-3.6.2, when I compile my FORTRAN code, I got bunch of > > errors like this: > > > > ./nc_read_chk1.f90:21: undefined reference to `netcdf_nf90_inq_varid_' > > ./nc_read_chk1.f90:21: undefined reference to > > `netcdf_nf90_get_var_3d_fourbytereal_' > > ..... > > > > I have "use netcdf" in nc_read_chk1.f90, and I've set the netcdf path in > > environment too. So what could be the reason for this mistake? Thanks a > > lot. > > > > -- > > Cordially, > > Hongyan(¸é› ) > > Tel: 1-519-8884567ext36667 > > _______________________________________________ > > netcdfgroup mailing list > > netcdfgroup@xxxxxxxxxxxxxxxx > > For list information or to unsubscribe, visit: > > http://www.unidata.ucar.edu/mailing_lists/ > > I don't know why the reference would be to netcdf_nf90_..., the > functions are just nf90_... (without the "netcdf_" in front). > > Also, 3.6.2 is a very, very old release. Please upgrade to the 4.1.3 > release to get important bug fixes. If you don't wish to use the > netCDF-4/HDF5 features, run configure with --disable-netcdf-4. > > Good luck! > > Ed > > -- > Ed Hartnett -- ed@xxxxxxxxxxxxxxxx > -- Cordially, Hongyan(鸿雁) Tel: 1-519-8884567ext36667
netcdfgroup
archives: