Message ID | 1289599882-15165-3-git-send-email-jaschut@sandia.gov (mailing list archive) |
---|---|
State | Not Applicable, archived |
Headers | show |
diff --git a/opensm/opensm/osm_torus.c b/opensm/opensm/osm_torus.c index 3b67f16..aeb4fe6 100644 --- a/opensm/opensm/osm_torus.c +++ b/opensm/opensm/osm_torus.c @@ -9045,6 +9045,14 @@ int torus_build_lfts(void *context) struct fabric *fabric; struct torus *torus; + if (!ctx->osm->subn.opt.qos) { + OSM_LOG(&ctx->osm->log, OSM_LOG_ERROR, + "Error: Routing engine list contains torus-2QoS. " + "Enable QoS for correct operation " + "(-Q or 'qos TRUE' in opensm.conf).\n"); + return status; + } + fabric = &ctx->fabric; teardown_fabric(fabric);