forked from lijiext/lammps
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:
parent
286d4f2743
commit
99ef36f440
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue