Skip to content

Commit 41f1a37

Browse files
committed
Restore singleton comm_spawn
Everyone's favorite feature is back! Operate as singleton and then spawn the DVM when the app first calls MPI_Comm_spawn. Only supported if PRRTE is around, and if "prte" is in the PATH. Supports hostfile and dash-host MPI_Info keys. Signed-off-by: Ralph Castain <[email protected]>
1 parent f6222f0 commit 41f1a37

File tree

7 files changed

+347
-6
lines changed

7 files changed

+347
-6
lines changed

config/ompi_setup_prrte.m4

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,13 +102,19 @@ AC_DEFUN([OMPI_SETUP_PRRTE],[
102102
103103
AS_IF([test "$opal_prrte_mode" != "disabled"],
104104
[AS_IF([test "$prrte_setup_external_happy" = "0" -a "$prrte_setup_internal_happy" = "0"],
105-
[AC_MSG_ERROR([Could not find viable prrte build.])])])
105+
[AC_MSG_ERROR([Could not find viable prrte build.])])
106+
OMPI_HAVE_PRRTE=1],
107+
[OMPI_HAVE_PRRTE=0])
106108
107109
AC_SUBST([PRTE_PATH])
108110
109111
AM_CONDITIONAL([OMPI_WANT_PRRTE],
110112
[test "$prrte_setup_internal_happy" = "1" -o "$prrte_setup_external_happy" = "1"])
111113
114+
AC_DEFINE_UNQUOTED([OMPI_HAVE_PRRTE],
115+
[$OMPI_HAVE_PRRTE],
116+
[Whether or not PRRTE is available])
117+
112118
OPAL_SUMMARY_ADD([[Miscellaneous]], [[prrte]], [prrte], [$opal_prrte_mode])
113119
114120
OPAL_VAR_SCOPE_POP

0 commit comments

Comments
 (0)