diff --git a/Grid/communicator/Communicator_none.cc b/Grid/communicator/Communicator_none.cc index 5d917b79..a06e054d 100644 --- a/Grid/communicator/Communicator_none.cc +++ b/Grid/communicator/Communicator_none.cc @@ -128,7 +128,7 @@ double CartesianCommunicator::StencilSendToRecvFromBegin(std::vector &waitall,int dir) { diff --git a/Grid/communicator/SharedMemory.cc b/Grid/communicator/SharedMemory.cc index de10da3d..ec42dd87 100644 --- a/Grid/communicator/SharedMemory.cc +++ b/Grid/communicator/SharedMemory.cc @@ -91,6 +91,59 @@ void *SharedMemory::ShmBufferSelf(void) //std::cerr << "ShmBufferSelf "< IntShmDims; + GridCmdOptionIntVector(std::string(str),IntShmDims); + assert(IntShmDims.size() == WorldDims.size()); + long ShmSize = 1; + for (int dim=0;dim primes({2,3,5}); + + int dim = 0; + int last_dim = ndimension - 1; + int AutoShmSize = 1; + while(AutoShmSize != WorldShmSize) { + int p; + for(p=0;p IntShmDims; - GridCmdOptionIntVector(std::string(str),IntShmDims); - assert(IntShmDims.size() == WorldDims.size()); - long ShmSize = 1; - for (int dim=0;dim primes({2,3,5}); - - int dim = 0; - int last_dim = ndimension - 1; - int AutoShmSize = 1; - while(AutoShmSize != WorldShmSize) { - int p; - for(p=0;p