Re: ESMF Regrid

From: HCL Infosystems Ltd <hpcssupport_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 20 2013 - 00:47:25 MDT

Dear Mary,

I am trying to build NCL V6.1.2 on AIX 5.3 but i am getting the error as per the attachment. Please let me know what should be the probable cause behind this occurred error.

Regards
Amit

----- Original Message -----
From: "Mary Haley" <haley@ucar.edu>
To: "HCL Infosystems Ltd" <hpcssupport@tropmet.res.in>
Cc: ncl-talk@ucar.edu, gibiesgeorge@gmail.com, ncl-install@ucar.edu
Sent: Wednesday, February 6, 2013 9:50:19 PM
Subject: Re: ESMF Regrid

Dear Amit,

I no longer have access to an AIX system, as ours was decommissioned on January 31.

In the past, I have been unable to build cairo under AIX, and as of NCL V6.1.0, cairo is now a required
component for NCL. The compilation problems were due to using the xlf90/xlc compilers,
and I never got the chance to try GNU compilers.

You can try building NCL 6.1.0 (or 6.1.1) from source code to see if you have better luck
with building cairo. There were no problems building NCL itself using the xlxxx compilers.

You might also check if you already have "libcairo.so" on your system somewhere, and
link against that, instead of building it from source code.

The instructions for building NCL from source code can be found at:

http://www.ncl.ucar.edu/Download/build_from_src.shtml

The non-optional software that you have to build before you build NCL is listed at:

http://www.ncl.ucar.edu/Download/build_from_src.shtml#BuildNonOptionalSoftware

--Mary

On Feb 6, 2013, at 4:48 AM, HCL Infosystems Ltd wrote:

> Dear Mary,
>
> Please let me know whether NCL 6.1.0 precompiled version is available for download for AIX 5.3.
>
> Regards
> Amit Patil
>
>
> ----- Original Message -----
> From: "Mary Haley" <haley@ucar.edu>
> To: gibiesgeorge@gmail.com
> Cc: ncl-talk@ucar.edu, "HPCS Support IITM" <hpcssupport@tropmet.res.in>
> Sent: Tuesday, February 5, 2013 10:24:33 PM
> Subject: Re: ESMF Regrid
>
>
> Yes, you need to upgrade because you need to have the "sparse_matrix_mult"
> routine that's built into the 6.1.x "ncl" executable, and the ESMF_RegridWeightGen
> executable that comes with NCL V6.1.x.
>
> --Mary
>
> On Feb 5, 2013, at 8:46 AM, gibies george wrote:
>
>> Dear friends,
>>
>> I tried to use ESMF Regrid function in NCL v6.0.0 by manualy placing ESMF_regridding.ncl script on my working directory. It shows the following bunch of errors. Does it reveal that the upgradation of NCL to version 6.1.0 is necessary for using this function.
>>
>>
>> bash-3.2$ ncl regrid_test.ncl
>> Copyright (C) 1995-2011 - All Rights Reserved
>> University Corporation for Atmospheric Research
>> NCAR Command Language Version 6.0.0
>> The use of this software is governed by a License Agreement.
>> See http://www.ncl.ucar.edu/ for more details.
>> fatal:syntax error: line 226 in file ESMF_regridding.ncl before or near )
>> return(get_cpu_time()
>> ------------------------^
>>
>> fatal:error in statement
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 228 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 243 in file ESMF_regridding.ncl before or near )
>> diff_time = get_cpu_time()
>> -----------------------------^
>>
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 246 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 430 in file ESMF_regridding.ncl before or near \n
>> copy_VarAtts_except(inVar,outVar,"_FillValue")
>> --------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 432 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 884 in file ESMF_regridding.ncl before or near )
>> start_time = get_start_time()
>> ----------------------------------^
>>
>> fatal:syntax error: line 1048 in file ESMF_regridding.ncl before or near \n
>> print_elapsed_time(start_time,"unstructured_to_ESMF")
>> -----------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 1050 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 1078 in file ESMF_regridding.ncl before or near )
>> start_time = get_start_time()
>> ----------------------------------^
>>
>> fatal:syntax error: line 1236 in file ESMF_regridding.ncl before or near \n
>> print_elapsed_time(start_time,"curvilinear_to_SCRIP")
>> -----------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 1238 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 1255 in file ESMF_regridding.ncl before or near )
>> start_time = get_start_time()
>> ----------------------------------^
>>
>> fatal:syntax error: line 1277 in file ESMF_regridding.ncl before or near \n
>> curvilinear_to_SCRIP(FName,grid_center_lat,grid_center_lon,Opt2)
>> --------------------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:syntax error: line 1280 in file ESMF_regridding.ncl before or near \n
>> print_elapsed_time(start_time,"rectilinear_to_SCRIP")
>> -----------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 1282 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 1512 in file ESMF_regridding.ncl before or near \n
>> curvilinear_to_SCRIP(SCRIPFName,grid_center_lat,grid_center_lon,Opt)
>> ------------------------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 1513 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 1546 in file ESMF_regridding.ncl before or near )
>> start_time = get_start_time()
>> --------------------------------^
>>
>> fatal:syntax error: line 1667 in file ESMF_regridding.ncl before or near \n
>> curvilinear_to_SCRIP(FName,grid_center_lat,grid_center_lon,Opt)
>> -----------------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:syntax error: line 1674 in file ESMF_regridding.ncl before or near \n
>> print_elapsed_time(start_time,"latlon_to_SCRIP")
>> ----------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 1676 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 2045 in file ESMF_regridding.ncl before or near \n
>> copy_VarAtts_except(sd,sd_regrid,new_atts_to_skip)
>> --------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:syntax error: line 2047 in file ESMF_regridding.ncl before or near \n
>> copy_VarAtts_except(sd,sd_regrid,atts_to_skip)
>> ----------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 2060 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 2141 in file ESMF_regridding.ncl before or near )
>> start_time = get_start_time()
>> --------------------------------^
>>
>> fatal:syntax error: line 2317 in file ESMF_regridding.ncl before or near \n
>> print_elapsed_time(start_time,"ESMF_regrid_gen_weights")
>> ------------------------------------------------------------^
>>
>> fatal:syntax error: possibly an undefined procedure
>> fatal:Syntax Error in block, block not executed
>> fatal:error at line 2320 in file ESMF_regridding.ncl
>>
>> fatal:syntax error: line 2356 in file ESMF_regridding.ncl before or near )
>> start_time = get_start_time()
>> --------------------------------^
>>
>> fatal:syntax error: line 19 in file regrid_test.ncl before or near )
>> Opt@DstURCorner = (/ 90.d, 359.d)
>> ----------------------------------------^
>>
>> fatal:syntax error: line -1 before or near
>>
>> ^
>>
>> fatal:error in statement
>> warning:_NclRetrieveRec: Stack underflow
>>
>> warning:_NclRetrieveRec: Stack underflow
>>
>> warning:_NclRetrieveRec: Stack underflow
>>
>> warning:_NclRetrieveRec: Stack underflow
>>
>> warning:_NclRetrieveRec: Stack underflow
>>
>> warning:_NclRetrieveRec: Stack underflow
>>
>>
>> --
>> Gibies George,
>> CSIR-Senior Research Fellow,
>> Program for Model development and seasonal prediction,
>> Climate and Global Modelling Division,
>> Indian Institute of Tropical Meteorology,
>> Dr. Homi Bhabha Road,
>> NCL (P. O.), Pashan,
>> Pune 411008, India.
>> Tel. Off. +912025904423
>> Mobile : +919028523910
>> +919881707796
>>
>> http://sites.google.com/site/gibiesge/
>>
>>
>> <earth_day_graphics_11.gif>Every 3000 pages cost a tree; please do not print this e-mail unless you really need.
>>
>> SAVE TREES, SAVE MOTHER EARTH
>>
>>
>> _______________________________________________
>> ncl-talk mailing list
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>

Received on Wed Mar 20 01:01:32 2013

This archive was generated by hypermail 2.1.8 : Fri Mar 22 2013 - 16:45:18 MDT