1
1

Quick fix for static builds (mca_component_retain always return failure in static build mode, so just blatently ignore the failure. Though, this may crash severly sometime later if the failure occurs while in dso mode.

This commit was SVN r17328.
Этот коммит содержится в:
Aurelien Bouteiller 2008-01-30 10:41:49 +00:00
родитель 4e703741b7
Коммит 4da1258d60

Просмотреть файл

@ -103,8 +103,7 @@ static int mca_pml_v_component_close(void)
ret = mca_base_component_repository_retain_component("pml", "v"); ret = mca_base_component_repository_retain_component("pml", "v");
if(OPAL_SUCCESS != ret) if(OPAL_SUCCESS != ret)
{ {
V_OUTPUT_ERR("pml_v: component_close: can't retain myself !"); V_OUTPUT_ERR("pml_v: component_close: can't retain myself. If Open MPI is build static you can ignore this error. Otherwise it should crash soon.");
return ret;
} }
/* Mark that we have changed something */ /* Mark that we have changed something */