<div dir="ltr"><div dir="ltr">On Fri, Nov 13, 2020 at 12:06 PM David Scott <<a href="mailto:d.scott@epcc.ed.ac.uk">d.scott@epcc.ed.ac.uk</a>> wrote:<br></div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello,<br>
<br>
I am specifying an options file on the command line with '-options_file<br>
<file_name>'. I would like the program to write out <file_name> to<br>
stdout. Is there a simple way to do this?<br>
<br>
I thought that I would be able interrogate the options database to<br>
obtain the file name but, whilst the file is definitely being read, the<br>
name '-options_file' does not appear in the database.<br></blockquote><div><br></div><div>This is true. We use "options_file" (and "prefix_push"/"prefix_pop") as preprocessor</div><div>directives in our source, which is the options string, so they do not appear in the</div><div>token string, but instead modify it.</div><div><br></div><div>Looking at the code, you can give several -options_file arguments if you wish, just</div><div>like #include, to put more options in the stream. I guess we could store them all.</div><div>Any chance you would consider contributing this?</div><div><br></div><div>  Thanks,</div><div><br></div><div>     Matt</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
I am using PETSc 3.13.3 from Fortran.<br>
<br>
Regards,<br>
<br>
David<br>
<br>
The University of Edinburgh is a charitable body, registered in Scotland, with registration number SC005336.<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener</div><div><br></div><div><a href="http://www.cse.buffalo.edu/~knepley/" target="_blank">https://www.cse.buffalo.edu/~knepley/</a><br></div></div></div></div></div></div></div></div>