Skip to content

Commit 2d5bea3

Browse files
authored
Merge pull request #8889 from awlauria/v5.0.x_missing_dpm.c_update
v5.0.x: Restore singleton comm_spawn (yet again)
2 parents 1593347 + 6d7ff0d commit 2d5bea3

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

ompi/dpm/dpm.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2000,6 +2000,10 @@ static int start_dvm(char **hostfiles, char **dash_host)
20002000
* spawn processes - see if they gave us any hostfile
20012001
* or dash-host options we should pass along */
20022002
opal_argv_append_nosize(&args, "prte");
2003+
/* ensure we use the PRRTE personality */
2004+
opal_argv_append_nosize(&args, "--prtemca");
2005+
opal_argv_append_nosize(&args, "schizo");
2006+
opal_argv_append_nosize(&args, "prte");
20032007
if (NULL != hostfiles) {
20042008
tmp = opal_argv_join(hostfiles, ',');
20052009
opal_argv_append_nosize(&args, "--hostfile");
@@ -2025,9 +2029,6 @@ static int start_dvm(char **hostfiles, char **dash_host)
20252029
free(tmp);
20262030
opal_argv_append_nosize(&args, "&");
20272031

2028-
tmp = opal_argv_join(args, ' ');
2029-
free(tmp);
2030-
20312032
/* Fork off the child */
20322033
pid = fork();
20332034
if (pid < 0) {

0 commit comments

Comments
 (0)