1
0
mirror of https://github.com/paboyle/Grid.git synced 2025-06-17 23:37:06 +01:00

Switch off SHM paths with --disable-shm

This commit is contained in:
Peter Boyle
2020-11-16 18:07:15 -05:00
parent 3aab983760
commit 13df14f96e
2 changed files with 2 additions and 2 deletions

View File

@ -772,7 +772,7 @@ void SharedMemory::SetCommunicator(Grid_MPI_Comm comm)
std::vector<int> ranks(size); for(int r=0;r<size;r++) ranks[r]=r;
MPI_Group_translate_ranks (FullGroup,size,&ranks[0],ShmGroup, &ShmRanks[0]);
#ifdef GRID_SHM_DISABLE
#if 0
// Hide the shared memory path between ranks
{
for(int r=0;r<size;r++){