Re: [OMPI devel] Simplified: Misuse or bug with nested types?

2013-04-23 Thread Eric Chamberland
Hi Paul, okay, I have compiled the sources from the trunk and it works fine now... Sorry to have reported a duplicate... It will be in the next 1.6.X release? Thanks, Eric Le 2013-04-23 20:46, Paul Hargrove a écrit : Eric, Are you testing against the Open MPI svn trunk? I ask because on Ap

Re: [OMPI devel] Simplified: Misuse or bug with nested types?

2013-04-23 Thread Paul Hargrove
Eric, Are you testing against the Open MPI svn trunk? I ask because on April 9 George commited a fix for the bug reported by Thomas Jahns: http://www.open-mpi.org/community/lists/devel/2013/04/12268.php -Paul On Tue, Apr 23, 2013 at 5:35 PM, Eric Chamberland < eric.chamberl...@giref.ulaval

Re: [OMPI devel] Simplified: Misuse or bug with nested types?

2013-04-23 Thread Eric Chamberland
Hi Jeff, thanks for your answer! You inserted a doubt in my mind... and gave me hope... :-) So I did some modifications on the code to help everyone: 1- it's now in "C"... :-) 2- Concerning your remark about arbitrary address: I am now using the "offsetof" macro defined in "stddef.h" to compu

Re: [OMPI devel] Using external libevent

2013-04-23 Thread Ralph Castain
On Apr 23, 2013, at 3:23 PM, Orion Poplawski wrote: > On 04/17/2013 03:40 PM, Ralph Castain wrote: >> >> On Apr 17, 2013, at 1:19 PM, Orion Poplawski wrote: > > So other than openmpi expecting to work with a specific version of > libevent, I'm not seeing compelling reason why bun

Re: [OMPI devel] Using external libevent

2013-04-23 Thread Orion Poplawski
On 04/17/2013 03:40 PM, Ralph Castain wrote: On Apr 17, 2013, at 1:19 PM, Orion Poplawski wrote: So other than openmpi expecting to work with a specific version of libevent, I'm not seeing compelling reason why bundling is necessary (at least for Fedora packaging). If there is, please let

Re: [OMPI devel] Simplified: Misuse or bug with nested types?

2013-04-23 Thread Jeff Squyres (jsquyres)
Sorry for the delay. My C++ is a bit rusty, but this does not seem correct to me. You're making the datatypes relative to an arbitrary address (&lPtrBase) in a static method on each class. You really need the datatypes to be relative to each instance's *this* pointer. Doing so allows MPI to r

Re: [OMPI devel] Simplified: Misuse or bug with nested types?

2013-04-23 Thread Eric Chamberland
another information: I just tested the example with Intel MPI 4.0.1.007 and it works correctly... So the problem seems to be only with OpenMPI... which is the default distribution we use... :-/ Is my example code too long? Eric Le 2013-04-23 09:55, Eric Chamberland a écrit : Sorry, here i

Re: [OMPI devel] Simplified: Misuse or bug with nested types?

2013-04-23 Thread Eric Chamberland
Sorry, here is the attachment... Eric On 04/23/2013 09:54 AM, Eric Chamberland wrote: Hi, I have sent a previous message showing something that I think is a bug (or maybe a misuse, but...). I worked on the example sent to have it simplified: now it is almost half of the lines of code and the

[OMPI devel] Simplified: Misuse or bug with nested types?

2013-04-23 Thread Eric Chamberland
Hi, I have sent a previous message showing something that I think is a bug (or maybe a misuse, but...). I worked on the example sent to have it simplified: now it is almost half of the lines of code and the structures are more simple... but still showing the wrong behaviour. Briefly, we co