Early selection of the best PML.
With this patch the best PML is selected earlier, before finalizing the others PML. This provides a simpler mechanism to intercept and highjack the PML (as done in the monitoring PML) Signed-off-by: George Bosilca <bosilca@icl.utk.edu>
Этот коммит содержится в:
родитель
6213d23f0b
Коммит
668aa15dda
@ -193,6 +193,14 @@ int mca_pml_base_select(bool enable_progress_threads,
|
|||||||
modex_reqd = true;
|
modex_reqd = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Save the winner */
|
||||||
|
|
||||||
|
mca_pml_base_selected_component = *best_component;
|
||||||
|
mca_pml = *best_module;
|
||||||
|
opal_output_verbose( 10, ompi_pml_base_framework.framework_output,
|
||||||
|
"select: component %s selected",
|
||||||
|
mca_pml_base_selected_component.pmlm_version.mca_component_name );
|
||||||
|
|
||||||
/* Finalize all non-selected components */
|
/* Finalize all non-selected components */
|
||||||
|
|
||||||
for (item = opal_list_remove_first(&opened);
|
for (item = opal_list_remove_first(&opened);
|
||||||
@ -239,14 +247,6 @@ int mca_pml_base_select(bool enable_progress_threads,
|
|||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Save the winner */
|
|
||||||
|
|
||||||
mca_pml_base_selected_component = *best_component;
|
|
||||||
mca_pml = *best_module;
|
|
||||||
opal_output_verbose( 10, ompi_pml_base_framework.framework_output,
|
|
||||||
"select: component %s selected",
|
|
||||||
mca_pml_base_selected_component.pmlm_version.mca_component_name );
|
|
||||||
|
|
||||||
/* This base function closes, unloads, and removes from the
|
/* This base function closes, unloads, and removes from the
|
||||||
available list all unselected components. The available list will
|
available list all unselected components. The available list will
|
||||||
contain only the selected component. */
|
contain only the selected component. */
|
||||||
|
Загрузка…
Ссылка в новой задаче
Block a user