-
Notifications
You must be signed in to change notification settings - Fork 119
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
Run_tests_parallel uses only one core #956
Comments
Importing the modules somehow changes the affinity:
|
Logging the changes with
|
Can you list your packages? I copied your test.py
|
It seems this behaviour is caused by more info: The core issue seems to be a bug when |
Current workaround to suppress Kokkos warnings: Interaction of these settings with MPI is still an open question. |
On Perlmutter and friends, run_tests_parallel runs tests in parallel, but all tests are run on just one core.
I created a small reproducer that narrows it down to certain module imports.
main script:
dummy.py (the import are not important, they just to show that python import run fine)
Without the comments, the dummy scripts run on 10 cores. With either one, it's down to one core.
Wrapping the import in
os.sched_getaffinity
andos.sched_setaffinity
helps, but is not a real solution.The text was updated successfully, but these errors were encountered: