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

[netCDF #BCK-607109]: netcdf 4.0.1 problems



> 
> Hello,
> 
> These are some problems I noticed during an installation on Linux (x86_64):
> 
> 1. multilib support is missing.
> 
> 2. Related: it is not possible to use zlib/hdf5 if these are in
> /some_dir/lib64 rather than /some_dir/lib.
> 

Can you tell me (if you know) a better way to handle this?

> 3. If zlib/hdf5 directory is specified as /some_dir, /some_dir is put in
> some config files instead of /some_dir/lib (e.g. -L/some_dir in
> ${prefix}/lib/pkgconfig/netcdf.pc).

Thanks, this previously reported bug has been fixed. The fix is available in 
the snapshot release.

> 
> 4. If --libdir is used with configure, libdir in ${prefix}/bin/nc-config
> is incorrect.

I'm not sure how to fix this.

> 
> 5. The man page netcdf_f90.3 is for netcdf3.
> 

Correct, that needs to be updated.

> 6. If I configure with --enable-netcdf-4, but --with-hdf5 is not
> specified (as the files are in path), fortran/fort-nc4.c is excluded
> from build and the library is incomplete (make check fails during link).
> 

I am anticipating addressing this problem in the code right after the upcoming 
4.1 release.

> 7. make check fails (a test program does not compile). The patch below
> fixes this.
> 
> diff -ur netcdf-4.0.1.orig/libsrc4/tst_converts2.c
> netcdf-4.0.1/libsrc4/tst_converts2.c
> --- netcdf-4.0.1.orig/libsrc4/tst_converts2.c   2008-10-20
> 03:48:09.000000000 +0200
> +++ netcdf-4.0.1/libsrc4/tst_converts2.c        2010-01-15
> 12:05:46.000000000 +0100
> @@ -7,7 +7,7 @@
> $Id: tst_converts2.c,v 1.11 2008/10/20 01:48:09 ed Exp $
> */
> 
> -#include <netcdf.h>
> +#include "netcdf.h"
> #include <nc_tests.h>
> 

Thanks, I have applied that patch, but I don't see why this failed for you.

There are several structural changes we are planning to make in the code after 
the 4.1 release, including redoing how dependent libraries (like HDF5) are 
handled in the build.

Thanks,

Ed

Ticket Details
===================
Ticket ID: BCK-607109
Department: Support netCDF
Priority: Normal
Status: Closed