1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-04-07 04:35:56 +01:00

temporarily enable TOFU by default when using A64FX or A64FXFIXEDSIZE

This commit is contained in:
nmeyer-ur 2020-05-11 13:25:02 +02:00
parent ffaaed679e
commit fc2e9850d3

View File

@ -43,6 +43,12 @@ void CartesianCommunicator::Init(int *argc, char ***argv)
MPI_Initialized(&flag); // needed to coexist with other libs apparently
if ( !flag ) {
// temporarily enable Fugaku/Tofu support by default
#if defined (A64FX) || defined (A64FXFIXEDSIZE)
#define TOFU
#endif
#if defined (TOFU) // hack for FUGAKU, credits go to Issaku Kanamori
nCommThreads=1;
MPI_Init(argc,argv);