<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Dear all<br>
<br>
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.<br>
<br>
With pv5.4, I can import h5py without any problem.<br>
<br>
With 5.5RC3, the Cray compute node segfaults.<br>
<br>
My Linux desktop also fails, with some more helpful messages:<br>
<br>
./bin/pvpython<br>
Python 3.5.2 (default, Nov 23 2017, 16:37:01) <br>
[GCC 5.4.0 20160609] on linux<br>
Type "help", "copyright", "credits" or "license" for more information.<br>
>>> import h5py<br>
HDF5-DIAG: Error detected in HDF5 (1.8.16) thread 139885606496192:<br>
#000: ../../../src/H5.c line 825 in H5open(): library initialization failed<br>
major: Function entry/exit<br>
minor: Unable to initialize object<br>
#001: ../../../src/H5.c line 211 in H5_init_library(): unable to initialize dataset interface<br>
major: Function entry/exit<br>
minor: Unable to initialize object<br>
#002: ../../../src/H5Dint.c line 141 in H5D_init(): interface initialization failed<br>
major: Function entry/exit<br>
minor: Unable to initialize object<br>
#003: ../../../src/H5Dint.c line 183 in H5D__init_interface(): can't get default dataset creation property list<br>
major: Dataset<br>
minor: Inappropriate type<br>
Traceback (most recent call last):<br>
File "<stdin>", line 1, in <module><br>
File "/usr/lib/python3/dist-packages/h5py/__init__.py", line 46, in <module><br>
from ._hl.base import is_hdf5, HLObject<br>
File "/usr/lib/python3/dist-packages/h5py/_hl/base.py", line 79, in <module><br>
dlapl = default_lapl()<br>
File "/usr/lib/python3/dist-packages/h5py/_hl/base.py", line 66, in default_lapl<br>
lapl = h5p.create(h5p.LINK_ACCESS)<br>
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper (/build/h5py-nQFNYZ/h5py-2.6.0/h5py/_objects.c:2577)<br>
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper (/build/h5py-nQFNYZ/h5py-2.6.0/h5py/_objects.c:2536)<br>
File "h5py/h5p.pyx", line 135, in h5py.h5p.create (/build/h5py-nQFNYZ/h5py-2.6.0/h5py/h5p.c:2613)<br>
ValueError: Not a property list class (Not a property list class)<br>
<br>
<br>
The use case is really to use h5py in Python Programmable Sources, but I see that pvpython fails too.<br>
<br>
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.<br>
<br>
Yes, I export HDF5_DISABLE_VERSION_CHECK=2 to get rid of warnings.<br>
<br>
Jean/CSCS<br>
</div>
</body>
</html>