Skip to content

Commit e7a5426

Browse files
authored
Merge pull request open-mpi#12014 from jsquyres/pr/fix-pmix-display_map
dpm: update PMIX attribute
2 parents 57bb6dc + 5e695cd commit e7a5426

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

ompi/dpm/dpm.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* Copyright (c) 2018-2022 Triad National Security, LLC. All rights
2525
* reserved.
2626
* Copyright (c) 2022 IBM Corporation. All rights reserved.
27+
* Copyright (c) 2023 Jeffrey M. Squyres. All rights reserved.
2728
* $COPYRIGHT$
2829
*
2930
* Additional copyrights may follow
@@ -1243,7 +1244,7 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
12431244
/* check for 'display_map' - a job-level key */
12441245
ompi_info_get_bool(array_of_info[i], "display_map", &local_spawn, &flag);
12451246
if ( flag ) {
1246-
rc = dpm_convert(&job_info, "display_map", PMIX_MAPBY, NULL, "DISPLAY", true);
1247+
rc = dpm_convert(&job_info, "display_map", PMIX_DISPLAY_MAP, NULL, "DISPLAY", true);
12471248
if (OMPI_SUCCESS != rc) {
12481249
OPAL_LIST_DESTRUCT(&job_info);
12491250
OPAL_LIST_DESTRUCT(&app_info);

0 commit comments

Comments
 (0)