HCOLL: use proper parameter in progress unregister
fixed by Nadezhda, reviewed by Elena/MikeD cmr=v1.8.2:reviewer=ompi-rm1.8 This commit was SVN r31891.
Этот коммит содержится в:
родитель
d04db1e213
Коммит
7b05b5c4c2
@ -241,7 +241,7 @@ mca_coll_hcoll_comm_query(struct ompi_communicator_t *comm, int *priority)
|
||||
|
||||
if (HCOLL_SUCCESS != rc){
|
||||
cm->hcoll_enable = 0;
|
||||
opal_progress_unregister(hcoll_progress_fn);
|
||||
opal_progress_unregister(mca_coll_hcoll_progress);
|
||||
HCOL_ERROR("Hcol library init failed");
|
||||
return NULL;
|
||||
}
|
||||
@ -252,7 +252,7 @@ mca_coll_hcoll_comm_query(struct ompi_communicator_t *comm, int *priority)
|
||||
if (OMPI_SUCCESS != err) {
|
||||
cm->hcoll_enable = 0;
|
||||
hcoll_finalize();
|
||||
opal_progress_unregister(hcoll_progress_fn);
|
||||
opal_progress_unregister(mca_coll_hcoll_progress);
|
||||
HCOL_ERROR("Hcol comm keyval create failed");
|
||||
return NULL;
|
||||
}
|
||||
@ -263,7 +263,7 @@ mca_coll_hcoll_comm_query(struct ompi_communicator_t *comm, int *priority)
|
||||
if (!cm->libhcoll_initialized) {
|
||||
cm->hcoll_enable = 0;
|
||||
hcoll_finalize();
|
||||
opal_progress_unregister(hcoll_progress_fn);
|
||||
opal_progress_unregister(mca_coll_hcoll_progress);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
@ -282,7 +282,7 @@ mca_coll_hcoll_comm_query(struct ompi_communicator_t *comm, int *priority)
|
||||
if (!cm->libhcoll_initialized) {
|
||||
cm->hcoll_enable = 0;
|
||||
hcoll_finalize();
|
||||
opal_progress_unregister(hcoll_progress_fn);
|
||||
opal_progress_unregister(mca_coll_hcoll_progress);
|
||||
}
|
||||
return NULL;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user