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
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 <clement.fo...@gmail.com <mailto:clement.fo...@gmail.com>>

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

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
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 FOYER

[OMPI devel] Stack Overflow with mca_osc_pt2pt _frag_alloc

2017-03-23 Thread Clement FOYER
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 FOYER

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

2017-03-22 Thread Clement FOYER
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@lists.open-mpi.org https

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

[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

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

2017-02-02 Thread Clement FOYER
pal_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 02/02/2017 11:17 AM, Clement FOYER wrote: Hi everyone, I've been faci

[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

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

2016-12-12 Thread Clement FOYER
, 2016, Clement FOYER <clement.fo...@gmail.com> wrote: 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 "mp

[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

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

2016-10-27 Thread Clement FOYER
ou can also create a private repository on bitbucket and grant access to only a few developers (both options are free) Cheers, Gilles On Wednesday, October 26, 2016, Clement FOYER<clement.fo...@gmail.com> wrote: Hi everyone, I've got two Makefile configuration pro

[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