-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
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
export JULIA_NUM_THREADS=X
sets nthreads(:interactive)=0
#50084
Comments
(cc @kpamnany) |
What if What about the folks who have no need for interactive threads? Right now, Julia will start the number of threads they specified. With the suggested change, an interactive thread will be started when previously it wasn't and they'd have to change their setting to Not arguing, just pointing out that such changes will force somebody or other to make a change. |
IMO if |
The current default behavior could be made more clear IMO. Reading the command line docs, I had incorrectly assumed that omitting the number of interactive threads would result in 1 interactive thread being used, but apparently that's only the case if
Getting slightly off topic, but it was also confusing to me that when started with
But starting with |
I think that might be a bug in |
I've filed a separate issue: #50438 |
A lot of people have an exported value for
JULIA_NUM_THREADS
that doesn't specify a second number (because they set this up prior to 1.9). Julia 1.9 added interactive threads, but they are disabled by this line unlessJULIA_NUM_THREADS
manually sets a number of interactive threads. This isn't exactly a bug, but I think the better behavior would be to default to 1 interactive thread unlessJULIA_NUM_THREADS=X,0
is used.The text was updated successfully, but these errors were encountered: