Skip to content

Commit

Permalink
DPM: Force 'hash' GDS component when singleton spawn
Browse files Browse the repository at this point in the history
 * See openpmix/openpmix#2705

Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
(cherry picked from commit 245424c)
  • Loading branch information
jjhursey committed Aug 25, 2022
1 parent 0cef6f7 commit 0449459
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ompi/dpm/dpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
* Copyright (c) 2021 Nanook Consulting. All rights reserved.
* Copyright (c) 2018-2022 Triad National Security, LLC. All rights
* reserved.
* Copyright (c) 2022 IBM Corporation. All rights reserved.
* $COPYRIGHT$
*
* Additional copyrights may follow
Expand Down Expand Up @@ -1610,6 +1611,11 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
OPAL_LIST_DESTRUCT(&job_info);

if (ompi_singleton) {
/* The GDS 'hash' component is known to work for singleton, so
* recommend it. The user may set this envar to override the setting.
*/
setenv("PMIX_MCA_gds", "hash", 0);
/* Start the DVM */
rc = start_dvm(hostfiles, dash_host);
if (OPAL_SUCCESS != rc) {
if (NULL != pinfo) {
Expand Down

0 comments on commit 0449459

Please sign in to comment.