Skip to content

Commit

Permalink
Fix printing total/local meshblocks on start
Browse files Browse the repository at this point in the history
  • Loading branch information
Ben Prather committed Nov 22, 2023
1 parent 2a3827f commit 2c41299
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kharma/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,8 +185,8 @@ int main(int argc, char *argv[])

// Print the number of meshblocks and ranks in use
// TODO get this right
// std::cout << "Running with " << pmesh->block_list.size() << " total meshblocks, " << MPINumRanks() << " MPI ranks." << std::endl;
// std::cout << "Blocks on rank " << MPIMyRank() << ": " << pmesh->GetNumMeshBlocksThisRank() << "\n" << std::endl;
std::cout << "Running with " << pmesh->nbtotal << " total meshblocks, " << MPINumRanks() << " MPI ranks." << std::endl;
std::cout << "Blocks on rank " << MPIRank() << ": " << pmesh->block_list.size() << "\n" << std::endl; //pmesh->GetNumMeshBlocksThisRank() << "\n" << std::endl;

// Write all parameters etc. to console if we should be especially wordy
if ((verbose > 1) && MPIRank0()) {
Expand Down

0 comments on commit 2c41299

Please sign in to comment.