Merge pull request #780 from hppritcha/topic/plm_alps_minor_cleanup
plm/alps: remove unneded env. variable setting
Этот коммит содержится в:
Коммит
8e7e4ca7f4
@ -151,20 +151,6 @@ static int plm_alps_init(void)
|
|||||||
*/
|
*/
|
||||||
static int plm_alps_launch_job(orte_job_t *jdata)
|
static int plm_alps_launch_job(orte_job_t *jdata)
|
||||||
{
|
{
|
||||||
orte_app_context_t *app;
|
|
||||||
|
|
||||||
for (int i = 0 ; i < jdata->apps->size ; ++i) {
|
|
||||||
int env_count;
|
|
||||||
|
|
||||||
if (NULL == (app = (orte_app_context_t*)opal_pointer_array_get_item(jdata->apps, i))) {
|
|
||||||
continue;
|
|
||||||
}
|
|
||||||
|
|
||||||
for (env_count = 0 ; app->env && app->env[env_count] ; ++env_count);
|
|
||||||
/* disable PMI for the application. this will prevent the pmi library from printing useless warnings */
|
|
||||||
opal_argv_append (&env_count, &app->env, "PMI_NO_FORK=1");
|
|
||||||
opal_argv_append (&env_count, &app->env, "PMI_NO_PREINITIALIZE=1");
|
|
||||||
}
|
|
||||||
|
|
||||||
if (ORTE_FLAG_TEST(jdata, ORTE_JOB_FLAG_RESTART)) {
|
if (ORTE_FLAG_TEST(jdata, ORTE_JOB_FLAG_RESTART)) {
|
||||||
/* this is a restart situation - skip to the mapping stage */
|
/* this is a restart situation - skip to the mapping stage */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user