On Wed, Jun 13, 2012 at 1:35 AM, Gaetano Esposito <span dir="ltr"><<a href="mailto:gle6b@virginia.edu" target="_blank">gle6b@virginia.edu</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Thanks, I was aware of such functions. I think I may have found where<br>
my confusion is. If I have a regular Vec, HDF5 SetTimestep and<br>
IncrementTimestep work as expected.<br>
Instead the following does not work for me:<br></blockquote><div><br></div><div>Is this with the newest release?</div><div><br></div><div> Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
[...]<br>
DMCreateGlobalVector(da, &solution);<br>
[...] // fill the vector solution and restore<br>
HDF5Open<br>
HDF5SetTimestep(H5_viewer, 0);<br>
<br>
ierr = VecView(solution,H5_viewer); ERRCHKQ(ierr);<br>
HDF5IncrementTimestep(H5_viewer);<br>
ierr = VecView(solution,H5_viewer); ERRCHKQ(ierr);<br>
[...]<br>
<br>
I get the following external library error from HDF at the line of the<br>
second VecView:<br>
<br>
HDF5-DIAG: Error detected in HDF5 (1.8.6) MPI-process 0:<br>
#000: H5D.c line 170 in H5Dcreate2(): unable to create dataset<br>
major: Dataset<br>
minor: Unable to initialize object<br>
#001: H5Dint.c line 431 in H5D_create_named(): unable to create and<br>
link to dataset<br>
major: Dataset<br>
minor: Unable to initialize object<br>
#002: H5L.c line 1640 in H5L_link_object(): unable to create new<br>
link to object<br>
major: Links<br>
minor: Unable to initialize object<br>
#003: H5L.c line 1866 in H5L_create_real(): can't insert link<br>
major: Symbol table<br>
minor: Unable to insert object<br>
#004: H5Gtraverse.c line 929 in H5G_traverse(): internal path traversal failed<br>
major: Symbol table<br>
minor: Object not found<br>
#005: H5Gtraverse.c line 718 in H5G_traverse_real(): traversal operator failed<br>
major: Symbol table<br>
minor: Callback failed<br>
#006: H5L.c line 1675 in H5L_link_cb(): name already exists<br>
major: Symbol table<br>
minor: Object already exists<br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>
-- Norbert Wiener<br>