Re: Instalation Issue - NCL v. 6.1.2

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Fri Mar 01 2013 - 15:24:12 MST

Dear Simon,

The NclNetCDF4.c file shouldn't be getting compiled if you answered "no" to
the $NCARG/Configure question: "Build NetCDF4 feature support?"

When you answer "no" to this question, it's supposed to insert the following
line in your $NCARG/config/Site.local file:

#define BuildNetCDF4 0

Can you check if you have this line, and if not, then add it.
Also, make sure you do *not* have the line:

#define BuildNetCDF4 1

Once you do this, try running "make Everything" again to see if this fixes the problem.

If this doesn't fix the problem, then send me your Site.local file.

--Mary

On Mar 1, 2013, at 12:17 PM, Szymon Pysz wrote:

> Hi,
>
> I am using SL 5.9 and I am not able to compile with success NCL. The error
> which I get all the time is the:
>
> NclNetCDF4.c:(.text+0x835): undefined reference to `nc_inq_grpname'
> NclNetCDF4.c:(.text+0x9bf): undefined reference to `nc_inq_grps'
> NclNetCDF4.c:(.text+0xac1): undefined reference to `nc_inq_dimids'
> NclNetCDF4.c:(.text+0xad3): undefined reference to `nc_inq_unlimdims'
> NclNetCDF4.c:(.text+0xb07): undefined reference to `nc_inq_unlimdims'
> NclNetCDF4.c:(.text+0xf65): undefined reference to `nc_inq_user_type'
> NclNetCDF4.c:(.text+0x11de): undefined reference to `nc_inq_var_chunking'
> NclNetCDF4.c:(.text+0x1220): undefined reference to `nc_inq_var_deflate'
>
> Version of my NetCDF 4.1.3 and I have compiled with --disable-netcdf-4. As
> someone suggested here it should be work, but it doesn't. I have no idea, why
> NCL want to link this features.
>
> I also tried compile NetCDF with netcdf-4, but I still get this error! Why?
>
> But what is courious I have no problem with this on another system (Gentoo). I
> cannot figure out where exactly is problem.
>
> It is very annoying. How omitted this issue? Some change of code or what?
> Change versions SL it's not possible ;-)
>
> Software:
> Compiler: Intel Fortran v. 12.1.5 (NetCDF was also compiled by this)
> szip 2.1
> cairo 1.11
> g2clib 1.2.3
> triangle
>
> Regards,
> Simon
> _______________________________________________
> ncl-install mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-install

_______________________________________________
ncl-install mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-install
Received on Fri Mar 1 15:25:22 2013

This archive was generated by hypermail 2.1.8 : Fri Apr 05 2013 - 10:21:40 MDT