Commit e755a833 authored by Lars Pastewka's avatar Lars Pastewka
Browse files

BUG: openfile is called multiple times, second call stopped code with 'at...

BUG: openfile is called multiple times, second call stopped code with 'at keyword requires use of append yes'
parent f7f6a15a
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -599,6 +599,7 @@ void DumpNetCDF::openfile()
      count[1] = 5;
      NCERR( nc_put_vara_text(ncid, cell_angular_var, index, count, "gamma") );

      append_flag = 1;
      framei = 1;
    }
  }
+1 −0
Original line number Diff line number Diff line
@@ -575,6 +575,7 @@ void DumpNetCDFMPIIO::openfile()

    NCERR( ncmpi_end_indep_data(ncid) );

    append_flag = 1;
    framei = 1;
  }
}