From: Denis Davydov Date: Mon, 8 Jan 2018 21:25:17 +0000 (+0100) Subject: fix Zoltan debug output X-Git-Tag: v9.0.0-rc1~588^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F5708%2Fhead;p=dealii.git fix Zoltan debug output --- diff --git a/source/lac/sparsity_tools.cc b/source/lac/sparsity_tools.cc index 82e5f194d5..5bf24eb8a2 100644 --- a/source/lac/sparsity_tools.cc +++ b/source/lac/sparsity_tools.cc @@ -240,8 +240,9 @@ namespace SparsityTools std::unique_ptr zz = std_cxx14::make_unique(MPI_COMM_SELF); //General parameters - zz->Set_Param( "LB_METHOD", "GRAPH" ); //graph based partition method (LB-load balancing) + // DEBUG_LEVEL call must precede the call to LB_METHOD zz->Set_Param( "DEBUG_LEVEL", "0" ); //set level of debug info + zz->Set_Param( "LB_METHOD", "GRAPH" ); //graph based partition method (LB-load balancing) zz->Set_Param( "NUM_LOCAL_PARTS", std::to_string(n_partitions) ); //set number of partitions //Need a non-const object equal to sparsity_pattern @@ -346,12 +347,13 @@ namespace SparsityTools std::unique_ptr zz = std_cxx14::make_unique (MPI_COMM_SELF); //Coloring parameters + // DEBUG_LEVEL must precede all other calls + zz->Set_Param ("DEBUG_LEVEL", "0" ); //level of debug info zz->Set_Param ("COLORING_PROBLEM", "DISTANCE-1"); //Standard coloring zz->Set_Param ("NUM_GID_ENTRIES", "1"); // 1 entry represents global ID zz->Set_Param ("NUM_LID_ENTRIES", "1"); // 1 entry represents local ID zz->Set_Param ("OBJ_WEIGHT_DIM", "0"); // object weights not used zz->Set_Param ("RECOLORING_NUM_OF_ITERATIONS", "0"); - zz->Set_Param ("DEBUG_LEVEL", "0" ); //level of debug info //Zoltan::Color function requires a non-const SparsityPattern object SparsityPattern graph;