NOTE: The netcdf-hdf
mailing list is no longer active. The list archives are made available for historical reasons.
hi ed, i'm curious whether there are any API which vtk can read the netcdf? furthermore, comparing to hdf5,what is the advantages of using netcdf?( is it because it can recognize hdf code?) thanks winthan On Thu, Jan 14, 2010 at 8:27 AM, Ed Hartnett <ed@xxxxxxxxxxxxxxxx> wrote: > winthan <keshunli@xxxxxxxxx> writes: > > > hi ed, > > ��������thanks ed. i got it compiled�by > setting�CPPFLAGS. i use the > > following information to configure the hdf src and netcdf src. > > hdf installation > > ------------------------ > > ./configure --enable-parallel > > --with-zlib=/apps/rhel5/graphics/x86_64/intel/11.1.038/szip/lib > > --prefix=/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/ --disable-f90 > > netcdf installation > > -------------------------- > > �./configure --enable-netcdf-4 > > --prefix=/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/netcdf-4.0.1 > > --with-hdf5=/usr/rmt_share/scratch95/w/wwinthan/pnetcdf/ --disable-f90 > > --with-zlib=/apps/rhel5/graphics/x86_64/intel/11.1.038/szip/lib > > � > > I got the following run-time error as follow > > � > > � > > ../utilities.cpp:(.text+0xf3d): undefined reference to `nc_create_par' > > ../utilities.cpp:(.text+0xf61): undefined reference to `nc_def_dim' > > ../utilities.cpp:(.text+0xf8b): undefined reference to `nc_def_dim' > > ../utilities.cpp:(.text+0xfba): undefined reference to `nc_def_var' > > ../utilities.cpp:(.text+0xfd2): undefined reference to `nc_enddef' > > ../utilities.cpp:(.text+0x110e): undefined reference to > > `nc_var_par_access' > > ../utilities.cpp:(.text+0x1140): undefined reference to > > `nc_put_vara_double' > > ../utilities.cpp:(.text+0x1158): undefined reference to `nc_close' > > thanks > > winthan > > Howdy! > > Try configuring with --disable-cxx to turn of the c++ api. > > I also note that you seen to be pointing --with-zlib= at an szlib > library. Make sure it points to a directory in which netCDF can find > lib/libz.a. > > Thanks, > > Ed > -- > Ed Hartnett -- ed@xxxxxxxxxxxxxxxx >
netcdf-hdf
archives: