|
From: Ataollah M. <am...@ti...> - 2012-11-07 19:59:19
|
Dear all, when I compile my program with dbg flags and run it I receive following error when it tries to write the second time step ( the first time step goes smoothly!!) nem_out_file.write_timestep(out_file_name, equation_system, step, time); Error flushing buffers to file. src/mesh/exodusII_io_helper.C, line [1] src/mesh/exodusII_io_helper.C, line 147, compiled Nov 7 2012 at 13:37:45 147, compiled Nov 7 2012 at 13:37:45 Exodus Library Error: [ex_update] Error: failed to update file id 0 [-33] Not a netcdf id Error flushing buffers to file. I suspect that the first time step hasn't been flushed yet and this causes the error! If that's the case is there a way to flush the time steps before trying to write the next ? If not can someone please help me understand what's going on ? PS: I just pulled and compiled libMesh. Thanks, Ata |