Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 08 Mar 2014 19:55:04 +0100
From: magnum <john.magnum@...hmail.com>
To: john-dev@...ts.openwall.com
Subject: MPI signalling

Lukas, Sayantan, or anyone else knowing MPI -

Do you know what would be the right MPI mechanism for just sending a 
trival "signal" to other processes, much like a SIGUSR1 but across 
network? There's got to be something suitable.

Background: When we use --fork and the mother needs to tell children 
they should re-sync the pot file, it sends them a SIGUSR2 (in latest 
bleeding). If a child wants to initiate the same thing, it sends the 
mother a SIGUSR2, and mother relays to other children.

With MPI, I thought I'd use MPI_Isend() for the sender, and receivers 
check for that with MPI_Irecv() once in a while using a timer, but it 
turns out that while it's asynchronous, it's still not of the kind I 
want because if I do an MPI_Irecv(), it will wait forever (though non 
blocking) for a message. That is not what I want: What I need is more of 
a "was there anything sent to me?" function that may return "nope, it 
wasn't".

magnum

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ