[openib-general] OpenSM Debug
Sean Hefty
sean.hefty at intel.com
Sat Nov 19 08:37:37 PST 2005
>The following code snippet is in opensm/main.c:
>
> if ( osm_is_debug() != cl_is_debug() )
> {
> fprintf(stderr, "ERROR: OpenSM and Complib were compiled using different
>modes\n");
> fprintf(stderr, "ERROR: OpenSM debug:%d Complib debug:%d \n",
>osm_is_debug(), cl_is_debug() );
> exit(1);
> }
>
>Is there a reason debug can't be turned on independently in OpenSM and
>the component library ?
There used to be a restriction that you couldn't mix a free/release version of
the component library with a debug version of a client, and vice-versa. The
debug version of complib added fields to structures that were not needed in the
release version, resulting in different structure sizes between free and debug
versions. This is probably still the case.
- Sean
More information about the general
mailing list