[OMPI users] Form an intercommunicator across threads?

2017-05-15 Thread Clune, Thomas L. (GSFC-6101)
I am trying to craft a client-server layer that needs to have 2 different modes of operation. In the “remote server” mode, then the server runs on distinct processes, and intercommunicator is a perfect fit for my design. In the “local server” the server will actually run on a dedicate thre

Re: [OMPI users] How to use MPI_Win_attach() (or how to specify the 'displ' on a remote process)

2017-05-05 Thread Clune, Thomas L. (GSFC-6101)
on and communicate this address to the origin process. So by using a target address of 0 you are effectively trying to write to NULL. osc/pt2pt's bounds checking isn't perfect so it is giving a SEGV. -Nathan On May 04, 2017, at 03:18 PM, "Clune, Thomas L. (GSFC-6101)" mailto:thoma

[OMPI users] How to use MPI_Win_attach() (or how to specify the 'displ' on a remote process)

2017-05-04 Thread Clune, Thomas L. (GSFC-6101)
I have encountered a problem that seems well suited to dynamic windows with one-sided comunication.To verify my understanding, I put together a simple demo code (attached). My initial attempt consistently crashed until I stumbled upon passing the base address of the attached memory on the