-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
Feature Request: Command Line Option for Number of Threads #26889
Comments
I sometimes want to be able to change the number of threads within a REPL session, or programmatically within Julia. So something like |
I second the programmatical option within Julia. In some cases distributing julia code to cross platform users who know nothing about Julia, would require additional steps that should be transparent to them. Setting the number of threads is one such step. |
I agree with JULIA_NUM_THREADS as julia's command line option. |
I agree that we should have this and |
There is a slight ambiguity of what |
Usually, if you use multiple processes, you won't use multiple threads, because there are so many cpu cores. |
"Usually, if you use multiple processes, you won't use multiple threads" |
Bump. Any update on this? |
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
…ang#35108) the number of Julia threads on startup, fixes JuliaLang#26889.
the number of Julia threads on startup, fixes #26889.
the number of Julia threads on startup, fixes #26889.
I like the environment variable
JULIA_NUM_THREADS
, but it should be overridable with a -t(hreads) choice. If -p works, -t could reasonably do this, too.The text was updated successfully, but these errors were encountered: