Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

[netcdfgroup] problems with compilation: H5DS routines undefined

When compiling a program linking with netcdf4, hdf5 I get the following error:

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?





 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690