Hi David,
> The Makefile in the g2clib-1.x.x directory should have a line like the
> following at the top when compiled for a 64 bit architecture:
>
> DEFS=-DUSE_JPEG2000 -DUSE_PNG -D__64BIT__
That was the problem exactly.
I rebuilt the latest Fedora package g2clib-1.2.1-1.el6 with that change, then rebuilt NCL against that. The test case now works.
I'll suggest to the Fedora package maintainer that they add the flag to 64bit architectures.
> I would also note that we use a slightly modified version of the grib2c
> library code that corrects a few errors (although the newest version has
> incorporated many of our changes).
> We can give you our version if you like.
Thank you, I would be interested in that.
Chris Edsall
Please consider the environment before printing this email.
NIWA is the trading name of the National Institute of Water & Atmospheric Research Ltd.
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Feb 16 21:32:29 2011
This archive was generated by hypermail 2.1.8 : Thu Feb 17 2011 - 22:00:17 MST