mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-11 14:40:46 +01:00
temporarily enable TOFU by default when using A64FX or A64FXFIXEDSIZE
This commit is contained in:
parent
ffaaed679e
commit
fc2e9850d3
@ -43,6 +43,12 @@ void CartesianCommunicator::Init(int *argc, char ***argv)
|
|||||||
|
|
||||||
MPI_Initialized(&flag); // needed to coexist with other libs apparently
|
MPI_Initialized(&flag); // needed to coexist with other libs apparently
|
||||||
if ( !flag ) {
|
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
|
#if defined (TOFU) // hack for FUGAKU, credits go to Issaku Kanamori
|
||||||
nCommThreads=1;
|
nCommThreads=1;
|
||||||
MPI_Init(argc,argv);
|
MPI_Init(argc,argv);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user