From fc2e9850d3eac663b8a2b6d17c572e7f384a16d4 Mon Sep 17 00:00:00 2001 From: nmeyer-ur Date: Mon, 11 May 2020 13:25:02 +0200 Subject: [PATCH] temporarily enable TOFU by default when using A64FX or A64FXFIXEDSIZE --- Grid/communicator/Communicator_mpi3.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Grid/communicator/Communicator_mpi3.cc b/Grid/communicator/Communicator_mpi3.cc index dcd984d2..31566352 100644 --- a/Grid/communicator/Communicator_mpi3.cc +++ b/Grid/communicator/Communicator_mpi3.cc @@ -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);