1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-11-10 07:55:35 +00:00

switch back to standard MPI_init due to wrong results in Benchmark_wilson using comms-overlap

This commit is contained in:
nmeyer-ur 2020-06-15 14:21:38 +02:00
parent a25e4b3d0c
commit cc958aa9ed

View File

@ -54,8 +54,11 @@ void CartesianCommunicator::Init(int *argc, char ***argv)
#if defined (TOFU) // FUGAKU, credits go to Issaku Kanamori
nCommThreads=1;
//MPI_Init(argc,argv);
MPI_Init_thread(argc,argv,MPI_THREAD_SERIALIZED,&provided);
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);
#else
MPI_Init_thread(argc,argv,MPI_THREAD_MULTIPLE,&provided);
#endif