diff --git a/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp b/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp index 8d47c85d1a50..f0e0eca40c05 100644 --- a/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp +++ b/packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp @@ -1054,7 +1054,9 @@ namespace Ifpack2 { n_subparts_per_part = getAutomaticNSubparts(nparts, num_teams, line_length, blocksize); +#ifdef IFPACK2_BLOCKTRIDICONTAINER_USE_PRINTF printf("Automatically chosen n_subparts_per_part = %d for nparts = %d, num_teams = %d, team_size = %d, line_length = %d, and blocksize = %d;\n", n_subparts_per_part, nparts, num_teams, team_size, line_length, blocksize); +#endif } else { n_subparts_per_part = n_subparts_per_part_in;