benchopt/benchmark_logreg_l1

Snapml solver CI is red on MacOS if OMP_NUM_THREADS is not set explicitely

Opened this issue · 1 comments

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 install libomp using conda 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 

Related: Had to remove snapml testing on OSX in #36 due to a segfault issue
ping @tanglef