Skip to content

Citcoms incompatible with current HDF. #2

@spikebike

Description

@spikebike

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions