1
1

Unset envars we set during initialization so we leave environ intact after orte_finalize.

Thanks to Damien Gunter for pointing it out.

This commit was SVN r23277.
Этот коммит содержится в:
Ralph Castain 2010-06-17 13:42:21 +00:00
родитель 9ba3459135
Коммит 1e90b91b84

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

@ -390,6 +390,11 @@ static int rte_finalize(void)
}
}
/* remove the envars that we pushed into environ
* so we leave that structure intact
*/
unsetenv("OMPI_MCA_grpcomm");
unsetenv("OMPI_MCA_routed");
/* deconstruct my nidmap and jobmap arrays - this
* function protects itself from being called
* before things were initialized