A c library cannot be used in the nomad image

The new soap normalizers uses a package called quippy-ase, which contains some gfortran compiled libraries. It imports and tests fine in the dev_python image, but when imported in the production image, this error is thrown:

ImportError: /usr/local/lib/python3.9/site-packages/quippy/_quippy.cpython-39-x86_64-linux-gnu.so: ELF load command address/offset not page-aligned

To reproduce: This works:

docker run --rm gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair/dev_python:process python -c 'import quippy'    

This does not work:

docker run --rm gitlab-registry.mpcdf.mpg.de/nomad-lab/nomad-fair:process python -c 'import quippy' 

This happens on the MPCDF nodes. Maybe also in other environments.

Assignee Loading
Time tracking Loading