[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #IPS-168243]: Error Message: "netcdf: 65536 is not a valid cdfid"



Sean,

> When we follow the suggested procedure, we still get the error listed in
> the subject line.  Are there other possible conflicts that I¹m missing?

We can't duplicate the symptom you're seeing.

After rebuilding HDF4 with the "--disable-netcdf" option to configure and
reinstalling it, then rebuilding the netCDF-C library with 

    --enable-hdf4 --enable-hdf4-file-tests

and CPPFLAGS and LDFLAGS set to point to where HDF4 was installed, did
you run "make check"?  

If that completed successfully, then it ran lots of tests that included 
accessing 
the HDF4 library as well as all the netCDF-C functions.  If that didn't work, 
you should delay running "make install" until "make check" works first. 

Also, make sure you're actually linking the application that isn't working with
the newly-installed netCDF-C library, not a previously installed library. If 
things still aren't working, please send us a copy of your config.log generated
by running the configure script for netCDF-C and the output from "make check"
for netCDF-C.

--Russ

> ==========================================
> Sean Crowell
> Research Scientist
> School of Meteorology
> College of Atmospheric and Geographic Sciences
> University of Oklahoma
> Office: National Weather Center 3236

> On 8/11/15, 5:07 PM, "Unidata netCDF Support"
> <address@hidden> wrote:
> 
> >Hi Sean,
> >
> >> Organization: University of Oklahoma
> >> Package Version: 4.3.3.1
> >> Operating System: Unix
> >> Hardware:
> >> Description of problem: I am running an application that is using
> >>NetCDF4, HDF4 and HDF5.  We recently recompiled these libraries to
> >>remove an optimization that was causing us problems, and now we are
> >>getting the error message ""netcdf: 65536 is not a valid cdfid".  I
> >>found this old thread:
> >>
> >>
> >>https://www.unidata.ucar.edu/support/help/MailArchives/netcdf/msg09788.ht
> >>ml
> >>
> >> and have made sure that HDF4 is compiled using the -DHAVE_NETCDF flag,
> >>to no avail.  Can you help me figure out what compiler flags I'm
> >>missing, in order to get NetCDF and HDF4 to get along?  Thanks!
> >
> >I think that old thread is no longer valid for current versions of HDFD4.
> >Instead,
> >you must build the HDF4 library with the configure option
> >"--disable-netcdf".  See the
> >complete instructions here:
> >
> >
> >http://www.unidata.ucar.edu/netcdf/docs/getting_and_building_netcdf.html#b
> >uild_hdf4
> >
> >We'll try to get that old thread removed from our support archives.
> >
> >--Russ
> >
> >
> >
> >
> >Russ Rew                                         UCAR Unidata Program
> >address@hidden                      http://www.unidata.ucar.edu
> >
> >
> >
> >Ticket Details
> >===================
> >Ticket ID: IPS-168243
> >Department: Support netCDF
> >Priority: Normal
> >
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: IPS-168243
Department: Support netCDF
Priority: Normal
Status: Closed