Re: [OMPI users] SIGTERM propagation across MPI processes

2012-03-25 Thread Júlio Hoffimann
; Forum has voted to remove the C++ bindings altogether. > > > On Mar 25, 2012, at 12:36 PM, Júlio Hoffimann wrote: > > I have no much time now for trying a more recent version, but i'll keep > that in mind. I also dislike the warnings my current version is giving me ( > ht

Re: [OMPI users] SIGTERM propagation across MPI processes

2012-03-25 Thread Júlio Hoffimann
h problems in one shot. ;-) Regards, Júlio. 2012/3/25 Ralph Castain > > On Mar 25, 2012, at 11:28 AM, Júlio Hoffimann wrote: > > I wrote the version in a previous P.S. statement: MPI 1.4.3 from Ubuntu > 11.10 repositories. :-) > > > Sorry - I see a lot of emails over the

Re: [OMPI users] SIGTERM propagation across MPI processes

2012-03-25 Thread Júlio Hoffimann
I wrote the version in a previous P.S. statement: MPI 1.4.3 from Ubuntu 11.10 repositories. :-) Thanks for the clarifications! 2012/3/25 Ralph Castain > > On Mar 25, 2012, at 10:57 AM, Júlio Hoffimann wrote: > > I forgot to mention, i tried to set the odls_base_sigkill_timeout a

Re: [OMPI users] SIGTERM propagation across MPI processes

2012-03-25 Thread Júlio Hoffimann
e, at least for me, the word "kill" is not clear. The SIGTERM+SIGKILL keywords would be unambiguous. Regards, Júlio. 2012/3/25 Ralph Castain > > On Mar 25, 2012, at 7:19 AM, Júlio Hoffimann wrote: > > Dear Ralph, > > Thank you for your prompt reply. I confirmed wh

Re: [OMPI users] SIGTERM propagation across MPI processes

2012-03-25 Thread Júlio Hoffimann
param: > > mpirun -mca odls_base_sigkill_timeout N > > should cause it to wait for N seconds before issuing the sigkill. Not sure > if that will help or not - it used to work for me, but I haven't tried it > for awhile. What versions of OMPI are you using? > > > On Mar 2

[OMPI users] SIGTERM propagation across MPI processes

2012-03-22 Thread Júlio Hoffimann
Dear all, I'm trying to handle signals inside a MPI task farming model. Following is a pseudo-code of what i'm trying to achieve: volatile sig_atomic_t unexpected_error_occurred = 0; void my_handler( int sig ){ unexpected_error_occurred = 1;} somewhere in the code...// signal(SIGTERM, my