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>
  • Loading branch information
jjhursey authored and Mamzi Bayatpour mbayatpour@nvidia.com () committed Oct 26, 2022
1 parent 113ae31 commit 35d696d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ompi/dpm/dpm.c
Original file line number Diff line number Diff line change
Expand Up @@ -1611,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 35d696d

Please sign in to comment.