1
0
mirror of https://github.com/paboyle/Grid.git synced 2024-09-20 09:15:38 +01: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 #if defined (TOFU) // FUGAKU, credits go to Issaku Kanamori
nCommThreads=1; nCommThreads=1;
//MPI_Init(argc,argv); MPI_Init(argc,argv);
MPI_Init_thread(argc,argv,MPI_THREAD_SERIALIZED,&provided);
// 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 #else
MPI_Init_thread(argc,argv,MPI_THREAD_MULTIPLE,&provided); MPI_Init_thread(argc,argv,MPI_THREAD_MULTIPLE,&provided);
#endif #endif