Skip to content

Commit 6d7ff0d

Browse files
committed
Restore singleton comm_spawn (yet again)
Bringing over dpm.c changes from 9615444. Signed-off-by: Austen Lauria <awlauria@us.ibm.com>
1 parent a35e7dd commit 6d7ff0d

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)