peterrum/dealii-multigrid

Patch for ML

Closed this issue · 0 comments

As a reminder

diff --git a/../ml_MultiLevelPreconditioner.cpp b/dss/dsshome1/00/di93nem/sw-sintering-gcc/Trilinos-trilinos-release-13-4-1/packages/ml/src/Utils/ml_MultiLevelPreconditioner.cpp
index 64537bd..7050a13 100644
--- a/../ml_MultiLevelPreconditioner.cpp
+++ b/dss/dsshome1/00/di93nem/sw-sintering-gcc/Trilinos-trilinos-release-13-4-1/packages/ml/src/Utils/ml_MultiLevelPreconditioner.cpp
@@ -1644,7 +1644,7 @@ int ML_Epetra::MultiLevelPreconditioner::SetFinestLevelMatrix()
     if (mlpLabel_ != "not-set")
       std::cout << " [" << mlpLabel_ << "]";
     std::cout << std::endl << PrintMsg_ << "***" << std::endl;
-    std::cout << PrintMsg_ << "Matrix has " << RowMatrix_->NumGlobalRows()
+    std::cout << PrintMsg_ << "Matrix has " << RowMatrix_->NumGlobalRows64()
      << " rows and " << globalNnz
          << " nonzeros, distributed over " << Comm().NumProc() << " process(es)" << std::endl;
     {
@@ -1812,7 +1812,6 @@ ConditionallyDestroyPreconditioner(const bool CheckPreconditioner)
 int ML_Epetra::MultiLevelPreconditioner::
 ComputePreconditioner(const bool CheckPreconditioner)
 {
-
  try {
 
   if (ConditionallyDestroyPreconditioner(CheckPreconditioner) == 0) return 0;