[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fwd: Re: Support for DODS and >2GB netCDF files in the same Ferret executable]
- Subject: Re: [Fwd: Re: Support for DODS and >2GB netCDF files in the same Ferret executable]
- Date: Thu, 19 Sep 2002 12:49:15 -0600
Hans Vahlenkamp <address@hidden> wrote:
> ... As you probably know, the
> NDEBUG macro is needed to enable proper support for >2GB files when
> compiling the netCDF library.
It's true that you can avoid the assertion bug that prevents support
for files larger than 2GB by compiling the whole netCDF library with
the -DNDEBUG flag, but you can also just compile the file
libsrc/posixio.c with -DNDEBUG, or you can do either of the following
instead:
- delete the erroneous assertion
assert(offset < X_INT_MAX); /* sanity check */
on line 277 of libsrc/posixio.c in netCDF 3.5.0, or
- build from the latest beta test version of netCDF available from
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-beta.tar.Z
--Russ
_____________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden http://www.unidata.ucar.edu