From b4967f0231050fcb2dd68ac69c1db075fd4baa0e Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Sun, 9 Sep 2018 14:28:02 +0100 Subject: [PATCH] Verbose and error trapping cleaner --- lib/communicator/Communicator_mpi3.cc | 2 +- lib/communicator/SharedMemoryMPI.cc | 8 +++++--- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/communicator/Communicator_mpi3.cc b/lib/communicator/Communicator_mpi3.cc index 2b8753a7..c13bc2e4 100644 --- a/lib/communicator/Communicator_mpi3.cc +++ b/lib/communicator/Communicator_mpi3.cc @@ -44,7 +44,7 @@ void CartesianCommunicator::Init(int *argc, char ***argv) MPI_Initialized(&flag); // needed to coexist with other libs apparently if ( !flag ) { MPI_Init_thread(argc,argv,MPI_THREAD_MULTIPLE,&provided); - assert (provided == MPI_THREAD_MULTIPLE); + //assert (provided == MPI_THREAD_MULTIPLE); } Grid_quiesce_nodes(); diff --git a/lib/communicator/SharedMemoryMPI.cc b/lib/communicator/SharedMemoryMPI.cc index 4a288979..dea913bc 100644 --- a/lib/communicator/SharedMemoryMPI.cc +++ b/lib/communicator/SharedMemoryMPI.cc @@ -49,6 +49,7 @@ void GlobalSharedMemory::Init(Grid_MPI_Comm comm) #endif MPI_Comm_rank(WorldShmComm ,&WorldShmRank); MPI_Comm_size(WorldShmComm ,&WorldShmSize); + std::cout << " World communicator of size " <