coll/[sm|han|adapt]: don't disqualify on priority 0
Signed-off-by: Joseph Schuchart <schuchart@icl.utk.edu> (cherry picked from commit 09c2f4af9437accd747e823c591927481c2103ad)
Этот коммит содержится в:
родитель
9f228c9dab
Коммит
bcf70a2840
@ -146,7 +146,7 @@ mca_coll_base_module_t *ompi_coll_adapt_comm_query(struct ompi_communicator_t *
|
||||
/* Get the priority level attached to this module.
|
||||
If priority is less than or equal to 0, then the module is unavailable. */
|
||||
*priority = mca_coll_adapt_component.adapt_priority;
|
||||
if (mca_coll_adapt_component.adapt_priority <= 0) {
|
||||
if (mca_coll_adapt_component.adapt_priority < 0) {
|
||||
opal_output_verbose(10, ompi_coll_base_framework.framework_output,
|
||||
"coll:adapt:comm_query (%d/%s): priority too low; "
|
||||
"disqualifying myself",
|
||||
|
@ -188,7 +188,7 @@ mca_coll_han_comm_query(struct ompi_communicator_t * comm, int *priority)
|
||||
/* Get the priority level attached to this module. If priority is less
|
||||
* than or equal to 0, then the module is unavailable. */
|
||||
*priority = mca_coll_han_component.han_priority;
|
||||
if (mca_coll_han_component.han_priority <= 0) {
|
||||
if (mca_coll_han_component.han_priority < 0) {
|
||||
opal_output_verbose(10, ompi_coll_base_framework.framework_output,
|
||||
"coll:han:comm_query (%d/%s): priority too low; disqualifying myself",
|
||||
comm->c_contextid, comm->c_name);
|
||||
|
@ -180,10 +180,10 @@ mca_coll_sm_comm_query(struct ompi_communicator_t *comm, int *priority)
|
||||
/* Get the priority level attached to this module. If priority is less
|
||||
* than or equal to 0, then the module is unavailable. */
|
||||
*priority = mca_coll_sm_component.sm_priority;
|
||||
if (mca_coll_sm_component.sm_priority <= 0) {
|
||||
if (mca_coll_sm_component.sm_priority < 0) {
|
||||
opal_output_verbose(10, ompi_coll_base_framework.framework_output,
|
||||
"coll:sm:comm_query (%d/%s): priority too low; disqualifying myself", comm->c_contextid, comm->c_name);
|
||||
return NULL;
|
||||
return NULL;
|
||||
}
|
||||
|
||||
sm_module = OBJ_NEW(mca_coll_sm_module_t);
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user