[petsc-users] Question on PetscViewerFileSetMode

Yuyun Yang yyang85 at alumni.stanford.edu
Tue Aug 30 01:03:47 CDT 2022


Hello team,

I recently updated by PETSc version and this error emerged:
"Cannot change mode to APPEND after setup"

I used to  use PetscViewerFileSetMode to set the mode as WRITE when I first
initiate the file, and for following time steps I set it to APPEND to open
the existing file and append data. Has the functionality changed?

Thanks!

Best regards,
Yuyun
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20220830/07ad9219/attachment-0001.html>


More information about the petsc-users mailing list