[openib-general] OpenSM Debug

Hal Rosenstock halr at voltaire.com
Sat Nov 19 08:33:03 PST 2005


Hi,

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 ?

It seems to me that you might want debug in any combination of the three
places (these 2 and the vendor library). If so, those should be changed
to warnings rather than errors and something should perhaps be added for
the vendor library too.

-- Hal






More information about the general mailing list