[petsc-dev] Removal of PETSC_VIEWER_NATIVE?

Jed Brown jedbrown at mcs.anl.gov
Thu Aug 8 09:17:09 CDT 2013

Shri, quite a while back now, you removed a bunch of support for PETSC_VIEWER_NATIVE:


and then added some of it back


Since this commit, there is no way to view vectors in native format and
only MPIDENSE matrices that can be viewed in native format.  All other
cases ignore the format, and in particular, DMDA vectors cannot be
viewed in PETSc ordering.

This is a big behavioral change that was not documented and makes
debugging certain things a hell of a lot harder.  We have had a number
of flawed petsc-dev and petsc-maint threads in which we gave advice to
use PETSC_VIEWER_NATIVE, but that advice would have been wrong since
PETSC_VIEWER_NATIVE has done nothing for years now.

What was the rationale behind this change?

Note this thread from a week before the commits above, though
PETSC_VIEWER_NATIVE was being used for a totally different purpose.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20130808/48275580/attachment.sig>

More information about the petsc-dev mailing list