From 465856331a39ec4d83ecb62f3ade29e96de0a47b Mon Sep 17 00:00:00 2001 From: nmeyer-ur Date: Mon, 15 Jun 2020 15:39:39 +0200 Subject: [PATCH] switch back to serialized; wrong results on single too --- Grid/communicator/Communicator_mpi3.cc | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Grid/communicator/Communicator_mpi3.cc b/Grid/communicator/Communicator_mpi3.cc index c9990045..71dd6ffe 100644 --- a/Grid/communicator/Communicator_mpi3.cc +++ b/Grid/communicator/Communicator_mpi3.cc @@ -48,17 +48,18 @@ void CartesianCommunicator::Init(int *argc, char ***argv) #if defined (A64FX) || defined (A64FXFIXEDSIZE) #ifndef TOFU #define TOFU -#pragma message ("TOFU network / MPI_THREAD_SINGLE") +#pragma message ("TOFU network / MPI_THREAD_SERIALIZED") #endif #endif #if defined (TOFU) // FUGAKU, credits go to Issaku Kanamori nCommThreads=1; - MPI_Init(argc,argv); + // wrong results here too + //MPI_Init(argc,argv); // comms-overlap leads to wrong results in Benchmark_wilson even on single node MPI runs // other comms schemes are ok - //MPI_Init_thread(argc,argv,MPI_THREAD_SERIALIZED,&provided); + MPI_Init_thread(argc,argv,MPI_THREAD_SERIALIZED,&provided); #else MPI_Init_thread(argc,argv,MPI_THREAD_MULTIPLE,&provided); #endif