<div dir="ltr">On Thu, Sep 5, 2013 at 1:19 AM, Mark F. Adams <span dir="ltr"><<a href="mailto:mfadams@lbl.gov" target="_blank">mfadams@lbl.gov</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div>In�<a href="http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInitialize.html" target="_blank">http://www.mcs.anl.gov/petsc/petsc-current/docs/manualpages/Sys/PetscInitialize.html</a> I see:</div>
<br><div><table border="0" cellpadding="0" cellspacing="0" style="font-family:Times"><tbody><tr><td align="LEFT" valign="TOP"><b>file</b></td><td>- [optional] PETSc database file, also checks ~username/.petscrc and .petscrc use NULL to not check for code specific file. Use -skip_petscrc in the code specific file to skip the .petscrc files</td>
</tr><tr></tr></tbody></table><br></div><div>I don't understand what "<span style="font-family:Times">Use -skip_petscrc in the code specific file</span>" means. �In looking at the code it seems like this line should read something like:</div>
<div><br></div><div><font face="Times">� If you do not want to use a�resource�file, use NULL and add�-skip_petscrc to the command line.</font></div></div></blockquote></div><br>Here is what it is trying to say. There are three files we can check:</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">�1) ~username/.petscrc</div><div class="gmail_extra">�2) cwd/.petscrc</div><div class="gmail_extra">�3) "code specific file", whose name is passed into PetscIntitialize()</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">If you pass in NULL to PetscInitialize(), it will not check option 3). If you pass in a real name to PetscIntiialize(), and</div><div class="gmail_extra">in the "code specific file" you put -skpi_petscrc, then it will not check options 1) and 2).</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">� � Matt<br clear="all"><div><br></div>-- <br>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>