This PR adds support for a regular 2D partitioning, extending the existing naive partitioning to 2 dimensions. Additionally it also updates the METIS partitioning with options to partition based on either minimizing the edgecut or on the minimizing the total communication volume during partitioning.
An example of the communication pattern with the regular 2D partitioning is as shown in the figure below.
This PR adds support for a regular 2D partitioning, extending the existing naive partitioning to 2 dimensions. Additionally it also updates the METIS partitioning with options to partition based on either minimizing the edgecut or on the minimizing the total communication volume during partitioning.
An example of the communication pattern with the regular 2D partitioning is as shown in the figure below.