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

Ignore invalid OpenMP nthreads values #537

Merged
merged 1 commit into from
Apr 11, 2016

Conversation

yeganer
Copy link
Contributor

@yeganer yeganer commented Apr 11, 2016

If nthreads is not a positive integer omp_set_num_threads won't be
called. The result is that the default number of threads, or if set
OMP_NUM_THREADS is used.
This enables setting nthreads=0 for example to control the number of
threads through the environment (useful for use on clusters).

If nthreads is not a positive integer omp_set_num_threads won't be
called. The result is that the default number of threads, or if set
OMP_NUM_THREADS is used.
This enables setting nthreads=0 for example to control the number of
threads through the environment (useful for use on clusters)
@wkerzendorf wkerzendorf merged commit 3370d8d into tardis-sn:master Apr 11, 2016
lukeshingles pushed a commit to lukeshingles/tardis that referenced this pull request Apr 18, 2016
If nthreads is not a positive integer omp_set_num_threads won't be
called. The result is that the default number of threads, or if set
OMP_NUM_THREADS is used.
This enables setting nthreads=0 for example to control the number of
threads through the environment (useful for use on clusters)
lukeshingles pushed a commit to lukeshingles/tardis that referenced this pull request Apr 22, 2016
If nthreads is not a positive integer omp_set_num_threads won't be
called. The result is that the default number of threads, or if set
OMP_NUM_THREADS is used.
This enables setting nthreads=0 for example to control the number of
threads through the environment (useful for use on clusters)
lukeshingles pushed a commit to lukeshingles/tardis that referenced this pull request Apr 22, 2016
If nthreads is not a positive integer omp_set_num_threads won't be
called. The result is that the default number of threads, or if set
OMP_NUM_THREADS is used.
This enables setting nthreads=0 for example to control the number of
threads through the environment (useful for use on clusters)
@yeganer yeganer deleted the openmp_nthreads branch May 18, 2016 12:19
ftsamis pushed a commit to ftsamis/tardis that referenced this pull request Nov 12, 2016
If nthreads is not a positive integer omp_set_num_threads won't be
called. The result is that the default number of threads, or if set
OMP_NUM_THREADS is used.
This enables setting nthreads=0 for example to control the number of
threads through the environment (useful for use on clusters)
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