From f99093c84acae1d519c75d91330f642ed204aaea Mon Sep 17 00:00:00 2001
From: "Peter W. Draper" <p.w.draper@durham.ac.uk>
Date: Thu, 23 Jan 2020 17:46:01 +0000
Subject: [PATCH] Comment out partition dumps

---
 src/partition.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/partition.c b/src/partition.c
index 709d30f474..e92f98993e 100644
--- a/src/partition.c
+++ b/src/partition.c
@@ -568,8 +568,8 @@ static void split_metis(struct space *s, int nregions, int *celllist) {
   for (int i = 0; i < s->nr_cells; i++) s->cells_top[i].nodeID = celllist[i];
 
   /* To check or visualise the partition dump all the cells. */
-  if (engine_rank == 0) dumpCellRanks("metis_partition", s->cells_top,
-                                      s->nr_cells);
+  /*if (engine_rank == 0) dumpCellRanks("metis_partition", s->cells_top,
+                                      s->nr_cells);*/
 }
 #endif
 
@@ -884,8 +884,8 @@ static void pick_parmetis(int nodeID, struct space *s, int nregions,
                &nxadj);
 
     /* Dump graphs to disk files for testing. */
-    dumpMETISGraph("parmetis_graph", ncells, 1, std_xadj, full_adjncy,
-                   full_weights_v, NULL, full_weights_e);
+    /*dumpMETISGraph("parmetis_graph", ncells, 1, std_xadj, full_adjncy,
+                   full_weights_v, NULL, full_weights_e); */
 
     /* xadj is set for each rank, different to serial version in that each
      * rank starts with 0, so we need to re-offset. */
@@ -1317,8 +1317,8 @@ static void pick_metis(int nodeID, struct space *s, int nregions,
     idx_t objval;
 
     /* Dump graph in METIS format */
-    dumpMETISGraph("metis_graph", idx_ncells, one, xadj, adjncy, weights_v,
-                   NULL, weights_e);
+    /*dumpMETISGraph("metis_graph", idx_ncells, one, xadj, adjncy, weights_v,
+                   NULL, weights_e);*/
 
     if (METIS_PartGraphKway(&idx_ncells, &one, xadj, adjncy, weights_v, NULL,
                             weights_e, &idx_nregions, NULL, NULL, options,
-- 
GitLab