[Paraview-developers] ParaView 5.5.0-RC3 problem importing h5py?
Favre Jean
jfavre at cscs.ch
Wed Mar 14 16:09:20 EDT 2018
Dear all
I have PV5.4 and pv5.5RC3 installed on my desktop and the Cray. Using python3 on both systems. Using the same modules for both versions.
With pv5.4, I can import h5py without any problem.
With 5.5RC3, the Cray compute node segfaults.
My Linux desktop also fails, with some more helpful messages:
./bin/pvpython
Python 3.5.2 (default, Nov 23 2017, 16:37:01)
[GCC 5.4.0 20160609] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import h5py
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 139885606496192:
#000: ../../../src/H5.c line 825 in H5open(): library initialization failed
major: Function entry/exit
minor: Unable to initialize object
#001: ../../../src/H5.c line 211 in H5_init_library(): unable to initialize dataset interface
major: Function entry/exit
minor: Unable to initialize object
#002: ../../../src/H5Dint.c line 141 in H5D_init(): interface initialization failed
major: Function entry/exit
minor: Unable to initialize object
#003: ../../../src/H5Dint.c line 183 in H5D__init_interface(): can't get default dataset creation property list
major: Dataset
minor: Inappropriate type
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python3/dist-packages/h5py/__init__.py", line 46, in <module>
from ._hl.base import is_hdf5, HLObject
File "/usr/lib/python3/dist-packages/h5py/_hl/base.py", line 79, in <module>
dlapl = default_lapl()
File "/usr/lib/python3/dist-packages/h5py/_hl/base.py", line 66, in default_lapl
lapl = h5p.create(h5p.LINK_ACCESS)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/build/h5py-nQFNYZ/h5py-2.6.0/h5py/_objects.c:2577)
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/build/h5py-nQFNYZ/h5py-2.6.0/h5py/_objects.c:2536)
File "h5py/h5p.pyx", line 135, in h5py.h5p.create (/build/h5py-nQFNYZ/h5py-2.6.0/h5py/h5p.c:2613)
ValueError: Not a property list class (Not a property list class)
The use case is really to use h5py in Python Programmable Sources, but I see that pvpython fails too.
Anyone has tested importing h5py? I have the python3-h5py package installed from the standard rep. Outside of ParaView, python3 and h5py are working just fine.
Yes, I export HDF5_DISABLE_VERSION_CHECK=2 to get rid of warnings.
Jean/CSCS
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://public.kitware.com/pipermail/paraview-developers/attachments/20180314/26a6c757/attachment.html>
More information about the Paraview-developers
mailing list