Commit 4e4fd5f0 authored by Lars Pastewka's avatar Lars Pastewka
Browse files

BUG: Dumping to multiple files failed with an error message complaining about...

BUG: Dumping to multiple files failed with an error message complaining about a missing 'append yes' option.
parent 5e9d257e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -343,7 +343,7 @@ void DumpNetCDF::openfile()
      if (framei <= 0) framei = nframes+framei+1;
      if (framei < 1)  framei = 1;
    } else {
      if (framei != 0)
      if (framei != 0 && !multifile)
        error->all(FLERR,"at keyword requires use of 'append yes'");

      int dims[NC_MAX_VAR_DIMS];
+1 −1
Original line number Diff line number Diff line
@@ -342,7 +342,7 @@ void DumpNetCDFMPIIO::openfile()
    if (framei <= 0) framei = nframes+framei+1;
    if (framei < 1)  framei = 1;
  } else {
    if (framei != 0)
    if (framei != 0 && !multifile)
      error->all(FLERR,"at keyword requires use of 'append yes'");

    int dims[NC_MAX_VAR_DIMS];