Skip to content
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

Print warning when MPI pool is unintentionally not used #1068

Merged
merged 3 commits into from
Jan 8, 2024

Conversation

msimberg
Copy link
Collaborator

Fixes #165.

Warns if using more than one rank, no MPI pool, and --dlaf:no-mpi-pool was not used. This would indicate that the resource partitioner was not correctly initialized to use the MPI pool.

Also fixes parsing of command line options in tests. When pika_main takes argc and argv it contains all the command line options that were not yet parsed by pika, including the added DLA-Future command line options. It's not really ideal that this is even possible, but I'm not sure yet how to deal with this better.

@msimberg msimberg self-assigned this Dec 11, 2023
@msimberg msimberg changed the title Test init warn mpi pool Print warning when MPI pool is unintentionally not used Dec 12, 2023
@rasolca
Copy link
Collaborator

rasolca commented Dec 12, 2023

cscs-ci run

@msimberg msimberg marked this pull request as draft December 12, 2023 13:22
@msimberg
Copy link
Collaborator Author

cscs-ci run

@msimberg msimberg marked this pull request as ready for review December 18, 2023 14:32
@rasolca rasolca merged commit a6c26c3 into eth-cscs:master Jan 8, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

No warning for "mpi" pool not used in Cholesky Factorization
4 participants