Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events

2010-07-15 Thread Jeff Squyres
On Jul 15, 2010, at 10:53 AM, nadia.derbey wrote: > > Shouldn't we be keeping everything the same / native type as much as > > possible? > > Agreed, but the native type is already broken: we are getting from > ibv_get_async_event() an event->event_type which is a mix of > ibv_event_type and ibv_

Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events

2010-07-15 Thread nadia.derbey
On Thu, 2010-07-15 at 08:21 -0400, Jeff Squyres wrote: > On Jul 15, 2010, at 8:22 AM, nadia.derbey wrote: > > > So the solution is: > > 1. leave the intermediate event_type declared as an int. > > 2. then: > > . either cast it to ibv_event_type when calling > > openib_event_to_str() > >

Re: [OMPI devel] [OMPI users] Debug info on Darwin

2010-07-15 Thread Jeff Squyres
Resurrecting this orphaned discussion... Peter: so what exactly do you need? -gstabs or -gstabs+ when compiling these files on Darwin? (or, more specifically, whenever the back-end compiler supports one/both of these flags) On Jun 9, 2010, at 11:43 PM, Paul H. Hargrove wrote: > > > Jeff S

Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events

2010-07-15 Thread Jeff Squyres
On Jul 15, 2010, at 8:22 AM, nadia.derbey wrote: > So the solution is: > 1. leave the intermediate event_type declared as an int. > 2. then: > . either cast it to ibv_event_type when calling > openib_event_to_str() > . or declare openib_event_to_str as accepting an int instead of an > ib

Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events

2010-07-15 Thread nadia.derbey
On Thu, 2010-07-15 at 07:21 -0400, Jeff Squyres wrote: > On Jul 15, 2010, at 2:14 AM, nadia.derbey wrote: > > > The only warning I'm getting in the part of the code impacted by the > > patch is: > > - > > ../../../../../ompi/mca/btl/openib/btl_openib_async.c(322): warning > > #

Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events

2010-07-15 Thread N.M. Maclaren
On Jul 15 2010, Jeff Squyres wrote: On Jul 15, 2010, at 2:14 AM, nadia.derbey wrote: The only warning I'm getting in the part of the code impacted by the patch is: - ../../../../../ompi/mca/btl/openib/btl_openib_async.c(322): warning #188: enumerated type mixed with another

Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events

2010-07-15 Thread Jeff Squyres
On Jul 15, 2010, at 2:14 AM, nadia.derbey wrote: > The only warning I'm getting in the part of the code impacted by the > patch is: > - > ../../../../../ompi/mca/btl/openib/btl_openib_async.c(322): warning > #188: enumerated type mixed with another type > event_ty

Re: [OMPI devel] PATCH: Wrong event_type value passed in to show_help when getting xrc async events

2010-07-15 Thread nadia.derbey
The only warning I'm getting in the part of the code impacted by the patch is: - ../../../../../ompi/mca/btl/openib/btl_openib_async.c(322): warning #188: enumerated type mixed with another type event_type ^= IBV_XRC_QP_EVENT_FLAG; - Regards,