MAINT: Switched NetCDF from 64BIT_OFFSET to 64BIT_DATA which can handle frames (of unlimited dimension) > 2 GB. This becomes important for system sizes 100 Mio atoms and upwards.

This commit is contained in:
Lars Pastewka 2017-06-07 13:52:33 +02:00
parent 286d4f2743
commit 99ef36f440
2 changed files with 2 additions and 2 deletions

View File

@ -354,7 +354,7 @@ void DumpNetCDF::openfile()
if (singlefile_opened) return;
singlefile_opened = 1;
NCERRX( nc_create(filename, NC_64BIT_OFFSET, &ncid),
NCERRX( nc_create(filename, NC_64BIT_DATA, &ncid),
filename );
// dimensions

View File

@ -350,7 +350,7 @@ void DumpNetCDFMPIIO::openfile()
if (singlefile_opened) return;
singlefile_opened = 1;
NCERRX( ncmpi_create(MPI_COMM_WORLD, filename, NC_64BIT_OFFSET,
NCERRX( ncmpi_create(MPI_COMM_WORLD, filename, NC_64BIT_DATA,
MPI_INFO_NULL, &ncid), filename );
// dimensions