Skip to content
Permalink
Browse files

Merge pull request #12955 from lindsayad/memory-usage-reporter-comm-free

Free the comm in MemoryUsageReporter
  • Loading branch information...
moosebuild committed Feb 23, 2019
2 parents c8e8cd8 + 25a147a commit 1b4ab126ae4378ca9f5e07e57ef237f6f26d0582
Showing with 2 additions and 0 deletions.
  1. +2 −0 framework/src/postprocessors/MemoryUsageReporter.C
@@ -58,6 +58,8 @@ MemoryUsageReporter::sharedMemoryRanksBySplitCommunicator()
// broadcast the world rank of the sub group root
world_rank = _my_rank;
shmem_comm.broadcast(world_rank, 0);

MPI_Comm_free(&shmem_raw_comm);
#endif
std::vector<processor_id_type> world_ranks(_nrank);
_mur_communicator.gather(0, world_rank, world_ranks);

0 comments on commit 1b4ab12

Please sign in to comment.
You can’t perform that action at this time.