On Fri, Jan 20, 2012 at 3:15 PM, Mohamad M. Nasr-Azadani <mmnasr at gmail.com>wrote:
> Hi guys, > > Does *PetscViewerHDF5Open()*work with *FILE_MODE_APPEND*? > No, but HDF5 does not work like that. Matt > 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. > > [0]PETSC ERROR: Operation done in wrong order! > [0]PETSC ERROR: Must call PetscViewerFileSetMode() before > PetscViewerFileSetName()! > > Thanks, > Mohamad > > -- What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120120/161e36c5/attachment.htm>
