geodynamics / pylith

PyLith is a finite element code for the solution of dynamic and quasi-static tectonic deformation problems.
Other
153 stars 97 forks source link

Check robustness of parallel HDF5 by opening/closing each time step #180

Open baagaard-usgs opened 4 years ago

baagaard-usgs commented 4 years ago

We have seen writing HDF5 in parallel to be fragile. Matt reports that opening/closing each time step is more robust.

We should test the robustness of parallel HDF5 with opening and closing the file each time step.

baagaard-usgs commented 2 years ago

@knepley Is there a way to tell the PETSc HDF5 viewer to open or close the HDF5 file or do I have to open and destroy the viewer each time I want the file HDF5 open or closed?

knepley commented 2 years ago

@baagaard-usgs Open and close happens on creation and destruction. The idea is that there is no state to preserve, with the exception of the filename.