Ensure that we don't breakpoint the debugger until -after- all procs have reported their contact info so we can successfully send the release message
This commit was SVN r18678.
Этот коммит содержится в:
родитель
3b5e80fa61
Коммит
571f483c39
@ -61,6 +61,7 @@
|
|||||||
#include "orte/mca/errmgr/errmgr.h"
|
#include "orte/mca/errmgr/errmgr.h"
|
||||||
#include "orte/mca/rml/rml.h"
|
#include "orte/mca/rml/rml.h"
|
||||||
#include "orte/runtime/orte_globals.h"
|
#include "orte/runtime/orte_globals.h"
|
||||||
|
#include "orte/runtime/orte_wait.h"
|
||||||
#include "orte/util/show_help.h"
|
#include "orte/util/show_help.h"
|
||||||
|
|
||||||
#include "debuggers.h"
|
#include "debuggers.h"
|
||||||
@ -461,6 +462,12 @@ void orte_debugger_init_after_spawn(orte_job_t *jdata)
|
|||||||
dump();
|
dump();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* wait for all procs to have reported their contact info - this
|
||||||
|
* ensures that (a) they are all into mpi_init, and (b) the system
|
||||||
|
* has the contact info to successfully send a message to rank=0
|
||||||
|
*/
|
||||||
|
ORTE_PROGRESSED_WAIT(false, jdata->num_reported, jdata->num_procs);
|
||||||
|
|
||||||
(void) MPIR_Breakpoint();
|
(void) MPIR_Breakpoint();
|
||||||
|
|
||||||
/* send a message to rank=0 to release it */
|
/* send a message to rank=0 to release it */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user