Re: [OMPI users] OSHMEM: shmem_ptr always returns NULL

2018-06-01 Thread Jeff Hammond
Why do you need kernel support for interprocess shared memory? Just allocate the symmetric heap as shared-memory. Sure, this does not support other symmetric variables, but shmem_ptr can detect that and return NULL for those cases. shmem_ptr should behave similar to MPI_Win_shared_query... Jeff

[OMPI users] EBADF (Bad file descriptor) on a simplest "Hello world" program

2018-06-01 Thread Dmitry N. Mikushin
Dear all, Looks like I have a weird issue never encountered before. While trying to run simplest "Hello world" program, I get: $ cat hello.c #include int main(int argc, char* argv[]) { MPI_Init(&argc, &argv); MPI_Finalize(); return 0; } $ mpicc hello.c -o hello $ mpirun -np 1 ./hello

Re: [OMPI users] OSHMEM: shmem_ptr always returns NULL

2018-06-01 Thread Joshua Ladd
**xpmem kernel module. On Fri, Jun 1, 2018 at 3:16 PM, Joshua Ladd wrote: > Hi, Marcin > > Sorry for the late response (somehow this one got lost in the clutter). We > added support for shmem_ptr in the UCX SPML in Open MPI 3.0. However, in > order to use it, you must install the Knem kernel mod

Re: [OMPI users] OSHMEM: shmem_ptr always returns NULL

2018-06-01 Thread Joshua Ladd
Hi, Marcin Sorry for the late response (somehow this one got lost in the clutter). We added support for shmem_ptr in the UCX SPML in Open MPI 3.0. However, in order to use it, you must install the Knem kernel module ( https://github.com/hjelmn/xpmem). Best, Josh On Wed, Apr 18, 2018 at 4:01 AM,