-
-
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
Implement [-t|--threads] command line argument for threads #35108
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
417231c
to
925503e
Compare
925503e
to
5592ce5
Compare
5592ce5
to
1c57d5b
Compare
1c57d5b
to
fa98179
Compare
Specific questions for triage:
|
How about |
Triage is ok with what's implemented here. We also might want to eventually phase out the environment variable. |
the number of Julia threads on startup, fixes #26889.
fa98179
to
7d96e1e
Compare
…ang#35108) the number of Julia threads on startup, fixes JuliaLang#26889.
the number of Julia threads on startup, fixes #26889.
Closes #18074 |
the number of Julia threads on startup, fixes #26889.
Implement
[-t|--threads]
command line argument for specifying the number of Julia threads on startup, fixes #26889.Regarding #26889 (comment): Currently this does
notpropagate to workers processes,but this commit enables that: c11d9dbPersonally I feel like either case is fine -- for fine grained control you need to useaddprocs
anyway.Edit: I updated the PR to propagate number of threads to processes spawned with
--procs
and/or--machine-file
. If you use those arguments in combination (e.g.julia -p2 -t2
) is is likely because you want it to propagate. And as before, if you need some other behavior you can customize all you want withaddprocs
.