I am not sure if this concerns dolfin
per se, but I am having trouble converting a quadrilateral mesh generated in Abaqus
using meshio
. I pip-
installed meshio[all]
but it raises a version error when writing to a xdmf
file.
meshio
version: 3.1.1
- MWE:
import meshio
mFile = meshio.read('trialMesh.inp')
pts, clls = mFile.points, mFile.cells
msh_meshio = meshio.Mesh(pts, clls)
meshio.write('trialMeshio_convert.xdmf',msh_meshio)
/usr/local/lib/python3.6/dist-packages/h5py/__init__.py:75: UserWarning: h5py is running against HDF5 1.10.0 when it was built against 1.10.4, this may cause problems
'{0}.{1}.{2}'.format(*version.hdf5_built_version_tuple)
Traceback (most recent call last):
File "test_quads_convert.py", line 49, in <module>
meshio.write('trialMeshio_convert.xdmf',msh_meshio)
File "/usr/local/lib/python3.6/dist-packages/meshio/_helpers.py", line 240, in write
return interface.write(filename, mesh, *args, **_kwargs)
File "/usr/local/lib/python3.6/dist-packages/meshio/_xdmf/main.py", line 465, in write
XdmfWriter(*args, **kwargs)
File "/usr/local/lib/python3.6/dist-packages/meshio/_xdmf/main.py", line 275, in __init__
self.h5_file = h5py.File(self.h5_filename, "w")
File "/usr/local/lib/python3.6/dist-packages/h5py/_hl/files.py", line 391, 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 108, 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 1140, in h5py.h5p.PropFAID.set_libver_bounds
ValueError: Invalid high library version bound (invalid high library version bound)