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

openmp does not work on macOsx #161

Open
moorepants opened this issue May 24, 2024 · 1 comment
Open

openmp does not work on macOsx #161

moorepants opened this issue May 24, 2024 · 1 comment
Labels

Comments

@moorepants
Copy link
Member

From the arm builds:

Run python examples/parallel_example.py
clang: error: unsupported option '-fopenmp'
/Users/runner/miniconda3/envs/test/lib/python3.10/site-packages/opty/utils.py:572: UserWarning: openmp is not installed or not working properly, request for parallel execution ignored.
  warnings.warn(msg)
Time for non-parallel: 5.751712458000043
Time for parallelized: 5.257540124999991
@moorepants
Copy link
Member Author

From intel build:

Run python examples/parallel_example.py
clang: error: unsupported option '-fopenmp'
/Users/runner/miniconda3/envs/test/lib/python3.10/site-packages/opty/utils.py:572: UserWarning: openmp is not installed or not working properly, request for parallel execution ignored.
  warnings.warn(msg)
Time for non-parallel: 7.760400731000118
Time for parallelized: 6.9030550100001165

@moorepants moorepants added the bug label Aug 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant