diff --git a/Grid/communicator/SharedMemory.cc b/Grid/communicator/SharedMemory.cc index 7f2bd324..3445b077 100644 --- a/Grid/communicator/SharedMemory.cc +++ b/Grid/communicator/SharedMemory.cc @@ -40,7 +40,9 @@ int GlobalSharedMemory::_ShmAlloc; uint64_t GlobalSharedMemory::_ShmAllocBytes; std::vector GlobalSharedMemory::WorldShmCommBufs; +#ifndef ACCELERATOR_AWARE_MPI void * GlobalSharedMemory::HostCommBuf; +#endif Grid_MPI_Comm GlobalSharedMemory::WorldShmComm; int GlobalSharedMemory::WorldShmRank;