Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Citcoms incompatible with current HDF. #2

Open
spikebike opened this issue May 30, 2014 · 0 comments · May be fixed by #5
Open

Citcoms incompatible with current HDF. #2

spikebike opened this issue May 30, 2014 · 0 comments · May be fixed by #5

Comments

@spikebike
Copy link

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.

@QuLogic QuLogic linked a pull request Oct 6, 2015 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant