Skip to content
Snippets Groups Projects
Commit 64658d21 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Don't use METIS print types, these are only found in partition.c now

parent b0aca33d
No related branches found
No related tags found
2 merge requests!136Master,!76Add new initial partition schemes and extend repartition ones.
...@@ -367,7 +367,7 @@ void engine_repartition(struct engine *e) { ...@@ -367,7 +367,7 @@ void engine_repartition(struct engine *e) {
/* Get the task weight. */ /* Get the task weight. */
int w = (t->toc - t->tic) * wscale; int w = (t->toc - t->tic) * wscale;
if (w < 0) error("Bad task weight (%" SCIDX ").", w); if (w < 0) error("Bad task weight (%d).", w);
/* Do we need to re-scale? */ /* Do we need to re-scale? */
wtot += w; wtot += w;
...@@ -539,7 +539,7 @@ void engine_repartition(struct engine *e) { ...@@ -539,7 +539,7 @@ void engine_repartition(struct engine *e) {
/* Check that all cells have good values. */ /* Check that all cells have good values. */
for (int k = 0; k < nr_cells; k++) for (int k = 0; k < nr_cells; k++)
if (celllist[k] < 0 || celllist[k] >= nr_nodes) if (celllist[k] < 0 || celllist[k] >= nr_nodes)
error("Got bad nodeID %" PRIDX " for cell %i.", celllist[k], k); error("Got bad nodeID %d for cell %i.", celllist[k], k);
/* Check that the partition is complete and all nodes have some work. */ /* Check that the partition is complete and all nodes have some work. */
int present[nr_nodes]; int present[nr_nodes];
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment