<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi Dave,<br>
      <br>
      I looked at the output using log_view and re-compile. However,
      although I use the same options "-xHost -g -O3 -openmp" (some
      filenames and dir names are now different but they are actually
      the same), I still get different results timing. I have attach
      both, fast and slow. So what else can I do to pinpoint the
      differences?</p>
    <pre class="moz-signature" cols="72">Thank you very much.

Yours sincerely,

================================================
TAY Wee-Beng (Zheng Weiming) 郑伟明
Personal research webpage: <a class="moz-txt-link-freetext" href="http://tayweebeng.wixsite.com/website">http://tayweebeng.wixsite.com/website</a>
Youtube research showcase: <a class="moz-txt-link-freetext" href="https://www.youtube.com/channel/UC72ZHtvQNMpNs2uRTSToiLA">https://www.youtube.com/channel/UC72ZHtvQNMpNs2uRTSToiLA</a>
linkedin: <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/tay-weebeng">www.linkedin.com/in/tay-weebeng</a>
================================================</pre>
    <div class="moz-cite-prefix">On 27/3/2018 5:22 PM, Dave May wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAJ98EDoqRHTsqDq6GW-gs5weRVtgqyuCuuF764xarMpighXCRA@mail.gmail.com">
      <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"
                moz-do-not-send="true">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>
    </blockquote>
    <br>
  </body>
</html>