-
Notifications
You must be signed in to change notification settings - Fork 87
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
ROBUSTNESS: Automatically disable multi-threading in forked processing ("multicore") #355
Comments
Thanks for all the digging @HenrikBengtsson I wouldn't have been able to diagnose this myself well enough. I think the solution makes sense AFAIU it anyways. Still having 7 threads running while forking (as you mentioned in #348 ) doesn't seem helpful. |
Next release will have an optional prototype/beta feature for temporarily disabling multi-threading in futures using OpenMP. I'm holding back on ditto BLAS for the reason that I don't know how to get the current number of BLAS threads, i.e. I don't know what the corresponding "getter" for |
Forked parallel processing and multi-threading are not the best friends, e.g. futureverse/future.apply#29 (comment). I think it might be worth having future disable multi-threading in such cases by default.
One solution would be do depend on RhpcBLASctl and use:
See also
The text was updated successfully, but these errors were encountered: