[ncl-install] Problem with Building NCL-6.2.0 from Source Code

Shi-Pei Hsu hsushipei1 at gmail.com
Fri Apr 18 07:45:39 MDT 2014


Excuse me, I forgot to send this email to ncl-install, so i re-send this
again

Hi Mary,

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:

 Copyright (C) 1995-2014 - All Rights Reserved
 University Corporation for Atmospheric Research
 NCAR Command Language Version 6.2.0
 The use of this software is governed by a License Agreement.
 See http://www.ncl.ucar.edu/ for more details.

Variable: temp
Type: float
Total Size: 46336 bytes
            11584 values
Number of Dimensions: 4
Dimensions and sizes: [TIME | 1] x [DEPTH | 1] x [LAT | 64] x [LON | 181]
Coordinates:
            TIME: [30.44000053405762..30.44000053405762]
            DEPTH: [ 7.5.. 7.5]
            LAT: [-59.9900016784668..58.9700202941895]
            LON: [-0.5..359.5]
Number Of Attributes: 5
  missing_value : -9.99e+33
  _FillValue : -9.99e+33
  long_name : TEMPERATURE
  history : From ncep_sd_corrected_monthly_means
  units : deg. C
(0) ESMF_regrid_gen_weights: 'ESMF_RegridWeightGen' was not successful.

Does the " 'ESMF_RegridWeightGen' was not successful" mean the failure of
building EFMS?

P.S. During the ESMF building process, the software ask me to run"gmake
check" to test the build, but it says "no failure"
 and there wasnt any "Error"

Thank you very much!!

Best regards,
Jack Hsu


On Fri, Apr 18, 2014 at 2:33 PM, Shi-Pei Hsu <hsushipei1 at gmail.com> wrote:

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


More information about the ncl-install mailing list