Re: [OMPI devel] Howto pause BTL's sending at runtime - hope mail is working again

2010-01-11 Thread Josh Hursey
The ft_event() function that you mentioned is part of the larger fault tolerance infrastructure in Open MPI. You need to make sure to enable it before using (if it is not enabled many of the ft_event functions default to NULL). Add '--with-ft=cr' to your ./configure line and that will enabl

Re: [OMPI devel] Howto pause BTL's sending at runtime - hope mail is working again

2010-01-11 Thread Jeff Squyres
Additionally, I believe that the FT system already does something like what you describe (although perhaps not exactly the same thing) -- there is a phase where the FT system pauses and quiesces all BTLs. Did you look at that part of the code, perchance, and see if it meets your needs? On Jan

Re: [OMPI devel] Howto pause BTL's sending at runtime - hope mail is working again

2010-01-11 Thread Christoph Konersmann
Thanks a lot for your help! I will give it a try. Christoph Ralph Castain schrieb: > You've got this a tad wrong, but that's okay - let me try to clarify a couple > of things that may help. > > First, you don't want to add this as a separate orted command. As you noted, > orte has no direct wa

Re: [OMPI devel] Howto pause BTL's sending at runtime - sorry for spamming

2010-01-08 Thread Christoph Konersmann
Hello, please apologize the spamming. the mailfilter somehow doesn't like my mail. I have no clue what the problem could be... I've uploaded the Mail as a simple textfile. Please have a look at it. Thanks. http://www.sysckon.de/mail.txt -- Paderborn Center for Parallel Computing - PC2 Universi

Re: [OMPI devel] Howto pause BTL's sending at runtime

2010-01-08 Thread Christoph Konersmann
Sorry, but somehow the mailscanner doesn't like the sourcecode... Changed now. Hi again, Maybe I should give more specific information with some code snippets... Currently I added the definition ORTE_DAEMON_BTL_CTL_CMD (orte_daemon_cmd_flag_t) 26 to odls_types.h to identify if I want to trigge

Re: [OMPI devel] Howto pause BTL's sending at runtime

2010-01-08 Thread Christoph Konersmann
Sorry, but the mailscanner somehow doesn't like the sourcecode... Changed now. Hi again, Maybe I should give more specific information with some code snippets... Currently I added #define ORTE_DAEMON_BTL_CTL_CMD (orte_daemon_cmd_flag_t) 26 to odls_types.h to identify if I want to trigger the B

Re: [OMPI devel] Howto pause BTL's sending at runtime

2010-01-08 Thread Christoph Konersmann
Hi again, Maybe I should give more specific information with some code snippets... Currently I added #define ORTE_DAEMON_BTL_CTL_CMD (orte_daemon_cmd_flag_t) 26 to odls_types.h to identify if I want to trigger the BTL pause. In process_commands() of orted/orted_comm.c this flag is processed fir

Re: [OMPI devel] Howto pause BTL's sending at runtime - hope mail is working again

2010-01-08 Thread Ralph Castain
You've got this a tad wrong, but that's okay - let me try to clarify a couple of things that may help. First, you don't want to add this as a separate orted command. As you noted, orte has no direct way to tell the OMPI layer to do anything. Instead, you want to pass a message to the process th

Re: [OMPI devel] Howto pause BTL's sending at runtime - hope mail is working again

2010-01-08 Thread Christoph Konersmann
Hi again, Maybe I should give more specific information with some code snippets... Currently I added #define ORTE_DAEMON_BTL_CTL_CMD (orte_daemon_cmd_flag_t) 26 to odls_types.h to identify if I want to trigger the BTL pause. In process_commands() of orted/orted_comm.c this flag is processed fir

[OMPI devel] Howto pause BTL's sending at runtime

2010-01-05 Thread Christoph Konersmann
Hi all, I'm trying to implement a method to pause all BTL's sending packets to their destinations. Currently I added a state variable to orte_process_info which will be changed with an external program through process_commands() in orte/orted/orted_comm.c (I hope it's processed globaly not l