Skip to content

Commit 75e3d33

Browse files
rhc54jsquyres
authored andcommitted
Update processing of "display_map" info key
Translates to its own unique PMIX_DISPLAY_MAP attribute and is no longer a qualifier to the PMIX_MAPBY attr. Note that a previous commit (5e695cd on main) converted the PMIX_MAPBY attribute to PMIX_DISPLAY_MAP; this commit completes the job by updating the surrounding logic accordingly. Signed-off-by: Ralph Castain <rhc@pmix.org> Signed-off-by: Jeff Squyres <jeff@squyres.com>
1 parent e7a5426 commit 75e3d33

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

ompi/dpm/dpm.c

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1244,19 +1244,9 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
12441244
/* check for 'display_map' - a job-level key */
12451245
ompi_info_get_bool(array_of_info[i], "display_map", &local_spawn, &flag);
12461246
if ( flag ) {
1247-
rc = dpm_convert(&job_info, "display_map", PMIX_DISPLAY_MAP, NULL, "DISPLAY", true);
1248-
if (OMPI_SUCCESS != rc) {
1249-
OPAL_LIST_DESTRUCT(&job_info);
1250-
OPAL_LIST_DESTRUCT(&app_info);
1251-
PMIX_APP_FREE(apps, scount);
1252-
if (NULL != hostfiles) {
1253-
opal_argv_free(hostfiles);
1254-
}
1255-
if (NULL != dash_host) {
1256-
opal_argv_free(dash_host);
1257-
}
1258-
return MPI_ERR_SPAWN;
1259-
}
1247+
info = OBJ_NEW(opal_info_item_t);
1248+
PMIX_INFO_LOAD(&info->info, PMIX_DISPLAY_MAP, &local_spawn, PMIX_BOOL);
1249+
opal_list_append(&job_info, &info->super);
12601250
}
12611251

12621252
/* check for 'npernode' and 'ppr' - job-level key */

0 commit comments

Comments
 (0)