From 744c6119e6d9cafb57c945bb660aa010b1158b3c Mon Sep 17 00:00:00 2001 From: Tom Ransegnola Date: Mon, 20 May 2024 23:35:50 -0600 Subject: [PATCH] ifpack2: add missing print guard in blocktridiagcontainer Signed-off-by: Tom Ransegnola --- packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp | 2 ++ 1 file changed, 2 insertions(+) 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;