eth-cscs / DLA-Future

DLA-Future
https://eth-cscs.github.io/DLA-Future/master/
BSD 3-Clause "New" or "Revised" License
64 stars 14 forks source link

Print warning when MPI pool is unintentionally not used #1068

Closed msimberg closed 9 months ago

msimberg commented 10 months ago

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.

rasolca commented 10 months ago

cscs-ci run

msimberg commented 10 months ago

cscs-ci run