<div dir="ltr">Hello Mary,<br><br>$ which ncl<div><font color="#0000ff">/data1/hsushipei/software/ncl-6.2.0-testing/bin/ncl</font></div><div><br></div><div>$ <span style="font-family:arial,sans-serif;font-size:13px">which ESMF_RegridWeightGen</span></div>
<div><font face="arial, sans-serif" color="#0000ff">/data1/hsushipei/software/ncl-6.2.0-testing/bin/ESMF_RegridWeightGen</font></div><div><font face="arial, sans-serif"># I copy the &quot;</font><span style="font-family:arial,sans-serif;font-size:13px">ESMF_RegridWeightGen</span><span style="font-family:arial,sans-serif">&quot; from the original ESMF build directory to </span><font color="#000000"><span style="font-family:arial,sans-serif;font-size:13px">$NCARG_ROOT/bin</span></font></div>
<div><font color="#000000"><span style="font-family:arial,sans-serif;font-size:13px"><br></span></font></div><div><font color="#000000"><span style="font-family:arial,sans-serif;font-size:13px">$ </span></font><span style="font-family:arial,sans-serif;font-size:13px">ESMF_RegridWeightGen --version</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><div><font color="#0000ff">ESMF_VERSION_STRING:       6.3.0r</font></div><div><font color="#0000ff">   ESMF_VERSION_MAJOR:                   6</font></div><div>
<font color="#0000ff">   ESMF_VERSION_MINOR:                   3</font></div><div><font color="#0000ff">   ESMF_VERSION_REVISION:                0</font></div><div><font color="#0000ff">   ESMF_VERSION_PATCHLEVEL:              0</font></div>
<div><font color="#0000ff">   ESMF_VERSION_PUBLIC:        T</font></div><div><font color="#0000ff">   ESMF_VERSION_BETASNAPSHOT:  F</font></div><div><br></div><div>The PET* file is attached</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></span></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 18, 2014 at 11:08 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">Hi Jack,<br>
<br>
It looks like it either can&#39;t find your ESMF_RegridWeightGen binary, or it is not working.<br>
<br>
What does the following report:<br>
<br>
which ncl<br>
which ESMF_RegridWeightGen<br>
ESMF_RegridWeightGen --version<br>
<br>
Also, did a PET* file get created? If so, can you email it to me?<br>
<br>
Thanks,<br>
<br>
--Mary<br>
<div class="HOEnZb"><div class="h5"><br>
On Apr 18, 2014, at 7:45 AM, Shi-Pei Hsu &lt;<a href="mailto:hsushipei1@gmail.com">hsushipei1@gmail.com</a>&gt; wrote:<br>
<br>
&gt;<br>
&gt; Excuse me, I forgot to send this email to ncl-install, so i re-send this again<br>
&gt;<br>
&gt; Hi Mary,<br>
&gt;<br>
&gt; 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:<br>

&gt;<br>
&gt;  Copyright (C) 1995-2014 - All Rights Reserved<br>
&gt;  University Corporation for Atmospheric Research<br>
&gt;  NCAR Command Language Version 6.2.0<br>
&gt;  The use of this software is governed by a License Agreement.<br>
&gt;  See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
&gt;<br>
&gt; Variable: temp<br>
&gt; Type: float<br>
&gt; Total Size: 46336 bytes<br>
&gt;             11584 values<br>
&gt; Number of Dimensions: 4<br>
&gt; Dimensions and sizes: [TIME | 1] x [DEPTH | 1] x [LAT | 64] x [LON | 181]<br>
&gt; Coordinates:<br>
&gt;             TIME: [30.44000053405762..30.44000053405762]<br>
&gt;             DEPTH: [ 7.5.. 7.5]<br>
&gt;             LAT: [-59.9900016784668..58.9700202941895]<br>
&gt;             LON: [-0.5..359.5]<br>
&gt; Number Of Attributes: 5<br>
&gt;   missing_value :     -9.99e+33<br>
&gt;   _FillValue :        -9.99e+33<br>
&gt;   long_name : TEMPERATURE<br>
&gt;   history :   From ncep_sd_corrected_monthly_means<br>
&gt;   units :     deg. C<br>
&gt; (0)   ESMF_regrid_gen_weights: &#39;ESMF_RegridWeightGen&#39; was not successful.<br>
&gt;<br>
&gt; Does the &quot; &#39;ESMF_RegridWeightGen&#39; was not successful&quot; mean the failure of building EFMS?<br>
&gt;<br>
&gt; 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;<br>
&gt;  and there wasnt any &quot;Error&quot;<br>
&gt;<br>
&gt; Thank you very much!!<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Jack Hsu<br>
&gt;<br>
&gt;<br>
&gt; On Fri, Apr 18, 2014 at 2:33 PM, Shi-Pei Hsu &lt;<a href="mailto:hsushipei1@gmail.com">hsushipei1@gmail.com</a>&gt; wrote:<br>
&gt; Hi Mary,<br>
&gt;<br>
&gt; 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:<br>

&gt;<br>
&gt;  Copyright (C) 1995-2014 - All Rights Reserved<br>
&gt;  University Corporation for Atmospheric Research<br>
&gt;  NCAR Command Language Version 6.2.0<br>
&gt;  The use of this software is governed by a License Agreement.<br>
&gt;  See <a href="http://www.ncl.ucar.edu/" target="_blank">http://www.ncl.ucar.edu/</a> for more details.<br>
&gt;<br>
&gt; Variable: temp<br>
&gt; Type: float<br>
&gt; Total Size: 46336 bytes<br>
&gt;             11584 values<br>
&gt; Number of Dimensions: 4<br>
&gt; Dimensions and sizes: [TIME | 1] x [DEPTH | 1] x [LAT | 64] x [LON | 181]<br>
&gt; Coordinates:<br>
&gt;             TIME: [30.44000053405762..30.44000053405762]<br>
&gt;             DEPTH: [ 7.5.. 7.5]<br>
&gt;             LAT: [-59.9900016784668..58.9700202941895]<br>
&gt;             LON: [-0.5..359.5]<br>
&gt; Number Of Attributes: 5<br>
&gt;   missing_value :     -9.99e+33<br>
&gt;   _FillValue :        -9.99e+33<br>
&gt;   long_name : TEMPERATURE<br>
&gt;   history :   From ncep_sd_corrected_monthly_means<br>
&gt;   units :     deg. C<br>
&gt; (0)   ESMF_regrid_gen_weights: &#39;ESMF_RegridWeightGen&#39; was not successful.<br>
&gt;<br>
&gt; Does the &quot; &#39;ESMF_RegridWeightGen&#39; was not successful&quot; mean the failure of building EFMS?<br>
&gt;<br>
&gt; 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;<br>
&gt;  and there wasnt any &quot;Error&quot;<br>
&gt;<br>
&gt; Thank you very much!!<br>
&gt;<br>
&gt; Best regards,<br>
&gt; Jack Hsu<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Apr 17, 2014 at 10:01 PM, Shi-Pei Hsu &lt;<a href="mailto:hsushipei1@gmail.com">hsushipei1@gmail.com</a>&gt; wrote:<br>
&gt; Hi Mary,<br>
&gt;<br>
&gt; Thanks very much for your help!<br>
&gt;<br>
&gt; The &quot;ncl&quot; binary can be found under $NCARG_ROOT/bin which means the main NCL build is done.<br>
&gt;<br>
&gt; However, it seems the ESMF build was not successful.<br>
&gt;<br>
&gt; I failed to run script &quot;ESMF_regrid_1.ncl&quot; provided by NCL official website<br>
&gt;<br>
&gt; ,and the error message was:<br>
&gt;<br>
&gt; sh: ESMF_RegridWeightGen: command not found<br>
&gt; fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function<br>
&gt; 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<br>
&gt;<br>
&gt; 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<br>
&gt;<br>
&gt; fatal:[&quot;Execute.c&quot;:8567]:Execute: Error occurred at or near line 66 in file ESMF_regrid_1.ncl<br>
&gt;<br>
&gt; I couldn&#39;t find &quot;ESMF_RegridWeightGen&quot; binary in $NCARG_ROOT/bin<br>
&gt;<br>
&gt; i checked the make-output(attached in this email) file for any &quot;Error&quot;, but there wasn&#39;t<br>
&gt;<br>
&gt; So don&#39;t know what&#39;s wrong with ESMF<br>
&gt;<br>
&gt; Thank you!<br>
&gt;<br>
&gt; Sincerely Yours,<br>
&gt; Jack Hsu<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Mon, Apr 14, 2014 at 10:53 PM, Mary Haley &lt;<a href="mailto:haley@ucar.edu">haley@ucar.edu</a>&gt; wrote:<br>
&gt; Dear Jack-Hsu,<br>
&gt;<br>
&gt; The &quot;-ll&quot; is for linking in the lex library, which should be called &quot;libl.a&quot; on your system.<br>
&gt;<br>
&gt; On some systems, this library might be a link to libfl.a, which is the flex library. For example:<br>
&gt;<br>
&gt; lrwxrwxrwx. 1 root root 7 Jun 19  2013 /usr/lib64/libl.a -&gt; libfl.a<br>
&gt;<br>
&gt;<br>
&gt; My guess is that you need to install lex/flex and/or create a link between libfl.a and libl.a<br>
&gt;<br>
&gt; --Mary<br>
&gt;<br>
&gt; On Apr 7, 2014, at 7:36 PM, Shi-Pei Hsu &lt;<a href="mailto:hsushipei1@gmail.com">hsushipei1@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; &gt; Dear all,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;d like to build NCL-6.2.0 with ESMF support.<br>
&gt; &gt;<br>
&gt; &gt; However, the native gcc(4.1.2) in my system(SUSE Linux 10 SP2) is too old for ESMF.<br>
&gt; &gt;<br>
&gt; &gt; So I built a newer gcc(4.4.7) and built NCL-6.2.0 with it.<br>
&gt; &gt;<br>
&gt; &gt; Unfortunately, it failed, and I checked the &quot;make-output file&quot;. I got the following &quot;Error&quot; message<br>
&gt; &gt;<br>
&gt; &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; &gt; /usr/bin/ld: cannot find -ll<br>
&gt; &gt; collect2: ld return 1<br>
&gt; &gt; make[4]: *** [wrapit77] Error 1<br>
&gt; &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; &gt;<br>
&gt; &gt; Thanks for your help!<br>
&gt; &gt;<br>
&gt; &gt; Sincerely Yours,<br>
&gt; &gt; Jack-Hsu<br>
&gt; &gt;<br>
&gt; &gt; National Taiwan University<br>
&gt; &gt;<br>
&gt; &gt; &lt;make-output.tar.bz2&gt;_______________________________________________<br>
&gt; &gt; ncl-install mailing list<br>
&gt; &gt; List instructions, subscriber options, unsubscribe:<br>
&gt; &gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-install" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-install</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
<br>
</div></div></blockquote></div><br></div>