[ncl-install] Install ncl 6.1.0 on CentOS 6.3 i386

魏士偉 weiwilliam1987 at gmail.com
Wed Dec 19 18:04:09 MST 2012


Hello, thanks your reply.
My netCDF version is 3.6.3
And I checked my Site.local(below),

#define BuildRasterHDF 0
#define HDFlib
#define BuildHDF4 0
#define HDFlib
#define UseNetCDF4Features 0
#define BuildNetCDF4 0
#define NetCDF4lib
#define BuildTRIANGLE 0
#define BuildUdunits 0
#define UdUnitslib
#define BuildHDFEOS 0
#define HDFEOSlib
#define BuildHDFEOS5 0
#define HDFEOS5lib
#define BuildHDF5 0
#define HDF5lib
#define BuildGRIB2 0
#define GRIB2lib

I think I didn't let NCL to compile for NetCDF4.
And I remember when I ran the Configure script, I choose "n" over every
file format support option.
It's so strange~~~ Should I try to install with NetCDF4?@@


2012/12/20 Mary Haley <haley at ucar.edu>

>
> Hi,
>
> I haven't seen these kind of errors before, but my guess is that you
> indicated that you wanted NetCDF4 support when you ran the ./Configure
> script, but are linking against NetCDF libraries that weren't compiled with
> NetCDF 4 support turned on (it's possible to compile NetCDF libraries with
> both NetCDF3 and NetCDF4 support).
>
> What version of NetCDF are you linking against? Did you compile that
> version of NetCDF with "--enable-netcdf-4" set?
>
> --Mary
>
> On Dec 19, 2012, at 4:13 AM, 魏士偉 wrote:
>
> > I met an error when compile ncl
> > my gcc compiler's version is 4.4.6
> > =================================================================
> > Execute.o: In function `CallLIST_READ_FILEVAR_OP':
> > Execute.c:(.text+0xf8d6): undefined reference to
> `_getVarNodeFromNclFileGrpNode'
> > Execute.c:(.text+0xfd9b): undefined reference to
> `_getVarNodeFromNclFileGrpNode'
> > Symbol.o: In function `_NclReadFileVarCoord':
> > Symbol.c:(.text+0x383c): undefined reference to
> `_getVarNodeFromNclFileGrpNode'
> > Symbol.o: In function `_NclReadFileVar':
> > Symbol.c:(.text+0x3b4a): undefined reference to
> `_getVarNodeFromNclFileGrpNode'
> > Symbol.o: In function `_NclGetFileVarCoordInfo':
> > Symbol.c:(.text+0x404d): undefined reference to
> `_getVarNodeFromNclFileGrpNode'
> > Symbol.o:Symbol.c:(.text+0x43c8): more undefined references to
> `_getVarNodeFromNclFileGrpNode' follow
> > collect2: ld 回傳 1
> > make[4]: *** [ncl] Error 1
> > make[4]: Leaving directory `/home/weiwilliam/ncl_ncarg-6.1.0/ni/src/ncl'
> > ==================================================================
> >
> > I search it on internet, but I didn't find the solution.
> > Did anyone have this problem??
> > Thanks a lot.
> > _______________________________________________
> > 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/20121220/9c4db5b6/attachment.html 


More information about the ncl-install mailing list