gafusion / omas

Ordered Multidimensional Array Structure
http://gafusion.github.io/omas
MIT License
30 stars 14 forks source link

Regression tests on GH failing to install h5py #175

Closed orso82 closed 2 years ago

orso82 commented 2 years ago

https://github.com/gafusion/omas/runs/4088577606?check_suite_focus=true

orso82 commented 2 years ago

@kalling do you have any insights as to why this might be the case?

kalling commented 2 years ago

@orso82 Is it possible the dependency isn't yet available for Python 3.10?

kalling commented 2 years ago

@orso82 Looking more closely at the logfile that probably isn't it. My guess is a symlink needs to be created for the "missing" library.

orso82 commented 2 years ago

Ah, I did not realize the tests were run in Python 3.10. It's possible that the package for h5py have not been generated for that Python version, or something like that?

kalling commented 2 years ago

yeah. Also I see " setup.py:67: RuntimeWarning: NumPy 1.19.3 may not yet support Python 3.10." So maybe my initial impression was correct after all.

orso82 commented 2 years ago

I have just pushed a commit that fixes the version of Python for the regression tests to be 3.6 https://github.com/gafusion/omas/commit/f45902a821539e2a62fa74a214108786de8148fb

kalling commented 2 years ago

I would do 3.7 since it is our primary, but I would imagine that would also work.

kalling commented 2 years ago
I guess there are a lot not available for 3.10 yet. ``` blis_info: libraries blis not found in ['/opt/hostedtoolcache/Python/3.10.0/x64/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE openblas_info: libraries openblas not found in ['/opt/hostedtoolcache/Python/3.10.0/x64/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE atlas_3_10_blas_threads_info: Setting PTATLAS=ATLAS libraries tatlas not found in ['/opt/hostedtoolcache/Python/3.10.0/x64/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE atlas_3_10_blas_info: libraries satlas not found in ['/opt/hostedtoolcache/Python/3.10.0/x64/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE atlas_blas_threads_info: Setting PTATLAS=ATLAS libraries ptf77blas,ptcblas,atlas not found in ['/opt/hostedtoolcache/Python/3.10.0/x64/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE atlas_blas_info: libraries f77blas,cblas,atlas not found in ['/opt/hostedtoolcache/Python/3.10.0/x64/lib', '/usr/local/lib', '/usr/lib64', '/usr/lib', '/usr/lib/x86_64-linux-gnu'] NOT AVAILABLE accelerate_info: NOT AVAILABLE ```
orso82 commented 2 years ago

Yay! The regression tests pass with Python 3.6. Many thanks for immediately being able to point me in the right direction :)