[petsc-users] Is PetscViewerBinary special?

Matthew Knepley knepley at gmail.com
Fri Jan 30 06:56:59 CST 2015


On Fri, Jan 30, 2015 at 2:06 AM, Dave May <dave.mayhem23 at gmail.com> wrote:

> 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?
>

This is an oversight.

  Matt


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



-- 
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/20150130/01c16bf3/attachment-0001.html>


More information about the petsc-users mailing list