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

Test for OpenMP compiler support #4372

Closed
prckent opened this issue Dec 16, 2022 · 0 comments · Fixed by #4422
Closed

Test for OpenMP compiler support #4372

prckent opened this issue Dec 16, 2022 · 0 comments · Fixed by #4422
Assignees

Comments

@prckent
Copy link
Contributor

prckent commented Dec 16, 2022

Is your feature request related to a problem? Please describe.

Some compilers don't support openmp even in the CPU only context. We should test for this and abort with a friendly message if the default QMC_OMP=1 is set; currently the first compilation test will break and give an unclear error.

Describe the solution you'd like

Add a compilation check right at the top of our CMake.

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 a pull request may close this issue.

2 participants