There is a cluster of 10 nodes (x86_64 CPU + 8 GB RAM) connected by Infiniband or Compact PCI Serial (ie PCI-Express 8x 3.0) with the possibility of RDMA (shared memory). How should I allocate shared memory between nodes in the cluster to use MPI (OpenMPI, MPICH2, Intel MPI) with openib BTL (Byte Transfer Layer), do I have to use for this mmap(), SysV(), MPI_COMM_ALLOC_MEM() or as something else?
What are the functions usual used for this purpose, or can you give an example of source code for allocating of shared memory for RDMA when using Infiniband or Compact PCI Serial (ie PCI-Express 8x 3.0)?