Adding in the base Dockerfile the installation of hdf5 library and pkg-config #468
Adding in the base Dockerfile the installation of hdf5 library and pkg-config #468danielhollas merged 1 commit intomainfrom
base Dockerfile the installation of hdf5 library and pkg-config #468Conversation
then install h5py via pip without issues. The installation of pkg-config is required, it was not sufficient to just install the hdf5 and then define the HDF5_DIR environment variable.
danielhollas
left a comment
There was a problem hiding this comment.
Thanks @mikibonacci looks good. @unkcpz please take a look as well.
|
I did discuss with @mikibonacci in person last Friday. I totally agree this is a better solution to add the more generic packages. Just take a look at the failed build on arm64. It is a bit weird to find in the logs around the Also worth to notice quite a lot conda packages are forced to updated, is this all expected? @danielhollas |
The build timed-out after two hours. I restarted it now and it went fine so I think this was just Github Actions being slow again, I needed to restart the build on another PR today as well. I think this is because we specify the aiida-core version both via
I am not sure but I am not too surprised since we're installing a relatively recent aiida-core version into an old jupyter-stack image. I am hoping that once we update the image to a more recent one with Python 3.10 (working on that in #455) there will be fewer packages that need upgrading. |
|
@mikibonacci I am planning to release a new version of the image that will include your change soon, hopefully this week. It would be great if you could pull |
|
@danielhollas, I will do it today (is it already pushed?) and let you know if something breaks |
|
Thanks! The |
|
yeah, I just saw it after my comment! I did a test for the aiidalab-qe-vibroscopy plugin and it was fine, so I think everything is then working properly for the |
These pkgs allow to then install h5py via pip without issues.
The installation of pkg-config is required, it was not sufficient to just install the hdf5 and then define the HDF5_DIR environment variable.