Re: [OMPI users] Questions about integration with resource distribution systems

2017-07-25 Thread r...@open-mpi.org
> On Jul 25, 2017, at 3:48 PM, Kulshrestha, Vipul > wrote: > > I have several questions about integration of openmpi with resource queuing > systems. > > 1. > I understand that openmpi supports integration with various resource > distribution systems such as

Re: [OMPI users] Issue handling SIGUSR1 in OpenMPI

2017-07-25 Thread Marc Cooper
Got it. I now see each proc reporting the signal. Thank you. On 25 July 2017 at 11:45, r...@open-mpi.org wrote: > Again, you are sending the signal to just the one process whose pid you > specified. We don’t pick that signal up and propagate it. If you signal the > pid of

Re: [OMPI users] Issue handling SIGUSR1 in OpenMPI

2017-07-25 Thread r...@open-mpi.org
Again, you are sending the signal to just the one process whose pid you specified. We don’t pick that signal up and propagate it. If you signal the pid of mpiexec itself, then you’d see every proc report it. > On Jul 25, 2017, at 11:40 AM, Marc Cooper wrote: > > Even

Re: [OMPI users] Issue handling SIGUSR1 in OpenMPI

2017-07-25 Thread Marc Cooper
Even this method of raising signal from user to mpiexec results in signal handling by only one process. I've modified my earlier example where each process publishes its pid, and I capture the pid and raise the signal using 'kill -SIGUSR1 ' from another terminal. // test.c void handle_signal(int

Re: [OMPI users] Issue handling SIGUSR1 in OpenMPI

2017-07-25 Thread r...@open-mpi.org
I’m afraid we don’t currently support that use-case. We forward signals sent by the user to mpiexec (i.e., the user “hits” mpiexec with a signal), but we don’t do anything to support an application proc attempting to raise a signal and asking it to be propagated. If you are using OMPI master,

Re: [OMPI users] Groups and Communicators

2017-07-25 Thread George Bosilca
Diego, Assuming you have some common grounds between the 4 initial groups (otherwise you will have to connect them via MPI_Comm_connect/MPI_Comm_accept) you can merge the 4 groups together and then use any MPI mechanism to create a partial group of leaders (such as MPI_Comm_split). If you spawn

[OMPI users] Issue handling SIGUSR1 in OpenMPI

2017-07-25 Thread Marc Cooper
Hi all, I'm working to understand signal handling in OpenMPI. I read that "Open MPI will forward SIGUSR1 and SIGUSR2 from mpiexec to the other processes". My question is that is this feature enabled by default installation. The scenario is that one MPI process raises a SIGUSR1, which has to be

[OMPI users] Groups and Communicators

2017-07-25 Thread Diego Avesani
Dear All, I am studying Groups and Communicators, but before start going in detail, I have a question about groups. I would like to know if is it possible to create a group of masters of the other groups and then a intra-communication in the new group. I have spent sometime reading different