diff --git a/Grid/communicator/SharedMemory.cc b/Grid/communicator/SharedMemory.cc index e23563ef..5bca9764 100644 --- a/Grid/communicator/SharedMemory.cc +++ b/Grid/communicator/SharedMemory.cc @@ -32,6 +32,7 @@ NAMESPACE_BEGIN(Grid); // static data +int GlobalSharedMemory::HPEhypercube = 1; uint64_t GlobalSharedMemory::MAX_MPI_SHM_BYTES = 1024LL*1024LL*1024LL; int GlobalSharedMemory::Hugepages = 0; int GlobalSharedMemory::_ShmSetup; diff --git a/Grid/communicator/SharedMemoryMPI.cc b/Grid/communicator/SharedMemoryMPI.cc index 512822ab..b2896bda 100644 --- a/Grid/communicator/SharedMemoryMPI.cc +++ b/Grid/communicator/SharedMemoryMPI.cc @@ -36,7 +36,6 @@ Author: Peter Boyle NAMESPACE_BEGIN(Grid); #define header "SharedMemoryMpi: " /*Construct from an MPI communicator*/ -int GlobalSharedMemory::HPEhypercube = 1; void GlobalSharedMemory::Init(Grid_MPI_Comm comm) { assert(_ShmSetup==0);