Skip to content

Commit 245424c

Browse files
committed
DPM: Force 'hash' GDS component when singleton spawn
* See openpmix/openpmix#2705 Signed-off-by: Joshua Hursey <jhursey@us.ibm.com>
1 parent ba24786 commit 245424c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

ompi/dpm/dpm.c

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
* Copyright (c) 2021 Nanook Consulting. All rights reserved.
2424
* Copyright (c) 2018-2022 Triad National Security, LLC. All rights
2525
* reserved.
26+
* Copyright (c) 2022 IBM Corporation. All rights reserved.
2627
* $COPYRIGHT$
2728
*
2829
* Additional copyrights may follow
@@ -1610,6 +1611,11 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
16101611
OPAL_LIST_DESTRUCT(&job_info);
16111612

16121613
if (ompi_singleton) {
1614+
/* The GDS 'hash' component is known to work for singleton, so
1615+
* recommend it. The user may set this envar to override the setting.
1616+
*/
1617+
setenv("PMIX_MCA_gds", "hash", 0);
1618+
/* Start the DVM */
16131619
rc = start_dvm(hostfiles, dash_host);
16141620
if (OPAL_SUCCESS != rc) {
16151621
if (NULL != pinfo) {

0 commit comments

Comments
 (0)