Re: Help: errors in running the example "ESMF_regrid_1.ncl"

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Jul 12 2013 - 11:19:04 MDT

The problem is that the "ESMF_RegridWeightGen" executable has a shared library dependency called "libgomp.1.dylib" that your system either doesn't have, or can't find.
If you type "libgomp.1.dylib" in the NCL search window, several links to previous ncl-talk questions on this come up. See:

http://www.ncl.ucar.edu/Support/talk_archives/2012/3229.html

I believe the issue is that you either have a gcc that is too old for the version of NCL that you downloaded, or else it was installed in a location that NCL can't find.

You may either need to upgrade your gcc version, or else try building your own version of ESMF_RegridWeightGen, which is not very trivial.

--Mary

On Jul 12, 2013, at 8:06 AM, heaven_bird334 <heaven_bird334@163.com> wrote:

> Dear NCL users,
> I'm learning how to use NCL function "ESMF_regrid" in analyzing CMIP5 datasets. I started it from repeating the example "ESMF_regrid_1.ncl" . Before running this example, I downloaded the script and data firstly as follows:
> User_at_MacBook-5:/ESMF_regrid[247] wget http://www.ncl.ucar.edu/Applications/Data/cdf/sst.nc
> User_at_MacBook-5:/ESMF_regrid[248] wget http://www.ncl.ucar.edu/Applications/Scripts/ESMF_regrid_1.ncl
> User@MacBook-5:/ESMF_regrid[249] ls
> ESMF_regrid_1.ncl sst.nc
>
> When I run this script, the errors came out. These coming out errors really puzzled me a lot. And it also stopped my proceeding in using NCL function "ESMF_regrid". Any suggestion or help is thankworthy.
>
>
>
> My NCL version is 6.1.2 and my computer is Mac OS X 10.7.5.
> The error informations are as the following:
>
> User@MacBook-5:/ESMF_regrid[249] ncl ESMF_regrid_1.ncl
> Copyright (C) 1995-2013 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.2
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> dyld: Library not loaded: /usr/local/lib/libgomp.1.dylib
> Referenced from: /opt/local/NCL6.1.2/bin/ESMF_RegridWeightGen
> Reason: image not found
> fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function
> fatal:["Execute.c":8128] :Execute: Error occurred at or near line 2291 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 3166 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":8128]:Execute: Error occurred at or near line 58 in file ESMF_regrid_1.ncl
>
>
> Best Regards,
> Xiao-Feng
>
>
>
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Fri Jul 12 11:19:10 2013

This archive was generated by hypermail 2.1.8 : Fri Jul 12 2013 - 16:37:39 MDT