1
1

Only co-locate debugger daemon if the orted has local children - prevents mpirun from co-locating a daemon when it has no local procs

This commit was SVN r19280.
Этот коммит содержится в:
Ralph Castain 2008-08-13 20:06:28 +00:00
родитель c9f3f2c682
Коммит 913cf04633

Просмотреть файл

@ -1149,10 +1149,13 @@ CLEANUP:
* co-locate any debugger daemons so that they get launched
* before we report anything to the HNP. This ensures that
* the debugger daemons are ready-to-go before mpirun returns
* from the plm.spawn command
* from the plm.spawn command. Only spawn the debugger, though,
* if we have local children - otherwise, the HNP could spawn
* a debugger when it doesn't have any local procs
*/
if (NULL != orte_odls_globals.debugger &&
!orte_odls_globals.debugger_launched) {
!orte_odls_globals.debugger_launched &&
0 < opal_list_get_size(&orte_odls_globals.children)) {
OPAL_OUTPUT_VERBOSE((5, orte_odls_globals.output,
"%s odls:launch forking debugger with %s",
ORTE_NAME_PRINT(ORTE_PROC_MY_NAME),