Closed dschwoerer closed 3 years ago
I'm experiencing the same error on the next
branch.
Discussed further here: https://bout-project.slack.com/archives/C342FU99V/p1598625050056600
It looks like we don't include --with-hdf
to the configuration on any of the Travis builds, even though some (all?) have HDF5 installed. I think we probably should test it, and remove the #requires: all_tests
from test-io_hdf5/runtest
so we have some testing. Not sure it would have caught this issue, unless we make one of the tests only use HDF5 with netCDF disabled (which might not be a bad idea also!).
I've got a fix for this. It turns out that when reading/writing a variable length string, you need to pass char**
. There is actually a C++ API for HDF5 that we might want to use instead, but it's not built by default. It looks like most of the major distros package it at least. I'm not sure how prevalent it is on clusters/supercomputers though.
I will enable HDF5 on Travis, but I've now found test-restart-io_hdf5
fails -- just trying to fix that first.
Fixed in #2102
Seems to be broken: