1
1

Fix two typos that prevented alps direct launch from working

This commit was SVN r28628.
Этот коммит содержится в:
Nathan Hjelm 2013-06-13 17:04:08 +00:00
родитель ebf441ba4b
Коммит 518d1fe200
2 изменённых файлов: 2 добавлений и 2 удалений

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

@ -196,7 +196,7 @@ static int store(const opal_identifier_t *uid,
} }
} }
if (!subbed) { if (!subbed) {
ptr[k++] = str[i]; ptr[k++] = str[n];
} }
} }
/* pass the result */ /* pass the result */

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

@ -219,7 +219,7 @@ static int modex(orte_grpcomm_collective_t *coll)
fields = opal_argv_split(cptr, ','); fields = opal_argv_split(cptr, ',');
free(cptr); free(cptr);
/* sanity check */ /* sanity check */
if (6 != opal_argv_count(fields)) { if (4 > opal_argv_count(fields)) {
ORTE_ERROR_LOG(ORTE_ERR_BAD_PARAM); ORTE_ERROR_LOG(ORTE_ERR_BAD_PARAM);
opal_argv_free(fields); opal_argv_free(fields);
return ORTE_ERR_BAD_PARAM; return ORTE_ERR_BAD_PARAM;