<div dir="ltr"><div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><span style="font-family:arial,sans-serif;font-size:13px"><div><span style="font-family:arial,sans-serif;font-size:13px">Excuse me, I forgot to send this email to ncl-install, so i re-send this again</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div>Hi Mary,</span><div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px">I&#39;ve built ESMF-6.3.0r myself and copy the installed &quot;ESMF_RegridWeightGen&quot; binary from the original ESMF build directory to $NCARG_ROOT/bin, and then i ran again the &quot;ESMF_regrid_1.ncl&quot; script. The output was:</div>
<div style="font-family:arial,sans-serif;font-size:13px"><br></div><div style="font-family:arial,sans-serif;font-size:13px"><div><font face="arial, sans-serif"> <font color="#0000ff">Copyright (C) 1995-2014 - All Rights Reserved</font></font></div>
<div><font face="arial, sans-serif" color="#0000ff"> University Corporation for Atmospheric Research</font></div><div><font face="arial, sans-serif" color="#0000ff"> NCAR Command Language Version 6.2.0</font></div><div><font face="arial, sans-serif" color="#0000ff"> The use of this software is governed by a License Agreement.</font></div>
<div><font face="arial, sans-serif" color="#0000ff"> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</font></div><div><font face="arial, sans-serif" color="#0000ff"><br>
</font></div><div><font face="arial, sans-serif" color="#0000ff">Variable: temp</font></div><div><font face="arial, sans-serif" color="#0000ff">Type: float</font></div><div><font face="arial, sans-serif" color="#0000ff">Total Size: 46336 bytes</font></div>
<div><font face="arial, sans-serif" color="#0000ff">            11584 values</font></div><div><font face="arial, sans-serif" color="#0000ff">Number of Dimensions: 4</font></div><div><font face="arial, sans-serif" color="#0000ff">Dimensions and sizes:<span style="white-space:pre-wrap">        </span>[TIME | 1] x [DEPTH | 1] x [LAT | 64] x [LON | 181]</font></div>
<div><font face="arial, sans-serif" color="#0000ff">Coordinates: </font></div><div><font face="arial, sans-serif" color="#0000ff">            TIME: [30.44000053405762..30.44000053405762]</font></div><div><font face="arial, sans-serif" color="#0000ff">            DEPTH: [ 7.5.. 7.5]</font></div>
<div><font face="arial, sans-serif" color="#0000ff">            LAT: [-59.9900016784668..58.9700202941895]</font></div><div><font face="arial, sans-serif" color="#0000ff">            LON: [-0.5..359.5]</font></div><div><font face="arial, sans-serif" color="#0000ff">Number Of Attributes: 5</font></div>
<div><font face="arial, sans-serif" color="#0000ff">  missing_value :<span style="white-space:pre-wrap">        </span>-9.99e+33</font></div><div><font face="arial, sans-serif" color="#0000ff">  _FillValue :<span style="white-space:pre-wrap">        </span>-9.99e+33</font></div>
<div><font face="arial, sans-serif" color="#0000ff">  long_name :<span style="white-space:pre-wrap">        </span>TEMPERATURE</font></div><div><font face="arial, sans-serif" color="#0000ff">  history :<span style="white-space:pre-wrap">        </span>From ncep_sd_corrected_monthly_means</font></div>
<div><font face="arial, sans-serif" color="#0000ff">  units :<span style="white-space:pre-wrap">        </span>deg. C</font></div><div><font face="arial, sans-serif" color="#0000ff">(0)<span style="white-space:pre-wrap">        </span>ESMF_regrid_gen_weights: &#39;ESMF_RegridWeightGen&#39; was not successful.</font></div>
</div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font face="arial, sans-serif">Does the &quot;</font><span style="color:rgb(0,0,255)"> </span><span style="color:rgb(0,0,255)">&#39;ESMF_RegridWeightGen&#39; was not successful</span><font color="#000000">&quot; mean the failure of building EFMS?</font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000">P.S. During the ESMF building process, the software ask me to run&quot;gmake check&quot; to test the build, but it says &quot;no failure&quot;</font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000"> and there wasnt any &quot;Error&quot;</font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000"><br></font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000">Thank you very much!!</font></div><div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000"><br></font></div><div style="font-family:arial,sans-serif;font-size:13px">
<font color="#000000" face="arial, sans-serif">Best regards,</font></div><div style="font-family:arial,sans-serif;font-size:13px">Jack Hsu</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 18, 2014 at 2:33 PM, Shi-Pei Hsu <span dir="ltr">&lt;<a href="mailto:hsushipei1@gmail.com" target="_blank">hsushipei1@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mary,<div><br></div><div>I&#39;ve built ESMF-6.3.0r myself and copy the installed &quot;ESMF_RegridWeightGen&quot; binary from the original ESMF build directory to $NCARG_ROOT/bin, and then i ran again the<span style="font-family:arial,sans-serif;font-size:13px"> &quot;ESMF_regrid_1.ncl&quot; script. The output was:</span></div>

<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><div><font face="arial, sans-serif"> <font color="#0000ff">Copyright (C) 1995-2014 - All Rights Reserved</font></font></div><div>
<font face="arial, sans-serif" color="#0000ff"> University Corporation for Atmospheric Research</font></div><div><font face="arial, sans-serif" color="#0000ff"> NCAR Command Language Version 6.2.0</font></div><div>
<font face="arial, sans-serif" color="#0000ff"> The use of this software is governed by a License Agreement.</font></div><div><font face="arial, sans-serif" color="#0000ff"> See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.</font></div>

<div><font face="arial, sans-serif" color="#0000ff"><br></font></div><div><font face="arial, sans-serif" color="#0000ff">Variable: temp</font></div><div><font face="arial, sans-serif" color="#0000ff">Type: float</font></div>

<div><font face="arial, sans-serif" color="#0000ff">Total Size: 46336 bytes</font></div><div><font face="arial, sans-serif" color="#0000ff">            11584 values</font></div><div><font face="arial, sans-serif" color="#0000ff">Number of Dimensions: 4</font></div>

<div><font face="arial, sans-serif" color="#0000ff">Dimensions and sizes:<span style="white-space:pre-wrap">        </span>[TIME | 1] x [DEPTH | 1] x [LAT | 64] x [LON | 181]</font></div><div><font face="arial, sans-serif" color="#0000ff">Coordinates: </font></div>

<div><font face="arial, sans-serif" color="#0000ff">            TIME: [30.44000053405762..30.44000053405762]</font></div><div><font face="arial, sans-serif" color="#0000ff">            DEPTH: [ 7.5.. 7.5]</font></div>
<div><font face="arial, sans-serif" color="#0000ff">            LAT: [-59.9900016784668..58.9700202941895]</font></div><div><font face="arial, sans-serif" color="#0000ff">            LON: [-0.5..359.5]</font></div>
<div><font face="arial, sans-serif" color="#0000ff">Number Of Attributes: 5</font></div><div><font face="arial, sans-serif" color="#0000ff">  missing_value :<span style="white-space:pre-wrap">        </span>-9.99e+33</font></div>

<div><font face="arial, sans-serif" color="#0000ff">  _FillValue :<span style="white-space:pre-wrap">        </span>-9.99e+33</font></div><div><font face="arial, sans-serif" color="#0000ff">  long_name :<span style="white-space:pre-wrap">        </span>TEMPERATURE</font></div>

<div><font face="arial, sans-serif" color="#0000ff">  history :<span style="white-space:pre-wrap">        </span>From ncep_sd_corrected_monthly_means</font></div><div><font face="arial, sans-serif" color="#0000ff">  units :<span style="white-space:pre-wrap">        </span>deg. C</font></div>

<div><font face="arial, sans-serif" color="#0000ff">(0)<span style="white-space:pre-wrap">        </span>ESMF_regrid_gen_weights: &#39;ESMF_RegridWeightGen&#39; was not successful.</font></div></div><div><font face="arial, sans-serif"><br>

</font></div><div><font face="arial, sans-serif">Does the &quot;</font><span style="color:rgb(0,0,255);font-family:arial,sans-serif"> </span><span style="color:rgb(0,0,255);font-family:arial,sans-serif">&#39;ESMF_RegridWeightGen&#39; was not successful</span><span style="font-family:arial,sans-serif"><font color="#000000">&quot; mean the failure of building EFMS?</font></span></div>

<div><span style="font-family:arial,sans-serif"><font color="#000000"><br></font></span></div><div><span style="font-family:arial,sans-serif"><font color="#000000">P.S. During the ESMF building process, the software ask me to run&quot;gmake check&quot; to test the build, but it says &quot;no failure&quot;</font></span></div>

<div><span style="font-family:arial,sans-serif"><font color="#000000"> and there wasnt any &quot;Error&quot;</font></span></div><div><span style="font-family:arial,sans-serif"><font color="#000000"><br></font></span></div>

<div><span style="font-family:arial,sans-serif"><font color="#000000">Thank you very much!!</font></span></div><div><span style="font-family:arial,sans-serif"><font color="#000000"><br></font></span></div><div>
<font color="#000000" face="arial, sans-serif">Best regards,</font></div><div>Jack Hsu</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Apr 17, 2014 at 10:01 PM, Shi-Pei Hsu <span dir="ltr">&lt;<a href="mailto:hsushipei1@gmail.com" target="_blank">hsushipei1@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Mary,<div><br></div><div>Thanks very much for your help! </div><div><br></div><div>The &quot;ncl&quot; binary can be found under $NCARG_ROOT/bin which means the main NCL build is done.</div>

<div><br></div>
<div>However, it seems the ESMF build was not successful.</div><div><br></div><div>I failed to run script &quot;ESMF_regrid_1.ncl&quot; provided by NCL official website<br></div><div><br></div><div>,and the error message was:</div>


<div><br></div><div><div><font color="#0000ff">sh: ESMF_RegridWeightGen: command not found</font></div><div><font color="#0000ff">fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function</font></div>


<div><font color="#0000ff">fatal:[&quot;Execute.c&quot;:8567]:Execute: Error occurred at or near line 2434 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</font></div><div><font color="#0000ff"><br></font></div>


<div><font color="#0000ff">fatal:[&quot;Execute.c&quot;:8567]:Execute: Error occurred at or near line 3471 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl</font></div><div><font color="#0000ff"><br></font></div>


<div><font color="#0000ff">fatal:[&quot;Execute.c&quot;:8567]:Execute: Error occurred at or near line 66 in file ESMF_regrid_1.ncl</font></div></div><div><br></div><div>I couldn&#39;t find &quot;<span style="color:rgb(0,0,255)">ESMF_RegridWeightGen</span><font color="#000000">&quot; binary in</font><span style="color:rgb(0,0,255)"> </span>$NCARG_ROOT/bin </div>


<div><br></div><div>i checked the make-output(attached in this email) file for any &quot;Error&quot;, but there wasn&#39;t</div><div><br></div><div>So don&#39;t know what&#39;s wrong with ESMF</div><div><br></div><div>Thank you!</div>


<div><br></div><div>Sincerely Yours,</div><div>Jack Hsu</div><div><br></div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Apr 14, 2014 at 10:53 PM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Jack-Hsu,<br>
<br>
The &quot;-ll&quot; is for linking in the lex library, which should be called &quot;libl.a&quot; on your system.<br>
<br>
On some systems, this library might be a link to libfl.a, which is the flex library. For example:<br>
<br>
lrwxrwxrwx. 1 root root 7 Jun 19  2013 /usr/lib64/libl.a -&gt; libfl.a<br>
<br>
<br>
My guess is that you need to install lex/flex and/or create a link between libfl.a and libl.a<br>
<br>
--Mary<br>
<div><div><br>
On Apr 7, 2014, at 7:36 PM, Shi-Pei Hsu &lt;<a href="mailto:hsushipei1@gmail.com" target="_blank">hsushipei1@gmail.com</a>&gt; wrote:<br>
<br>
&gt; Dear all,<br>
&gt;<br>
&gt; I&#39;d like to build NCL-6.2.0 with ESMF support.<br>
&gt;<br>
&gt; However, the native gcc(4.1.2) in my system(SUSE Linux 10 SP2) is too old for ESMF.<br>
&gt;<br>
&gt; So I built a newer gcc(4.4.7) and built NCL-6.2.0 with it.<br>
&gt;<br>
&gt; Unfortunately, it failed, and I checked the &quot;make-output file&quot;. I got the following &quot;Error&quot; message<br>
&gt;<br>
&gt; gcc -ansi -fPIC -fopenmp  -O    -o wrapit77 y.tab.o lex.yy.o Symbol.o wrapit_main.o  -L/data1/hsushipei/software/ncl-6.2.0-testing/lib -L/data1/hsushipei/software/ncl-6.2.0-testing/lib -L/usr/X11R6/lib64  -ll<br>
&gt; /usr/bin/ld: cannot find -ll<br>
&gt; collect2: ld return 1<br>
&gt; make[4]: *** [wrapit77] Error 1<br>
&gt; make[4]: Leaving directory `/data1/hsushipei/software/ncl-6.2.0-testing/src/ncl_ncarg-6.2.0/ni/src/mkwrap&#39;<br>
&gt;<br>
&gt; Thanks for your help!<br>
&gt;<br>
&gt; Sincerely Yours,<br>
&gt; Jack-Hsu<br>
&gt;<br>
&gt; National Taiwan University<br>
&gt;<br>
</div></div>&gt; &lt;make-output.tar.bz2&gt;_______________________________________________<br>
&gt; ncl-install mailing list<br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
<br>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>
</div></div></blockquote></div><br></div>