Re: netcdf-4.0-beta1 release now available on netCDF web site...

Jeff Whitaker wrote:
Roy Mendelssohn wrote:
Hi Jeff:

Are you building it with Fortran enabled. If so, can you tell me what gfortran you are using, and what other settings you have. It fails for me on OSX.

Thanks,

-Roy M.
On Apr 23, 2007, at 11:35 AM, Jeff Whitaker wrote:

Ed Hartnett wrote:
Howdy all!

With the recent release of HDF5 1.8.0-beta1, it is now possible for us
to release netCDF-4.0-beta1, and it is now available from the netCDF
web site:
http://www.unidata.ucar.edu/software/netcdf/

The netCDF-4.0 beta release requires HDF5 1.8.0-beta1, and
zlib-1.2.3. These can be obtained from the netCDF-4 FTP site:
ftp://ftp.unidata.ucar.edu/pub/netcdf/netcdf-4

Build instructions can be found here:
http://www.unidata.ucar.edu/software/netcdf/docs_beta/netcdf-install.html#Quick-Instructions-for-Installing-NetCDF-on-Unix

Documentation for this release can be found on the netCDF beta
documentation page:
http://www.unidata.ucar.edu/software/netcdf/docs_beta/

For more information about this release, see the netCDF-4.0 beta
release notes:
http://www.unidata.ucar.edu/software/netcdf/release-notes-4.0-beta.html

Recent changes in netCDF-4.0 include the use of the new creation
ordering capabilities of HDF5 1.8.0. Since this feature was added to
HDF5 very recently, the HDF5-1.8.0 beta1 release is now required for
netCDF-4.0; previous versions of HDF5 will no longer work.

Build output from a variety of platforms may be found at the netCDF-4
snapshot build page:
http://www.unidata.ucar.edu/software/netcdf/builds/snapshot/index_4.html

The version 4.0 release of netCDF includes many new features, with a
correspondingly higher risk of bugs in the code and the
documentation. Please report any problems to
support-netcdf@xxxxxxxxxxxxxxxxx

Thanks!

Ed



Roy:  gfortran doesn't work for me either on OS X (error below):


libtool: compile: gfortran -I../libsrc4 -I. -g -O2 -c netcdf4.f90 -o netcdf4.o
netcdf4_constants.f90:23.23:
   Included at netcdf4.f90:43:

    nf90_fill_ubyte  = Z'FF',                           &
                     1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(1) at (1)
netcdf4_constants.f90:26.23:
   Included at netcdf4.f90:43:

    nf90_fill_ushort = Z'FFFF',                         &
                     1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(2) at (1)
netcdf4_constants.f90:29.23:
   Included at netcdf4.f90:43:

    nf90_fill_uint   = Z'FFFFFFFF'
                     1
Error: Arithmetic overflow converting INTEGER(8) to INTEGER(4) at (1)
make[2]: *** [netcdf4.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2


which looks like a legitimate error to me.

Setting FC=g95, F77=g95 compiles, but make check fails with a linker error (not finding symbols with two underscores).

-Jeff


Roy: I've got it to work with gfortran - the trick is to use FFLAGS = -fno-range-check.

If you're getting an error in configure that says "error: Fortran could not compile .f90 files", your gfortran is too old. You can update by installing the gcc42 fink package, or grab a binary from http://gcc.gnu.org/wiki/GFortranBinaries.

-Jeff

--
Jeffrey S. Whitaker         Phone  : (303)497-6313
Meteorologist               FAX    : (303)497-6449
NOAA/OAR/PSD  R/PSD1        Email  : Jeffrey.S.Whitaker@xxxxxxxx
325 Broadway                Office : Skaggs Research Cntr 1D-124
Boulder, CO, USA 80303-3328 Web    : http://tinyurl.com/5telg

==============================================================================
To unsubscribe netcdf-hdf, visit:
http://www.unidata.ucar.edu/mailing-list-delete-form.html
==============================================================================