[petsc-users] Sanitize Options Passed "Through" Petsc

Jacob Faibussowitsch jacob.fai at gmail.com
Tue May 19 16:53:11 CDT 2020


Hello all,

I use petsc/slepc as the driver for running another library code and would like to pass command line options through but this library takes the approach of erroring out when it encounters an unknown option (i.e. some option that petsc would use but it would not). My current way of dealing with the problem is to run my script with “-help” option to save the output in a separate ascii file, then next time the program is run remove any options found in the file from the options passed through. 

Clearly this isn’t exactly a bulletproof scheme, so I’m wondering if there is a smarter way to do it.

Best regards,

Jacob Faibussowitsch
(Jacob Fai - booss - oh - vitch)
Cell: (312) 694-3391

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


More information about the petsc-users mailing list