[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #NHN-213049]: Which netcdf4 release to build with hdf5, please.



Hello,

The latest releases you are using should be fine; which is to say netCDF-C 
4.4.0 and netCDF-Fortran 4.4.3.  You should also use hdf5 1.8.16; they have 
recently released hdf5 1.10, but this will produce files that cannot be read by 
netcdf systems using older versions of the library.

The `--with-hdf5=` option is not used by netCDF.  Instead, you should use 
CFLAGS and LDFLAGS to set the location of your hdf5 library.  If you provide 
the config.log file generated when you run `configure`, I can try to provide 
more specific help.

I hope this is useful,

-Ward

> Dear Lady or Sir
> 
> I have been trying to build netcdf for Fortran (gfortran compiler)
> under Linux Ubuntu
> 
> info on my platform:
> 
> Linux AA 3.2.0-101-generic #141-Ubuntu SMP Thu Mar 10 21:43:24 UTC 2016 
> x86_64 x86_64 x86_64 GNU/Linux
> 
> but I have ever gotten configuration errors when working with releases
> netcdf-4.0.1, netcdf-4.4.0 or netcdf-fortran-4.4.3.
> 
> Although the configuration error varies with from release to release,
> it is always related with the hdf5 library, which I had built before
> many times.
> 
> It seems that I should work with a particular netcdf release to be able
> to work with netcdf4 in F90.
> 
> My configuration command has been
> 
> ./configure --enable-netcdf-4
> --with-hdf5=DIR --with-zlib=DIR --with-szlib=DIR --prefix=DIR >& 
> configuration.out
> 
> (hdf5 was built after zlib and szlib, these ones without the flag
> FC=-fPIC before the respective configure commands - I just need hdf5
> static libraries).
> 
> I would appreciate the kindness of your attention in telling me which
> netCDF release should I work with for using the module netcdf4 in my
> F90 programs.
> 
> I thank you for your attention.
> 
> Kind regards
> 
> Arlindo Arriaga
> 
> 
> 


Ticket Details
===================
Ticket ID: NHN-213049
Department: Support netCDF
Priority: Normal
Status: Closed