1
1

fix bug in plm/rsh that could add extraneous mca options to the orted argv

cmr:v1.7

This commit was SVN r27526.
Этот коммит содержится в:
Nathan Hjelm 2012-10-30 19:40:04 +00:00
родитель a980ee5ca1
Коммит df9bd0ed59

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

@ -586,7 +586,7 @@ static int setup_launch(int *argcptr, char ***argvptr,
* only if they aren't already present
*/
for (i = 0; NULL != environ[i]; ++i) {
if (0 == strncmp("OMPI_", environ[i], 5)) {
if (0 == strncmp("OMPI_MCA", environ[i], 8)) {
/* check for duplicate in app->env - this
* would have been placed there by the
* cmd line processor. By convention, we