diff --git a/Grid/communicator/SharedMemoryMPI.cc b/Grid/communicator/SharedMemoryMPI.cc index 4f18adca..469ec3bb 100644 --- a/Grid/communicator/SharedMemoryMPI.cc +++ b/Grid/communicator/SharedMemoryMPI.cc @@ -544,19 +544,20 @@ void GlobalSharedMemory::SharedMemoryAllocate(uint64_t bytes, int flags) #ifndef ACCELERATOR_AWARE_MPI // printf("Host buffer allocate for GPU non-aware MPI\n"); HostCommBuf= malloc(bytes); /// CHANGE THIS TO malloc_host - // acceleratorPin(HostCommBuf,bytes); #endif ShmCommBuf = acceleratorAllocDevice(bytes); if (ShmCommBuf == (void *)NULL ) { - std::cerr << " SharedMemoryMPI.cc acceleratorAllocDevice failed NULL pointer for " << bytes<<" bytes " << std::endl; + std::cerr << "SharedMemoryMPI.cc acceleratorAllocDevice failed NULL pointer for " << bytes<<" bytes " << std::endl; exit(EXIT_FAILURE); } if ( WorldRank == 0 ){ - std::cout << WorldRank << Mheader " SharedMemoryMPI.cc acceleratorAllocDevice "<< bytes + std::cout << Mheader " acceleratorAllocDevice "<< bytes << "bytes at "<< std::hex<< ShmCommBuf << " - "<<(bytes-1+(uint64_t)ShmCommBuf) <