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

Uses OMP C++ interface rather than grabbing potentially non-existent … #84

Merged
merged 2 commits into from
Aug 1, 2024

Conversation

henry-wallace-phys
Copy link
Contributor

…environment variable

Pull request description:

Small tweak, no longer grabs environment variable

Changes or fixes:

Gets the maximum available number of threads from C++ API
std::atoi(std::getenv("OMP_NUM_THREADS"))) -> omp_get_max_threads( )

@KSkwarczynski KSkwarczynski merged commit 1ae14c2 into develop Aug 1, 2024
3 checks passed
@KSkwarczynski KSkwarczynski deleted the feature_omp_cpp_not_env branch August 1, 2024 12:51
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.

2 participants