Open MPI logo

Open MPI User's Mailing List Archives

  |   Home   |   Support   |   FAQ   |   all Open MPI User's mailing list

Subject: [OMPI users] patch: enabling shmem-sysv on cygwin
From: marco atzeri (marco.atzeri_at_[hidden])
Date: 2012-11-02 13:26:21


More as a note for other cygwin users than a general patch, but it
should work in any case.

The attached patch allow to enable shmem_sysv.
as SHM_R | SHM_W are not defined on cygwin (and on posix) [1]

Additional advise :on cygwin the SYSV shared memory requires the
cygserver service running, otherwise it will fail as

$ mpirun -n 4 ./hello_c.exe
Bad system call

Regards
Marco

[1] http://cygwin.com/ml/cygwin/2007-10/msg00284.html