From fc6b26014675bd78a194e55f3cb4187aa421ac82 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sat, 16 Jan 2016 13:36:06 -0800 Subject: [PATCH] Protect against PMIx-based requests that don't come thru the MPI comm_spawn interface --- orte/orted/pmix/pmix_server_dyn.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/orte/orted/pmix/pmix_server_dyn.c b/orte/orted/pmix/pmix_server_dyn.c index 134085fee8..e9bfe5cd09 100644 --- a/orte/orted/pmix/pmix_server_dyn.c +++ b/orte/orted/pmix/pmix_server_dyn.c @@ -263,6 +263,10 @@ int pmix_server_spawn_fn(opal_process_name_t *requestor, true, "spawn", "job level", info->key); } } + /* if the job is missing a personality setting, add it */ + if (NULL == jdata->personality) { + jdata->personality = strdup("ompi"); + } /* transfer the apps across */ OPAL_LIST_FOREACH(papp, apps, opal_pmix_app_t) {