Re: [OMPI users] waiting for message either from MPI communicator or from TCP socket

2017-06-25 Thread Trevour Spencer
s but wastes CPU cycles. Fortunately MPI > often uses busy polling when waiting for messages anyway, so not sure it > matters. > > Brice > > > > > Le 25/06/2017 20:08, Trevour Spencer a écrit : > > Dear all, > I have not yet found a solution for waiting for an ev

Re: [OMPI users] waiting for message either from MPI communicator or from TCP socket

2017-06-25 Thread Trevour Spencer
: https://lists.mpich.org/pipermail/discuss/2015-June/004049.html He received no reply either. Is the question stupid for some reason, is the answer trivial, or is there no solution to this problem? Cheers Trevour 2017-06-20 20:15 GMT+02:00 Trevour Spencer : > Dear all, > I am looking

[OMPI users] waiting for message either from MPI communicator or from TCP socket

2017-06-20 Thread Trevour Spencer
Dear all, I am looking for a solution to receive messages either via MPI or via a TCP socket, whichever arrives next. Using the select() method as described for example at http://developerweb.net/viewtopic.php?id=2933, I can have my code wait until any of a given set of TCP sockets receives some d