Commit 99ef36f4 authored by Lars Pastewka's avatar Lars Pastewka
Browse files

MAINT: Switched NetCDF from 64BIT_OFFSET to 64BIT_DATA which can handle frames...

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.
parent 286d4f27
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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
+1 −1
Original line number Diff line number Diff line
@@ -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