From 64658d21f31653d3cfc5db0ef24d17d2a4126dcc Mon Sep 17 00:00:00 2001 From: "Peter W. Draper" <p.w.draper@durham.ac.uk> Date: Thu, 10 Dec 2015 17:24:05 +0000 Subject: [PATCH] Don't use METIS print types, these are only found in partition.c now --- src/engine.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/engine.c b/src/engine.c index fd74212d86..be2b407ea7 100644 --- a/src/engine.c +++ b/src/engine.c @@ -367,7 +367,7 @@ void engine_repartition(struct engine *e) { /* Get the task weight. */ 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? */ wtot += w; @@ -539,7 +539,7 @@ void engine_repartition(struct engine *e) { /* Check that all cells have good values. */ for (int k = 0; k < nr_cells; k++) 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. */ int present[nr_nodes]; -- GitLab