Hi,
Compilation of IOR with hdf5/1.8.2.2 fails with the following message :
make CC=cc hdf5
cc -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -I/include -c aiori-HDF5.c
/opt/cray/xt-asyncpe/2.4/bin/cc: INFO: linux target is being used
PGC-S-0141-Wrong number of parameters to function (aiori-HDF5.c: 560)
PGC-S-0141-Wrong number of parameters to function (aiori-HDF5.c: 563)
PGC/x86-64 Linux 8.0-4: compilation completed with severe errors
make: *** [aiori-HDF5.o] Error 2
The code is :
dataSet = H5Dcreate(*(hid_t *)fd, dataSetName, H5T_NATIVE_LLONG,dataSpace, dataSetPropList);
What's wrong ?
apologies for the slow response.
Add '-D H5_USE_16_API' to the CCFLAGS setting you are using in Makefile.config. This will pull the correct interface, assuming that your HDF5 libs are built with v1.6 compatibility.
The compatibility issues resulting from the interface change for H5Dcreate and a number of other functions is handled via macros, described at this web site:
http://www.hdfgroup.org/HDF5/doc/RM/APICompatMacros.html#FunctionLevelSettings
Thanks for the info
Seems that the build flag is not sufficient to get this running over HDF5 1.8.2.
Looking at it.
fix already in repos, working ok.