Hello,
I run into an error when running the code in this post. As indicated in the post, I do
$ pip3 install --no-binary=h5py h5py meshio --user
Requirement already satisfied: h5py in /usr/local/lib/python3.6/dist-packages (3.1.0)
Requirement already satisfied: meshio in /usr/local/lib/python3.6/dist-packages (4.4.6)
Requirement already satisfied: cached-property in /usr/local/lib/python3.6/dist-packages (from h5py) (1.5.2)
Requirement already satisfied: numpy>=1.12 in /usr/lib/python3/dist-packages (from h5py) (1.13.3)
Requirement already satisfied: importlib-metadata in /usr/local/lib/python3.6/dist-packages (from meshio) (1.3.0)
Requirement already satisfied: zipp>=0.5 in /usr/local/lib/python3.6/dist-packages (from importlib-metadata->meshio) (0.6.0)
Requirement already satisfied: more-itertools in /usr/local/lib/python3.6/dist-packages (from zipp>=0.5->importlib-metadata->meshio) (8.0.2)
Then if I copy the code into example.py and run it, I get
$ python3 example.py
/usr/local/lib/python3.6/dist-packages/h5py/__init__.py:39: UserWarning: h5py is running against HDF5 1.10.0 when it was built against 1.12.0, this may cause problems
'{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
Traceback (most recent call last):
File "generate_3dmesh.py", line 24, in <module>
in_mesh = meshio.read("bot_mesh.xdmf")
File "/usr/local/lib/python3.6/dist-packages/meshio/_helpers.py", line 69, in read
return reader_map[file_format](filename)
File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 29, in read
return XdmfReader(filename).read()
File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 52, in read
return self.read_xdmf3(root)
File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 265, in read_xdmf3
data = self._read_data_item(data_item)
File "/usr/local/lib/python3.6/dist-packages/meshio/xdmf/main.py", line 111, in _read_data_item
f = h5py.File(full_hdf5_path, "r")
File "/usr/local/lib/python3.6/dist-packages/h5py/_hl/files.py", line 423, in __init__
fapl = make_fapl(driver, libver, rdcc_nslots, rdcc_nbytes, rdcc_w0, **kwds)
File "/usr/local/lib/python3.6/dist-packages/h5py/_hl/files.py", line 115, in make_fapl
plist.set_libver_bounds(low, high)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5p.pyx", line 1174, in h5py.h5p.PropFAID.set_libver_bounds
ValueError: Invalid high library version bound (invalid high library version bound)
Do you know what is going on ?
Thanks