For debugging and performance testing it is sometimes useful to be able to run with just one MPI task. Right now attempting to do that on some machines (e.g. Frontier) results in a floating point exception inside METIS PartGraphKway. This seems to be a known issue: https://github.com/KarypisLab/METIS/issues/67.
This PR makes cell partitioning with a single task a special-case and simply directly assigns every cell to the one task.
Checklist
[x] CTest unit tests for new features have been added per the approved design.
[x] Unit tests have passed. Please provide a relevant CDash build entry for verification.
For debugging and performance testing it is sometimes useful to be able to run with just one MPI task. Right now attempting to do that on some machines (e.g. Frontier) results in a floating point exception inside METIS
PartGraphKway
. This seems to be a known issue: https://github.com/KarypisLab/METIS/issues/67.This PR makes cell partitioning with a single task a special-case and simply directly assigns every cell to the one task.
Checklist