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.
On 04/03/2011 05:46 AM, Roy Mendelssohn wrote:
1. Give the commandnc-config --includedir
[...] As the problem is at link phase, try to use: `nc-config --flibs`instead of "-L/usr/local/netcdf/lib -lnetcdf -L/usr/local/hdf5/lib -lhdf5_hl -lhdf5 -lz -lcurl"
I am guessing netcdf was built as dynamic lib and has fortran interface separated from C one in a separate libnetcdff.x. On my Linux box I have to link both libnetcdf AND libnetcdff:
-L/usr/lib -lnetcdff -lnetcdfHave a look also at Ed Harnett e-mail on the list on 28/03: this is going to change in the future.
Ciao! Graziano.
netcdfgroup
archives: