Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tanglef opened this issue Mar 23, 2022 · 1 comment

Comments

@tanglef
Copy link
Member

tanglef commented Mar 23, 2022

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 
@mathurinm
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants