From ce255ec3591e39f68065c663141134f2ffb690f8 Mon Sep 17 00:00:00 2001 From: Peter Boyle Date: Sat, 20 Jul 2019 16:37:03 +0100 Subject: [PATCH] Relocate to fix build failure for comms none --- Grid/communicator/SharedMemory.cc | 1 + Grid/communicator/SharedMemoryMPI.cc | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) 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);