[petsc-users] read argument from an XML file

Jed Brown jed at jedbrown.org
Fri Aug 21 00:17:28 CDT 2020

Alex Fleeter <luis.saturday at gmail.com> writes:

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

It's meant to be more human-readable than XML, and is widely used these days.

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

My usual workflow is to build up comprehensive options by experimenting on the command line, then put them in a file (either using the basic format that Barry mentioned or YAML).

More information about the petsc-users mailing list