Skip to content

Commit 9615444

Browse files
committed
Restore singleton comm_spawn (yet again)
Signed-off-by: Ralph Castain <rhc@pmix.org>
1 parent 0755165 commit 9615444

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

ompi/dpm/dpm.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2005,6 +2005,10 @@ static int start_dvm(char **hostfiles, char **dash_host)
20052005
* spawn processes - see if they gave us any hostfile
20062006
* or dash-host options we should pass along */
20072007
opal_argv_append_nosize(&args, "prte");
2008+
/* ensure we use the PRRTE personality */
2009+
opal_argv_append_nosize(&args, "--prtemca");
2010+
opal_argv_append_nosize(&args, "schizo");
2011+
opal_argv_append_nosize(&args, "prte");
20082012
if (NULL != hostfiles) {
20092013
tmp = opal_argv_join(hostfiles, ',');
20102014
opal_argv_append_nosize(&args, "--hostfile");
@@ -2030,9 +2034,6 @@ static int start_dvm(char **hostfiles, char **dash_host)
20302034
free(tmp);
20312035
opal_argv_append_nosize(&args, "&");
20322036

2033-
tmp = opal_argv_join(args, ' ');
2034-
free(tmp);
2035-
20362037
/* Fork off the child */
20372038
pid = fork();
20382039
if (pid < 0) {

0 commit comments

Comments
 (0)