Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
Only automatically set the display map flag if we are not
launching the job.

Signed-off-by: Ralph Castain <rhc@pmix.org>
(cherry picked from commit 7c3ae98)
  • Loading branch information
rhc54 committed Apr 5, 2024
1 parent 472a313 commit e2ebb30
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/mca/plm/base/plm_base_launch_support.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit e2ebb30

Please sign in to comment.