Re: [OMPI devel] Recv from MTL module hanging on pml_cm_recv.c:mca_pml_cm_recv()

2008-05-08 Thread George Bosilca
Caciano, It's a little bit more complex than that. In fact you should never set the req_complete flag to true yourself. Instead you should use ompi_request_complete (defined in ompi/request/request.h) which will set the flag and trigger a condition broadcast or signal for you. This will

Re: [OMPI devel] [RFC] mca_base_select()

2008-05-08 Thread Pak Lui
Thanks very much Josh! Will try it out soon. Josh Hursey wrote: Sorry about that. I didn't test that type of option. It should be working in r18418. Let me know if you see any more issues. -- Josh On May 8, 2008, at 6:04 PM, Pak Lui wrote: I think I have a problem but I am not sure. I used

[OMPI devel] Recv from MTL module hanging on pml_cm_recv.c:mca_pml_cm_recv()

2008-05-08 Thread Caciano Machado
Hi, I'm finishing the implementation of a MTL module but something went wrong. This module is using PML/cm and the Recv operations are hanging in the ompi_request_wait_completion() call in pml_cm_recv.c:mca_pml_cm_recv(). I think that I must set the variable

Re: [OMPI devel] [RFC] mca_base_select()

2008-05-08 Thread Josh Hursey
Sorry about that. I didn't test that type of option. It should be working in r18418. Let me know if you see any more issues. -- Josh On May 8, 2008, at 6:04 PM, Pak Lui wrote: I think I have a problem but I am not sure. I used to be able to use the circumflex (^) to switch between the

Re: [OMPI devel] "__printf__" attribute

2008-05-08 Thread Jeff Squyres
Cool; I've updated the wiki. Thanks! On May 8, 2008, at 6:29 PM, Aurélien Bouteiller wrote: They refer to the parameters of the function. In the example linked, 2 means the fmt is the second argument of the function and 3 is the first variadic arg related to the fmt string. Aurelien Le 8

Re: [OMPI devel] "__printf__" attribute

2008-05-08 Thread Aurélien Bouteiller
They refer to the parameters of the function. In the example linked, 2 means the fmt is the second argument of the function and 3 is the first variadic arg related to the fmt string. Aurelien Le 8 mai 08 à 18:24, Jeff Squyres a écrit : Rainer -- What do the numeric arguments refer to in

[OMPI devel] "__printf__" attribute

2008-05-08 Thread Jeff Squyres
Rainer -- What do the numeric arguments refer to in the attribute format stuff? The wiki page has only one example, and it doesn't explain what these numbers are: https://svn.open-mpi.org/trac/ompi/wiki/CompilerAttributes Thanks! -- Jeff Squyres Cisco Systems

Re: [OMPI devel] [RFC] mca_base_select()

2008-05-08 Thread Pak Lui
I think I have a problem but I am not sure. I used to be able to use the circumflex (^) to switch between the gridengine launcher and the ssh launchers by doing something like this, e.g. -mca plm ^gridengine, to exclude some of the components plm (and also in ras). It doesn't seem like the

Re: [OMPI devel] [OMPI users] OpenMPI Internals & Static-Analysis.

2008-05-08 Thread Mukesh K Srivastava
Hi. The OMPI community should think to come with OpenMPI Internals document. Probably having an Internal document will certainly help developers of OpenMPI. What one has to do - if one is thinking to come with OMPI Internals document to start with? Is there any link or project repository within

Re: [OMPI devel] [RFC] mca_base_open() NULL

2008-05-08 Thread Josh Hursey
Sounds good. I can probably try to finish the patch in the next couple weeks, but if someone needs it before I get a chance to look at it let me know. Once the implementation is complete, then the RFC will be updated with a termination date for further input. Cheers, Josh On May 8,

Re: [OMPI devel] [RFC] mca_base_open() NULL

2008-05-08 Thread Jeff Squyres
On May 8, 2008, at 9:32 AM, Josh Hursey wrote: I think 'all' would be a nice symmetric addition to complement 'none' and then this would allow users to specify the "select best from all available" option on the command line. Ok, if you accept "all" and "none" as friendly ammendments to your

Re: [OMPI devel] [RFC] mca_base_open() NULL

2008-05-08 Thread Josh Hursey
On May 8, 2008, at 8:15 AM, Jeff Squyres wrote: On May 8, 2008, at 8:06 AM, Josh Hursey wrote: --> If not intended to be used by users (i.e., it's an internal mechanism only), is there a reason why we're not using a zero-length string (e.g., mpirun --mca foo "")? I think a zero length

Re: [OMPI devel] [RFC] mca_base_open() NULL

2008-05-08 Thread Jeff Squyres
On May 8, 2008, at 8:06 AM, Josh Hursey wrote: --> If not intended to be used by users (i.e., it's an internal mechanism only), is there a reason why we're not using a zero-length string (e.g., mpirun --mca foo "")? I think a zero length string might get confusing with the empty string. The

Re: [OMPI devel] [RFC] mca_base_open() NULL

2008-05-08 Thread Josh Hursey
On May 8, 2008, at 7:50 AM, Jeff Squyres wrote: FWIW: - I think "none" is a slightly better word than "null" for this value; "none" implies that you don't open anything, whereas "null" could be a specific component (as it is/was in some frameworks). Calling it 'none' sounds fine to me. -

Re: [OMPI devel] [RFC] mca_base_open() NULL

2008-05-08 Thread Jeff Squyres
FWIW: - I think "none" is a slightly better word than "null" for this value; "none" implies that you don't open anything, whereas "null" could be a specific component (as it is/was in some frameworks). - Whatever word we decide on will need to become a reserved component name (i.e., no

Re: [OMPI devel] [OMPI users] OpenMPI Internals & Static-Analysis.

2008-05-08 Thread Jeff Squyres
On May 8, 2008, at 5:06 AM, Mukesh K Srivastava wrote: Hi. Greetings! There probably isn't much need to CC both lists; this question is probably more suited for the devel list. I'm following up to both lists so that the answer is archived on the web properly, but if there's any

[OMPI devel] OpenMPI Internals & Static-Analysis.

2008-05-08 Thread Mukesh K Srivastava
Hi. Out of curiosity, was looking to know - Query#1: Does OpenMPI has any document related with OpenMPI Internals? Query#2: Does any slides talks of OpenMPI internals, If yes, any links for the same? Query#3: Do any Static-Analysis open-source tools are available for analyzing OpenMPI?