[petsc-users] hdf5 and FILE_MODE_APPEND

Mohamad M. Nasr-Azadani mmnasr at gmail.com
Fri Jan 20 15:15:20 CST 2012


Hi guys,

Does *PetscViewerHDF5Open()*work with *FILE_MODE_APPEND*?
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20120120/7ffc386b/attachment-0001.htm>


More information about the petsc-users mailing list