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 Momme, On Jun 29, 2008, at 1:00 PM, netcdfgroup-request@xxxxxxxxxxxxxxxx wrote:
Date: Sun, 29 Jun 2008 16:20:55 +0100 From: Momme Butensch?n <mommebu@xxxxxxxx> Subject: [netcdfgroup] problems with compilation: H5DS routines undefined To: netcdfgroup@xxxxxxxxxxxxxxxx Message-ID: <4867A857.4020306@xxxxxxxx> Content-Type: text/plain; charset=ISO-8859-1; format=flowedWhen compiling a program linking with netcdf4, hdf5 I get the followingerror: ifort -r8 -O2 -o ../../../bin/opa model.o ../../../lib/oce/libopa.a .../../../lib/libioipsl.a -L/opt/netCDF-4/lib -lnetcdff -lnetcdf -L/opt/hdf5/lib -lhdf5/opt/netCDF-4/lib/libnetcdf.so: undefined reference to `H5DSget_num_scales'/opt/netCDF-4/lib/libnetcdf.so: undefined reference to `H5DSset_scale' /opt/netCDF-4/lib/libnetcdf.so: undefined reference to `H5DSis_scale'/opt/netCDF-4/lib/libnetcdf.so: undefined reference to `H5DSiterate_scales' /opt/netCDF-4/lib/libnetcdf.so: undefined reference to `H5DSget_scale_name' /opt/netCDF-4/lib/libnetcdf.so: undefined reference to `H5DSattach_scale' /opt/netCDF-4/lib/libnetcdf.so: undefined reference to `H5DSdetach_scale'gmake[1]: *** [../../../bin/opa] Error 1 nm of libnetcdf.a and libnetcdf.so gives U H5DSget_num_scales Any ideas what's going wrong?
Hmm, are you compiling against an older version of the HDF5 library (i.e. not the 1.8.1 or later that the netCDF-4 release wants), or one that was built with the "--disable-hl" configure flag?
Quincey
netcdfgroup
archives: