Re: [OMPI devel] Help regarding Openmpi source code

2019-03-04 Thread Clement Foyer
Hi, The reason you cannot find it is because it actually is not define as such. The PMPI interface is defined as the profiling interface. The principle is you have the real symbol in your shared library that is PMPI_Send, with a weak alias being MPI_Send. So, if a third party want to intercept

Re: [OMPI devel] OSC module change

2017-11-30 Thread Clement FOYER
need for a cid if all you hold is a group reference.  Plus, a communicator has a bunch of other state (collective modules handles, etc.) that aren’t necessarily needed by a window. Brian On Nov 29, 2017, at 5:57 AM, Clement FOYER <mailto:clement.fo...@gmail.com>> wrote: Hi Brian,

Re: [OMPI devel] OSC module change

2017-11-29 Thread Clement FOYER
Hi Brian, Even if I see your point, I don't think a user request de free the communicator should necesserily lead to the communicator being deleted, only released from one hold, and available to be disposed by the library. I don't see objection to have the library keep a grab on these communi

Re: [OMPI devel] about ompi_datatype_is_valid

2017-06-02 Thread Clement FOYER
As George pointed out earlier, there is no construct in C able to tell you if a random number is a valid C pointer, i.e., is a valid memory address. -1, once casted to a pointer, would correspond to the adress 0x...f . It would probably be better to ajust the initial code in order to use

[OMPI devel] Stack Overflow with osc_pt2pt _frag_alloc

2017-03-23 Thread Clement FOYER
ction recursively call itself as first statement, without modifying any argument. This function is defined in ompi/mca/osc/pt2pt/osc_pt2pt_frag.h line 169. Is it the normal behaviour? How is it supposed to stop from recursively call itself? Cheers, Clement

[OMPI devel] Stack Overflow with mca_osc_pt2pt _frag_alloc

2017-03-23 Thread Clement FOYER
ction recursively call itself as first statement, without modifying any argument. This function is defined in ompi/mca/osc/pt2pt/osc_pt2pt_frag.h line 169. Is it the normal behaviour? How is it supposed to stop from recursively call itself? Cheers, Clement

[OMPI devel] PVAR definition - Variable type regarding the PVAR class

2017-03-22 Thread Clement FOYER
ned long or unsigned long long, and thus it should be possible to use them in the same cases unsigned long int and unsigned long long int are ? Thenk you in advance for your answer, Clement FOYER ___ devel mailing list devel@list

Re: [OMPI devel] Minor typo in opal/class/opal_list.h

2017-02-23 Thread Clement FOYER
Thank you Gilles for your answer. Pull request #3023 added. Cheers, Clément FOYER On 02/23/2017 03:35 PM, gil...@rist.or.jp wrote: Thanks Clement, the best way is to make a pull request. your commit must contain a Signed-off-by: ... line in order to be considered for inclusion. and that can

[OMPI devel] Minor typo in opal/class/opal_list.h

2017-02-23 Thread Clement FOYER
Hi everyone, I found a typo in the comment for the opal_list_item_compare_fn_t typedef (opal/class/opal_list.h:877). It says the functions should return "11" instead of "-1" for a < b. Should I open a issue on the github, or is there already a thread where to add minor typo mistakes, or shoul

Re: [OMPI devel] Problem with BTL while allocating window

2017-02-02 Thread Clement FOYER
ist_next.opal_list_next.opal_list_next.opal_list_next.opal_list_next.opal_list_next.opal_list_next)).btl_module $52 = (mca_btl_base_module_t *) 0x0 Sorry for the noise in your mail boxes. I thought it may have been valuable informations to know where these pointers point to. Clement FOYER On 0

[OMPI devel] Problem with BTL while allocating window

2017-02-02 Thread Clement FOYER
Hi everyone, I've been facing issues with the creations of windows (MPI_Win_create). Maybe it's an already known issue, or maybe you will be able to tell me where to check to find the problem. I've been developping some benchmark to evaluate the overhead of a monitoring module. Everything wo

Re: [OMPI devel] LD_PRELOAD a C-coded shared object with a FORTRAN application

2016-12-12 Thread Clement FOYER
eters INTEGER comm will be replaced (modulo the typos) with MPI_Comm c_comm; MPI_Fint *comm; c_comm = MPI_Comm_f2c(*comm); And so on, that is why Fortran wrapper is preferred, plus there might be over caveats with Fortean 2008 Cheers, Gilles On Monday, December 12, 2016, Clement FOYER wrote:

[OMPI devel] LD_PRELOAD a C-coded shared object with a FORTRAN application

2016-12-12 Thread Clement FOYER
Hello everyone, I have been trying to redirect MPI_Init and MPI_Finalize calls from a FORTRAN application (the CG benchmark from NAS Parallel Benchmarks). It appears that in the fortran application the MPI_Init function signature is "mpi_init_", whereas in my shared object it is MPI_Init. How

[OMPI devel] Removing from opal_hashtable while iterating over the elements

2016-11-18 Thread Clement FOYER
Hi everyone, I was wondering if it was possible to remove an element while iterating over the elements of a hashtable. As saw that it wasn't while using the OPAL_HASHTABLE_FOREACH macro, and I suppose it's because of the possible loss of the current next element. But how about if the element h

Re: [OMPI devel] devel Digest, Vol 3372, Issue 1

2016-10-27 Thread Clement FOYER
Gilles On Wednesday, October 26, 2016, Clement FOYER wrote: Hi everyone, I've got two Makefile configuration problems, and I thought maybe someone here could give me hints to resolve them. I've been working on a component that is part in ompi/mca/pml/comp, and

[OMPI devel] Makefile.am configuration

2016-10-26 Thread Clement FOYER
Hi everyone, I've got two Makefile configuration problems, and I thought maybe someone here could give me hints to resolve them. I've been working on a component that is part in ompi/mca/pml/comp, and part in mca/common/comp. And I don't really know which variables/target to set in order to