netcdf-hdf mailing list is no longer active. The list archives are made available for historical reasons.
Hello,I'm attempting to build NetCDF version beta 4.0 including support for HDF5 using version 1.8.0 beta 4. My system is running an up-to-date installation of FedoraCore 7, the gcc and g95 compilers and has open MPI installed.
My build of HDF5 passed 'make check' with no problems. On building NetCDF (for C, FORTRAN and parallel IO but not C++) I hit problems which I've fixed with the patch provided here:
After patching, my build gets further but fails with:libtool: compile: mpicc -DHAVE_CONFIG_H -I. -I. -I.. -I../fortran -I../libsrc4 -I../libsrc -I/usr/local/hdf5-1.8.0-beta4/hdf5/include -I/usr/local/hdf5-1.8.0-beta4/hdf5/include -g -O2 -MT nc4attr.lo -MD -MP -MF .deps/nc4attr.Tpo -c nc4attr.c -o nc4attr.o
nc4attr.c: In function 'nc_del_att': nc4attr.c:777: error: too few arguments to function 'H5Adelete2' make: *** [nc4attr.lo] Error 1 make: Leaving directory `/usr/local/netcdf-4.0-beta1/libsrc4' Does anyone have any suggestions as to what might be going wrong? Many thanks, Andy. -- Andrew Porter Computational Scientist Advanced Research Computing Group Computational Science and Engineering Dept. STFC Daresbury Warrington WA4 4AD Tel: 01925 603362