>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

_______________________________________________
openib-general mailing list
[email protected]
http://openib.org/mailman/listinfo/openib-general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to