Unverified Commit 7441b062 authored by Steve Plimpton's avatar Steve Plimpton Committed by GitHub
Browse files

Merge pull request #792 from pastewka/18_dump_nc1

Dumping to multiple files failed with an error message complaining about a missing 'append yes' option.
parents 10d80ba9 9cf4ac8b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -45,7 +45,7 @@ args = list of arguments for a particular style :l
  {xyz/gz} args = none
  {xyz/mpiio} args = none :pre

{custom} or {custom/gz} or {custom/mpiio} args = list of atom attributes :l
{custom} or {custom/gz} or {custom/mpiio} or {netcdf} or {netcdf/mpiio} args = list of atom attributes :l
    possible attributes = id, mol, proc, procp1, type, element, mass,
                          x, y, z, xs, ys, zs, xu, yu, zu,
                          xsu, ysu, zsu, ix, iy, iz,
+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];