Skip to content

Fixed libomp use on clang and darwin. Usage and comments in pull request.#1

Open
cnjmike wants to merge 1 commit into
masterfrom
issue105_take2
Open

Fixed libomp use on clang and darwin. Usage and comments in pull request.#1
cnjmike wants to merge 1 commit into
masterfrom
issue105_take2

Conversation

@cnjmike

@cnjmike cnjmike commented Feb 10, 2025

Copy link
Copy Markdown
Owner

Usage:
[no omp, all platforms]: ./configure [...] [ --with-openmp=no ]
[omp, non-darwin / non-clang]: ./configure [...] --with-openmp=yes
[omp, darwin or clang]: ./configure [...] --with-openmp=/path/to/libomp/install

If user tries to configure on clang or darwin and doesn't provide a valid path, they get a robust warning and the build proceeds without openmp.

Testsuite now passes evolve/dehnen and the tutor/mp bench6 (quad_openmp) shows proper parallel performance.

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

Successfully merging this pull request may close these issues.

1 participant