<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've built ESMF-6.3.0r myself and copy the installed "ESMF_RegridWeightGen" binary from the original ESMF build directory to $NCARG_ROOT/bin, and then i ran again the "ESMF_regrid_1.ncl" 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: 'ESMF_RegridWeightGen' 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 "</font><span style="color:rgb(0,0,255)"> </span><span style="color:rgb(0,0,255)">'ESMF_RegridWeightGen' was not successful</span><font color="#000000">" 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"gmake check" to test the build, but it says "no failure"</font></div>
<div style="font-family:arial,sans-serif;font-size:13px"><font color="#000000"> and there wasnt any "Error"</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"><<a href="mailto:hsushipei1@gmail.com" target="_blank">hsushipei1@gmail.com</a>></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've built ESMF-6.3.0r myself and copy the installed "ESMF_RegridWeightGen" 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"> "ESMF_regrid_1.ncl" 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: 'ESMF_RegridWeightGen' was not successful.</font></div></div><div><font face="arial, sans-serif"><br>
</font></div><div><font face="arial, sans-serif">Does the "</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">'ESMF_RegridWeightGen' was not successful</span><span style="font-family:arial,sans-serif"><font color="#000000">" 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"gmake check" to test the build, but it says "no failure"</font></span></div>
<div><span style="font-family:arial,sans-serif"><font color="#000000"> and there wasnt any "Error"</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"><<a href="mailto:hsushipei1@gmail.com" target="_blank">hsushipei1@gmail.com</a>></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 "ncl" 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 "ESMF_regrid_1.ncl" 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:["Execute.c":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:["Execute.c":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:["Execute.c":8567]:Execute: Error occurred at or near line 66 in file ESMF_regrid_1.ncl</font></div></div><div><br></div><div>I couldn't find "<span style="color:rgb(0,0,255)">ESMF_RegridWeightGen</span><font color="#000000">" 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 "Error", but there wasn't</div><div><br></div><div>So don't know what'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"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></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 "-ll" is for linking in the lex library, which should be called "libl.a" 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 -> 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 <<a href="mailto:hsushipei1@gmail.com" target="_blank">hsushipei1@gmail.com</a>> wrote:<br>
<br>
> Dear all,<br>
><br>
> I'd like to build NCL-6.2.0 with ESMF support.<br>
><br>
> However, the native gcc(4.1.2) in my system(SUSE Linux 10 SP2) is too old for ESMF.<br>
><br>
> So I built a newer gcc(4.4.7) and built NCL-6.2.0 with it.<br>
><br>
> Unfortunately, it failed, and I checked the "make-output file". I got the following "Error" message<br>
><br>
> 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>
> /usr/bin/ld: cannot find -ll<br>
> collect2: ld return 1<br>
> make[4]: *** [wrapit77] Error 1<br>
> make[4]: Leaving directory `/data1/hsushipei/software/ncl-6.2.0-testing/src/ncl_ncarg-6.2.0/ni/src/mkwrap'<br>
><br>
> Thanks for your help!<br>
><br>
> Sincerely Yours,<br>
> Jack-Hsu<br>
><br>
> National Taiwan University<br>
><br>
</div></div>> <make-output.tar.bz2>_______________________________________________<br>
> ncl-install mailing list<br>
> List instructions, subscriber options, unsubscribe:<br>
> <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>