<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">Hi Rui,<br>
      <br>
      WRF uses ESMF Time module to calculate time inside of the model.
      To do that, WRF developers split the ESMF_Time module from
      original ESMF library. So, it is just a subset of ESMF library
      (but i don't know which version it is). For the coupling, you need
      to install ESMF library first (like a netcdf library) and then you
      have to point that directory to compile the ESMF enabled code. It
      is little bit confusing but the code works like this. So, if you
      want to add noleap year support, you can change the code in
      external/ folder. I hope it helps.<br>
      <br>
      Regards,<br>
      <br>
      Ufuk Turuncoglu<br>
      <br>
      On 8/14/12 6:54 PM, Rui Mei wrote:<br>
    </div>
    <blockquote
cite="mid:CAJHpCCfTog+vB7bFTEZFrM0BFHHMTano5uxb=R6X=zMVRzyGew@mail.gmail.com"
      type="cite"><span style="color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Dear
        all,&nbsp;</span><br
        style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
      <br
        style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
      <span style="color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">I
        was trying to run WRF with climate data, which is 365-day
        calendar. So I added -DNO_LEAP_CALENDAR to the macro ARCH_LOCAL
        in configure.wps file, according to the user guide.</span><br
        style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
      <br
        style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
      <span style="color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Here
        is the line:</span><br
        style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
      <span style="color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">ARCH_LOCAL
        = -DNONSTANDARD_SYSTEM_SUBR -DNO_LEAP_CALENDAR&nbsp;</span><br
        style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
      <br
        style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
      <span style="color:rgb(51,51,51);font-family:'Lucida
        Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">There
        is no problem compiling the model, but when I run real.exe, it
        crashes.&nbsp;</span>
      <div>
        <span
          style="background-color:rgb(225,235,242);color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px">Here
          is the error message:</span></div>
      <div><span style="color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">--------------
          FATAL CALLED ---------------</span><br
          style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
        <span style="color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Error::
          ESMF_Initialize not called</span><br
          style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
        <span style="color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">-------------------------------------------</span><br
          style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
        <span style="color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">Rank
          1 [Mon Aug 13 18:11:45 2012] [c22-2c2s2n3] application called
          MPI_Abort(MPI_COMM_WORLD, 1) - process 1</span><br
          style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
        <br>
        I tracked down the error message and it comes
        from&nbsp;external/esmf_time_f90/ESMF_Time.f. I browsed the ESMF_time
        codes under that directory and it says WRF is hard-wired to
        gregorian calendar. I am still trying to understand those ESMF
        codes to figure the problem out.</div>
      <div><br>
      </div>
      <div>Another thing I do not understand is that currently in
        configure.wrf, we have the following in default</div>
      <div><br>
      </div>
      <div># switch to use separately installed ESMF library for
        coupling: &nbsp;1==true</div>
      <div>ESMF_COUPLING &nbsp; &nbsp; &nbsp; = 0</div>
      <div><br>
      </div>
      <div>Does that indicate ESMF lib is used or not ? I assume if it
        is set to 0, ESMF is still used somehow, otherwise why would
        that error comes from there ?<br
          style="margin:0px;padding:0px;background-color:rgb(225,235,242)">
        <span style="color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)"><br>
        </span></div>
      <div><span style="color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">I
          will appreciate if someone can offer an answer or advice.
          Thanks very much!</span><br
          style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
        <br
          style="margin:0px;padding:0px;color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">
        <span style="color:rgb(51,51,51);font-family:'Lucida
          Grande','Trebuchet
MS',Verdana,Helvetica,Arial,sans-serif;font-size:13px;line-height:18.200000762939453px;background-color:rgb(225,235,242)">-Rui</span></div>
      <br>
      -- <br>
      This message has been scanned for viruses and
      <br>
      dangerous content by
      <a moz-do-not-send="true" href="http://www.mailscanner.info/"><b>MailScanner</b></a>,
      and is
      <br>
      believed to be clean.
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Wrf-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a>
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/wrf-users">http://mailman.ucar.edu/mailman/listinfo/wrf-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>