New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[ppc64le] test suite failing on power9 #1244
Comments
Thanks. That's a bit confusing. It seems that creating a dataset with |
I noted the same ... Some tests have easy workaround and I am preparing a PR but the float64 attribute which ends in long-double hides something deeper. |
Hi Thomas, I confirm that the setting of an attribute with an array of type "big-endian float64" results in a bug.
I can provide a PR for the other 2 failing tests but this one deserves further investigation |
One thing I did notice is that the values for ppc64le is different to that of ppc64: Lines 308 to 317 in 369d9cf
I'd expect the mantissa size to be the same. Could that be the issue? @kif What format is np.float128 and np.longdouble (e.g. double-double, ieee quad)? |
Hi James, Unfortunately, numpy sees the numpy.float128 as numpy.longdouble (in conformance with numpy's doc) which is:
|
Tried to import 2.10.0 in Fedora rawhide, got
|
On ppc64le we are upcasting 64 bit big endian floats to 128bit big endian floats and then making the value 0? It looks like we are seeing similar failures on conda-forge trying to build the 2.9 packages on ppc64le https://travis-ci.org/conda-forge/h5py-feedstock/jobs/577406047 |
We can reproduce the ppc64le failures on travis! https://travis-ci.org/h5py/h5py/jobs/584366489#L11992-L12013 It fails a little bit different:
|
I am pretty sure the issue is in Lines 303 to 322 in fd0753a
Lines 1369 to 1397 in fd0753a
Lines 1050 to 1069 in fd0753a
We now have CI via travis to test this, but if someone has a ppc64le machine they can debug on it would likely go much faster. |
I just transfered the buggy file created like that and found out the error is more likely to be at the writing than at the reading. |
As suggested by @takluyver, here are the results of the test-suite running on IBM power9 computer running Ubuntu 18.04. The python core is 3.6, all modules have been pip installed in a venv (and recompiled as no binary wheels exist yet on this platform) and HDF5 has been compile from sources in version 1.10.5.
Most failing tests are related in a way or another to "float128" which have just been deactivated in #1243. They should probably be marked as "xfailed".
The text was updated successfully, but these errors were encountered: