writing large variables

Rob Latham robl at mcs.anl.gov
Wed Jan 16 08:57:05 CST 2013


On Wed, Jan 16, 2013 at 08:54:25AM -0600, Rob Latham wrote:
> On Tue, Jan 15, 2013 at 05:09:05PM -0700, John Clyne wrote:
> > Is it possible to write a large variable (>4GB) to a file with pnetcdf and read back the variable from the resulting file with netCDF? Outputting a large variable with pnetcdf appears to require passing the NC_64BIT_DATA flag (not NC_64BIT_OFFSET) to nc_create_par() - without this flag an error is generated. The file is written successfully, but when NC_64BIT_DATA is used the file is unrecognized by netcdf. For example:
> > 
> > yslogin2[43] ncdump -h vx.0000.nc0
> > ncdump: vx.0000.nc0: NetCDF: Unknown file format
> > 
> > From what I can gather from the web the NC_64BIT_DATA results in the generation of a CDF-5 formatted file. Is there support for CDF-5 in netCDF, or any other options for mixing pnetcdf and netCDF?
> 
> Hi John:  the short answer is there is no "unidata netCDF" support for
> pnetcdf's CDF-5 (giant variables) file format.  

OH! don't forget you can run pnetcdf in serial.  I suspect you must
have some serial-netcdf analysis tools, though...

==rob


-- 
Rob Latham
Mathematics and Computer Science Division
Argonne National Lab, IL USA


More information about the parallel-netcdf mailing list