Hi guys, <div><br></div><div>Does <span class="Apple-style-span" style="font-family:monospace;white-space:pre"><font class="Apple-style-span" size="4"><b>PetscViewerHDF5Open()</b></font></span>work with <b>FILE_MODE_APPEND</b>? </div>

<div>This is the error I get when I first open the file, write some data to it using VecView(), close it and then again reopen (with append mode) it to add data to the end of it. </div><div><br></div><div><div>[0]PETSC ERROR: Operation done in wrong order!</div>

<div>[0]PETSC ERROR: Must call PetscViewerFileSetMode() before PetscViewerFileSetName()!</div></div><div><br></div><div>Thanks, </div><div>Mohamad</div><div><br></div>