<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 27 March 2018 at 10:16, TAY wee-beng <span dir="ltr"><<a href="mailto:zonexo@gmail.com" target="_blank">zonexo@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have been compiling and building different version of my CFD with the intel 2016, 2018 compilers, and also different compiling options.<br>
<br>
I tested a version of my a.out and it is much faster than the other a.out, using only 3 min instead of more than 10min to solve a certain case using GAMG.<br>
<br>
However, I can't recall how it was compiled. I only know that I used the intel 2016 compiler.<br>
<br>
So is there any way I can find out how the a.out was compiled? Like what options were used?</blockquote><div><br></div><div>Since you posted to the list I presume "a.out" links against petsc...</div><div>If so, run your code with </div><div>  -log_view</div><div><br></div><div>Upon calling PetscFinalize(), you will get all the options given to PETSc configure, plus the CFLAGS, link lines, etc.</div><div><br></div></div></div></div>