-
Notifications
You must be signed in to change notification settings - Fork 990
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
R_DATATABLE_NUM_THREADS env var alone ignored #4514
Comments
Hmm I think it's slightly different. Actually what's happening is
the For me I have
|
I guess your point is if |
try using 5 |
maybe that is actually good, so it is more flexible to cap threads to min of two provided. Then we just need to mention that in manual. |
On the principle of the first-thought-best, let's go with Jan's first thought and change it. When you use setDTthreads() at the R prompt it works at you expect, so fixing the environment variable is more like making its behaviour consistent with setDTthreads. |
Shouldn't we default num_proc_percent to 100% when num_threads is provided?
data.table/src/openmp-utils.c
Line 44 in d3bd408
The text was updated successfully, but these errors were encountered: