From d29dcf70743cf1a875c3153d4065f76c07f1fcbf Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 5 Apr 2024 15:14:50 -0600 Subject: [PATCH] Fix typo Only automatically set the display map flag if we are not launching the job. Signed-off-by: Ralph Castain (cherry picked from commit 7c3ae984cf1dd59694f8a53f8d7553a613e6e354) --- src/mca/plm/base/plm_base_launch_support.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/mca/plm/base/plm_base_launch_support.c b/src/mca/plm/base/plm_base_launch_support.c index 65da7247e5..02f1993528 100644 --- a/src/mca/plm/base/plm_base_launch_support.c +++ b/src/mca/plm/base/plm_base_launch_support.c @@ -692,9 +692,10 @@ void prte_plm_base_setup_job(int fd, short args, void *cbdata) // if we are not going to launch this job, then ensure we output something - otherwise, // we will simply silently exit - if (!prte_get_attribute(&caddy->jdata->attributes, PRTE_JOB_DO_NOT_LAUNCH, NULL, PMIX_BOOL) && + if (prte_get_attribute(&caddy->jdata->attributes, PRTE_JOB_DO_NOT_LAUNCH, NULL, PMIX_BOOL) && !prte_get_attribute(&caddy->jdata->attributes, PRTE_JOB_DISPLAY_MAP, NULL, PMIX_BOOL) && !prte_get_attribute(&caddy->jdata->attributes, PRTE_JOB_DISPLAY_DEVEL_MAP, NULL, PMIX_BOOL)) { + pmix_output(0, "SETTING"); // default to the devel map prte_set_attribute(&caddy->jdata->attributes, PRTE_JOB_DISPLAY_DEVEL_MAP, PRTE_ATTR_GLOBAL, NULL, PMIX_BOOL);