Skip to content

mkl not properly built with conda #151

@t-fransson

Description

@t-fransson

It seems like conda is no longer able to properly install mkl-libraries during the build, resulting in error codes such as this:

INTEL MKL ERROR: /home/thomas/Notebook/anaconda/envs/adcc_test/lib/python3.10/site-packages/../.././libmkl_avx2.so.1: undefined symbol: mkl_sparse_optimize_bsr_trsm_i8.
Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so.1 or libmkl_def.so.1.
INTEL MKL ERROR: /home/thomas/Notebook/anaconda/envs/adcc_test/lib/python3.10/site-packages/../.././libmkl_avx2.so.1: undefined symbol: mkl_sparse_optimize_bsr_trsm_i8.
Intel MKL FATAL ERROR: Cannot load libmkl_avx2.so.1 or libmkl_def.so.1.

Explicitly adding the flollowing in a .yml-file:

- libblas==_mkl

...makes the calculations run, but they sometimes have issues with properly converging the correct eigenstates, yielding resulting eigenenergies of very high negative values... This seems to primarily be the case when using small basis sets.

For VeloxChem I think they had similar issues with conda install suddenly not working, and solved this by some additional explicit requirement of mkl-libraries. I guess something like that and new conda builds might be needed? Can others verify that they have similar issues?

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions