Skip to content

Commit

Permalink
ifpack2: add missing print guard in blocktridiagcontainer
Browse files Browse the repository at this point in the history
Signed-off-by: Tom Ransegnola <[email protected]>
  • Loading branch information
tmranse committed May 21, 2024
1 parent 17a60ec commit 744c611
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/ifpack2/src/Ifpack2_BlockTriDiContainer_impl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 744c611

Please sign in to comment.