Open lukashuebner opened 2 years ago
I think this is a very interesting proposal and I share Lukas's view that this could be a beneficial feature for KaMPIng. (@lukashuebner you mean MPI+OpenMP, don't you?)
(@lukashuebner you mean MPI+OpenMP, don't you?)
Yes, of course :speak_no_evil:
The MPI-3 standard introduced functions which enable multiple ranks on the same node / NUMA-domain to use shared local memory to communicate.
Supporting this functionality in KaMPIng could be a unique selling point and very useful. There are probably multiple levels of support:
shmalloc()
.For sake of completeness: It seems as if one could also remap the shared memory region to another virtual address. On a 64bit system, there might even be a large enough block of virtual addresses which are available on all ranks, and we'd thus be able to map the shared memory region there and use raw pointers again.