[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 950215: parameter too big?
- Subject: Re: 950215: parameter too big?
- Date: Wed, 15 Feb 1995 20:34:45 -0700
> Organization: CSIRO
> Keywords: 199502152336.AA15102
Hi Tony,
> We have just installed NetCDF, and it will be used with our atmospheric
> data.
>
> On compiling (FORTRAN), the following error occurs in the include file
> "netcdf.inc" ,
>
> "netcdf.inc", line 32: Error: data value too large
>
> at line:
> parameter(FILLONG = -2147483648)
>
> Does this value need to be changed for our system setup?
>
> netCDF : version 2.3.2 downloaded from unidata.ucar.edu
> Platform: Sun SPARC10
> Opsys : SunOS
> compiler: FORTRAN 77
It looks like you are using an old version of a "netcdf.inc" file from a
netCDF release of more than 2 years ago, when the Fortran interface didn't
share fill values with the C interface. In the 2.3.2 release, there is no
parameter named FILLONG defined in netcdf.inc. The netcdf.inc file is
generated when you are building the release from the source by the
fortran/fortc script, and the resulting "netcdf.inc" file for OS=sunos
begins like this:
c
c Functions in the FORTRAN interface
integer nccre, ncopn, ncddef, ncdid, ncvdef, ncvid, nctlen
integer ncsfil
external nccre, ncopn, ncddef, ncdid, ncvdef, ncvid, nctlen
external ncsfil
integer NCRDWR,NCCREAT,NCEXCL,NCINDEF,NCNSYNC,NCHSYNC
integer NCNDIRTY,NCHDIRTY,NCLINK,NCNOWRIT,NCWRITE
The "make install" step should install the "netcdf.inc" file into an
appropriate include file directory.
Perhaps there is still an old netcdf.inc file from a previous installation
that is getting accessed instead of the new netcdf.inc file, either because
the path names for searching for include files include the old installation
directory before the new one, or because the new "netcdf.inc" file hasn't
been installed yet.
______________________________________________________________________________
Russ Rew UCAR Unidata Program
address@hidden P.O. Box 3000
http://www.unidata.ucar.edu/ Boulder, CO 80307-3000
______________________________________________________________________________