Snapml solver CI is red on MacOS if OMP_NUM_THREADS is not set explicitely
Opened this issue · 1 comments
tanglef commented
Adding snapml
solver (#17), to get a green CI we explicitly set OMP_NUM_THREADS=1
for MacOS and use brew install
.
- When removing this export, the CI simply runs until stopped (cf the logs.zip where technically no error is reported)
- If we don't use
brew install
but installlibomp
usingconda
we get an explicit error:
ImportError: dlopen(/Users/runner/miniconda3/envs/bench_test_env/lib/python3.8/site-packages/snapml/libsnapmlutils.so, 2): Library not loaded: /usr/local/opt/libomp/lib/libomp.dylib
Referenced from: /Users/runner/miniconda3/envs/bench_test_env/lib/python3.8/site-packages/snapml/libsnapmlutils.so
Reason: image not found