You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On an ubuntu LTS 14.04 system (gcc-4.8.2 and HDF-1.8.11) if I ./configure && make I get:
mpicc -DHAVE_CONFIG_H -I. -I.. -DUSE_HDF5 -DUSE_GZDIR -g -O2 -MT libCitcomS_a-Output_h5.o -MD -MP -MF .deps/libCitcomS_a-Output_h5.Tpo -c -o libCitcomS_a- .o test -f 'Output_h5.c' || echo './'Output_h5.c
Output_h5.c: In function ‘h5output_coord’:
Output_h5.c:464:5: error: too few arguments to function ‘H5Dopen2’
dataset = H5Dopen(E->hdf5.file_id, "/coord");
There is a work around:
$ export CPPFLAGS=-DH5_USE_16_API
$ export CFLAGS=-DH5_USE_16_API
$ ./configure
Ideally CitcomS would be modified to be compatible with the current HDF by default, or ./configure changed to pass the right CFLAGS. Or at least a mention in the INSTALL file about the needed flags.
The text was updated successfully, but these errors were encountered:
On an ubuntu LTS 14.04 system (gcc-4.8.2 and HDF-1.8.11) if I ./configure && make I get:
mpicc -DHAVE_CONFIG_H -I. -I.. -DUSE_HDF5 -DUSE_GZDIR -g -O2 -MT libCitcomS_a-Output_h5.o -MD -MP -MF .deps/libCitcomS_a-Output_h5.Tpo -c -o libCitcomS_a- .o
test -f 'Output_h5.c' || echo './'
Output_h5.cOutput_h5.c: In function ‘h5output_coord’:
Output_h5.c:464:5: error: too few arguments to function ‘H5Dopen2’
dataset = H5Dopen(E->hdf5.file_id, "/coord");
There is a work around:
$ export CPPFLAGS=-DH5_USE_16_API
$ export CFLAGS=-DH5_USE_16_API
$ ./configure
Ideally CitcomS would be modified to be compatible with the current HDF by default, or ./configure changed to pass the right CFLAGS. Or at least a mention in the INSTALL file about the needed flags.
The text was updated successfully, but these errors were encountered: