[petsc-users] Is PetscViewerBinary special?

Dave May dave.mayhem23 at gmail.com
Fri Jan 30 02:06:11 CST 2015


Hello,

I've noticed the create function PetscViewerCreate_Binary() doesn't appear
to be using the options prefix attached to the PetscViewer.
Specifically, I see on line 1276 of
  petsc-3.5.2/src/sys/classes/viewer/impls/binary/binv.c
the following
  ierr =
PetscOptionsGetBool(NULL,"-viewer_binary_mpiio",&useMPIIO,NULL);CHKERRQ(ierr);

Is this an oversight or something intentional?

Are PetscViewers in general behaving such that they cannot be configured
independently of each other if
PetscViewerSetOptionsPrefix() and PetscViewerSetFromOptions() are called?


Cheers
  Dave
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20150130/ea3b7c50/attachment.html>


More information about the petsc-users mailing list