Skip to content

Commit

Permalink
Merge Pull Request #7761 from cgcgcg/Trilinos/mueluOutputFixes
Browse files Browse the repository at this point in the history
Automatically Merged using Trilinos Pull Request AutoTester
PR Title: MueLu: Avoid some global communication in setup
PR Author: cgcgcg
  • Loading branch information
trilinos-autotester authored Aug 1, 2020
2 parents 5db2f9b + a9a72f1 commit a2d72a7
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,8 @@ namespace MueLu {
RCP<Xpetra::MultiVector<double,LO,GO,Node>> aggQualities = Get<RCP<Xpetra::MultiVector<double,LO,GO,Node>>>(currentLevel, "AggregateQualities");
}

GetOStream(Statistics1) << aggregates->description() << std::endl;
if (IsPrint(Statistics1))
GetOStream(Statistics1) << aggregates->description() << std::endl;
}

} //namespace MueLu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,8 @@ namespace MueLu {

Set(currentLevel, "Aggregates", aggregates);

GetOStream(Statistics1) << aggregates->description() << std::endl;
if (IsPrint(Statistics1))
GetOStream(Statistics1) << aggregates->description() << std::endl;
}

} //namespace MueLu
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -554,10 +554,10 @@ namespace MueLu {
Set(coarseLevel, "Nullspace", coarseNullspace);
Set(coarseLevel, "P", Ptentative);

if (IsPrint(Statistics1)) {
if (IsPrint(Statistics2)) {
RCP<ParameterList> params = rcp(new ParameterList());
params->set("printLoadBalancingInfo", true);
GetOStream(Statistics1) << PerfUtils::PrintMatrixInfo(*Ptentative, "Ptent", params);
GetOStream(Statistics2) << PerfUtils::PrintMatrixInfo(*Ptentative, "Ptent", params);
}
}

Expand Down

0 comments on commit a2d72a7

Please sign in to comment.