mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
guard prevents multiple TOFU messages
This commit is contained in:
parent
9e085bd04e
commit
b780b7b7a0
@ -44,12 +44,15 @@ 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
|
||||
// Fugaku Tofu: enable by default
|
||||
#if defined (A64FX) || defined (A64FXFIXEDSIZE)
|
||||
#ifndef TOFU
|
||||
#define TOFU
|
||||
#pragma message ("MPI_THREAD_SINGLE")
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#if defined (TOFU) // hack for FUGAKU, credits go to Issaku Kanamori
|
||||
#if defined (TOFU) // FUGAKU, credits go to Issaku Kanamori
|
||||
nCommThreads=1;
|
||||
MPI_Init(argc,argv);
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user