[petsc-users] read argument from an XML file

Alex Fleeter luis.saturday at gmail.com
Thu Aug 20 23:44:06 CDT 2020


Thanks, we will try that. I have never used YAML before.

Anyway, we feel using command line arguments is a bit old fashioned. It can
be quite desirable to set parameters from a human-readable file.

On Thu, Aug 20, 2020 at 9:38 PM Jed Brown <jed at jedbrown.org> wrote:

> You can read from a YAML file with -options_file_yaml file.yaml or via
>
>
> https://www.mcs.anl.gov/petsc/petsc-master/docs/manualpages/Sys/PetscOptionsInsertFileYAML.html
>
> Would this work for you or do you really want XML?
>
> Alex Fleeter <luis.saturday at gmail.com> writes:
>
> > Hi:
> >
> > Does PETSc have or plan to enable reading arguments from an XML file?
> > Something like the Teuchos package in Trilinos.
> >
> > Thanks,
> >
> > AF
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20200820/43e00c24/attachment.html>


More information about the petsc-users mailing list