Skip to content

Commit

Permalink
changed logger constructed to not mpi when finalized.
Browse files Browse the repository at this point in the history
	modified:   Logs/src/logging.cpp
  • Loading branch information
gregorydavidmartinez committed May 23, 2017
1 parent 051946f commit 3c0a7aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Logs/src/logging.cpp
Expand Up @@ -290,7 +290,7 @@ namespace Gambit
, MPIsize(1)
{
#ifdef WITH_MPI
if(GMPI::Is_initialized())
if(GMPI::Is_initialized() && !GMPI::Is_finalized())
{
GMPI::Comm COMM_WORLD;
MPIsize = COMM_WORLD.Get_size();
Expand Down

0 comments on commit 3c0a7aa

Please sign in to comment.