<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Thanks Jim.<br>
      Moorthi<br>
      On 05/12/2017 02:55 PM, James Abeles - NOAA Affiliate wrote:<br>
    </div>
    <blockquote
cite="mid:CAL+pvuGkC8oUX5LgzEMqTiaiN7DcgLWQCKVSLVEDgtRiJjx8mg@mail.gmail.com"
      type="cite">
      <div dir="ltr">Resending with correct -O0 flag.
        <div><br>
        </div>
        <div><span style="font-size:12.8px">Moorthi,</span>
          <div style="font-size:12.8px">The slow compile is
            GFS_diagnostics.F90. I have tried many things to reduce the
            compile time but the only one that worked was compiling at
            -O0. There is really nothing being done in this routine
            other than storing diagnostices so I am testing the
            performance with -O0 vs -O2.</div>
          <div style="font-size:12.8px"><br>
          </div>
          <div style="font-size:12.8px"><b><font size="4">-O2</font></b></div>
          <div style="font-size:12.8px">
            <div>/gpfs/hps/emc/global/noscrub/<wbr>James.A.Abeles/fv3gfs.v0beta/<wbr>FV3/gfsphysics&gt;
              time ftn -DNEW_TAUCTMAX -DSMALL_PE -DNEMS_GSM -fpp -Wp,-w
              -I/opt/cray/netcdf/4.3.2/<wbr>INTEL/140/include
              -I/opt/cray/netcdf/4.3.2/<wbr>INTEL/140/include -fno-alias
              -auto -safe-cray-ptr -ftz -assume byterecl -nowarn -sox
              -align array64byte -i4 -real-size 32  -O2 -debug minimal
              -fp-model source -qoverride-limits -I../fms
              -I../fms/include  -c GFS_layer/GFS_diagnostics.F90 -o
              GFS_layer/GFS_diagnostics.o</div>
            <div><br>
            </div>
            <div>real    10m3.761s</div>
            <div>user    10m1.842s</div>
            <div>sys     0m0.396s</div>
            <div><br>
            </div>
            <div><b><font size="4">-O0</font></b></div>
            <div>/gpfs/hps/emc/global/noscrub/<wbr>James.A.Abeles/fv3gfs.v0beta/<wbr>FV3/gfsphysics&gt;
              time ftn -DNEW_TAUCTMAX -DSMALL_PE -DNEMS_GSM -fpp -Wp,-w
              -I/opt/cray/netcdf/4.3.2/<wbr>INTEL/140/include
              -I/opt/cray/netcdf/4.3.2/<wbr>INTEL/140/include -fno-alias
              -auto -safe-cray-ptr -ftz -assume byterecl -nowarn -sox
              -align array64byte -i4 -real-size 32  -O0 -debug minimal
              -fp-model source -qoverride-limits -I../fms
              -I../fms/include  -c GFS_layer/GFS_diagnostics.F90 -o
              GFS_layer/GFS_diagnostics.o</div>
            <div>real    0m0.981s</div>
            <div>user    0m0.728s</div>
            <div>sys     0m0.072s</div>
          </div>
          <div style="font-size:12.8px"><br>
          </div>
          <div class="gmail_extra" style="font-size:12.8px"><br>
            <div class="gmail_quote"><br>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    <p><br>
    </p>
    <pre class="moz-signature" cols="72">-- 
Dr. Shrinivas Moorthi
Research Meteorologist
Modeling and Data Assimilation Branch
Environmental Modeling Center / National Centers for Environmental Prediction
5830 University Research Court - (W/NP23), College Park MD 20740 USA
Tel:(301)683-3718</pre>
  </body>
</html>