<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Tue, Nov 26, 2013 at 11:53 AM, Jed Brown <span dir="ltr"><<a href="mailto:jedbrown@mcs.anl.gov" target="_blank">jedbrown@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">Xiangdong <<a href="mailto:epscodes@gmail.com">epscodes@gmail.com</a>> writes:<br>
> By the way, how can I find a list of all the environment variables that<br>
> petsc takes? Thanks.<br>
<br>
</div>This is not a PETSc thing, it's POSIX mkstemp/mkdtemp.<br>
</blockquote></div><br>We use two env vars to indicate the build:</div><div class="gmail_extra"><br></div><div class="gmail_extra">  PETSC_DIR      = Root of the source tree</div><div class="gmail_extra">  PETSC_ARCH = Label for the build (has default if not defined)</div>
<div class="gmail_extra"><br></div><div class="gmail_extra">We use one env var to input options for a run:</div><div class="gmail_extra"><br></div><div class="gmail_extra">  PETSC_OPTIONS = <command line options></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>