Re: ESMF

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Oct 12 2012 - 15:33:35 MDT

What version of gfortran do you have?

    gfortran --version

This particular version of NCL was built with gcc/gfortran 4.2.1. We try to keep the libgfortran references out of ncl, but sometimes they get in there.

So, in order to run ncl in this case, you may need to install gfortran 4.2.1, and then point the DYLD_LIBRARY_PATH environment variable to the location of the libgfortran.so file.

--Mary

On Oct 12, 2012, at 3:11 PM, Mingxuan Chen wrote:

> Hello,
> There is the error message when I run test_regrid.ncl ( attached). when I use ncl_filedump , it has the similar error.
> My machine: Os X version 10.8.2, and ncl is version 6.1.0-beta installed from ncl_ncarg-6.1.0-beta.MacOS_10.7_x86_64_gcc421.tar.gz.
> Thanks you fore your help!
> Mingxuan
> ---------------------------------------------------------------------------------------------
> fjord 14:37 /Users/chen/CMIP5/GFDL> ncl test_regrid.ncl
> Copyright (C) 1995-2012 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.0-beta
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
> dyld: lazy symbol binding failed: Symbol not found: __gfortran_transfer_integer_write
> Referenced from: /usr/local/bin/ESMF_RegridWeightGen
> Expected in: /usr/local/gfortran/lib/libgfortran.3.dylib
>
> dyld: Symbol not found: __gfortran_transfer_integer_write
> Referenced from: /usr/local/bin/ESMF_RegridWeightGen
> Expected in: /usr/local/gfortran/lib/libgfortran.3.dylib
>
> fatal:The result of the conditional expression yields a missing value. NCL can not determine branch, see ismissing function
> fatal:["Execute.c":7556]:Execute: Error occurred at or near line 1972 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
>
> fatal:["Execute.c":7556]:Execute: Error occurred at or near line 2697 in file $NCARG_ROOT/lib/ncarg/nclscripts/esmf/ESMF_regridding.ncl
> ---------------------
> <test_regrid.ncl>
> ------------------
> fjord 15:02 /Users/chen/CMIP5/GFDL> ncl_filedump -v lat /pond/chen/CMIP5/GFDL/tos_86-05_GFDL.nc
> Copyright (C) 1995-2012 - All Rights Reserved
> University Corporation for Atmospheric Research
> NCAR Command Language Version 6.1.0-beta
> The use of this software is governed by a License Agreement.
> See http://www.ncl.ucar.edu/ for more details.
>
> Variable: f
> Type: file
> filename: tos_86-05_GFDL
> path: /pond/chen/CMIP5/GFDL/tos_86-05_GFDL.nc
> file global attributes:
> dimensions:
> time = 7300
> rlat = 210
> rlon = 360
> vertices = 4
> variables:
> double time ( time )
> bounds : time_bnds
> cartesian_axis : T
> calendar_type : noleap
> long_name : time
> units : days since 1861-01-01 00:00:00
> calendar : noleap
> axis : T
> standard_name : time
>
> double rlat ( rlat )
> units : degrees
> long_name : latitude in rotated pole grid
> axis : Y
> standard_name : grid_latitude
>
> double rlon ( rlon )
> units : degrees
> long_name : longitude in rotated pole grid
> axis : X
> standard_name : grid_longitude
>
> double lat ( rlat, rlon )
> units : degrees_north
> long_name : latitude coordinate
> bounds : lat_vertices
> standard_name : latitude
>
> double lon ( rlat, rlon )
> units : degrees_east
> long_name : longitude coordinate
> bounds : lon_vertices
> standard_name : longitude
>
> double lat_vertices ( rlat, rlon, vertices )
> units : degrees_north
>
> integer vertices ( vertices )
>
> double lon_vertices ( rlat, rlon, vertices )
> units : degrees_east
>
> float tos ( time, rlat, rlon )
> name : tos
> long_name : Sea Surface Temperature
> cell_methods : time: mean area: mean where sea
> units : K
> missing_value : 1e+20
> coordinates : lat lon
> _FillValue : 1e+20
> standard_name : sea_surface_temperature
> cell_measures : area: areacello
> comments : Note: This model output is presented on the model's tripolar grid. The North Pole singularity is avoided by using this nonregular grid north of 65N. More information about the ocean and sea ice model's grid can be found at http://nomads.gfdl.noaa.gov/.
> original_name : tos
> original_units : K
> associated_files : baseURL: http://cmip-pcmdi.llnl.gov/CMIP5/dataLocation gridspecFile: gridspec_ocean_fx_GFDL-ESM2G_historical_r0i0p0.nc areacello: areacello_fx_GFDL-ESM2G_historical_r0i0p0.nc
>
>
> Variables:
>
> Variable No. 0
> dyld: lazy symbol binding failed: Symbol not found: __gfortran_transfer_integer_write
> Referenced from: /usr/local/bin/ncl
> Expected in: /usr/local/gfortran/lib/libgfortran.3.dylib
>
> dyld: Symbol not found: __gfortran_transfer_integer_write
> Referenced from: /usr/local/bin/ncl
> Expected in: /usr/local/gfortran/lib/libgfortran.3.dylib
>
> Trace/BPT trap
>
>
> _______________________________________________
> 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 Oct 12 15:33:43 2012

This archive was generated by hypermail 2.1.8 : Fri Oct 12 2012 - 15:38:19 MDT