E3SM-Project / Omega

Next generation ocean model within E3SM
https://docs.e3sm.org/Omega/omega
Other
4 stars 5 forks source link

Avoid calling METIS for cell partitioning with one task #129

Closed mwarusz closed 2 months ago

mwarusz commented 2 months ago

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