GOMP issue may come from wrong mkl version
I found for some python version the GOMP issue still exists even if the libgomp version is fine. After some debugging, it looks like this issue only occur when conda list
gives 1.0-openblas as blas (it should be 1.0-mkl), which may happen when the mkl version (mokit has to fix it) does not equals the one desired by numpy.
Here's a table for mkl versions
python | mkl | mkl desired by numpy | GOMP issue? |
---|---|---|---|
3.7 | 2022 | 2021 | y |
3.8 | 2022 | 2023 | y |
3.9-3.11 | 2023 | 2023 | n |
So the mkl version should be adjusted for them. I've packaged two test versions for py 3.7 and 3.8 to prove the adjustment works. Do
# if you have 1.2.6rc24-rc30 at python 3.7-3.8, there should be GOMP issue
conda uninstall mokit
conda install mokit=1.2.6rc27 -c mokit/label/test
# now the GOMP issue disappear
to test them.
Edited by Shirong Wang