Skip to content

Commit 7e180d2

Browse files
committed
Cherry-pick from:
-------------------------- |From 2977194 Mon Sep 17 00:00:00 2001 |From: Ralph Castain <[email protected]> |Date: Tue, 15 Nov 2016 19:27:26 -0700 |Subject: [PATCH] Fix debugger attach and cospawn of debugger daemons for the | STAT debugger. Add ability to test the support minus the actual debugger. | |Fixes open-mpi#2411 | |Signed-off-by: Ralph Castain <[email protected]> |--- (cherry picked from commit 5cb312a425d55bf2e1e343d9d9c3c35fa428128a)
1 parent 5a9ab3a commit 7e180d2

File tree

2 files changed

+1948
-0
lines changed

2 files changed

+1948
-0
lines changed

orte/mca/schizo/base/schizo_base_stubs.c

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,11 @@ int orte_schizo_base_setup_fork(orte_job_t *jdata,
114114
int rc;
115115
orte_schizo_base_active_module_t *mod;
116116

117+
/* if no personality was specified, then nothing to do */
118+
if (NULL == jdata->personality) {
119+
return ORTE_SUCCESS;
120+
}
121+
117122
OPAL_LIST_FOREACH(mod, &orte_schizo_base.active_modules, orte_schizo_base_active_module_t) {
118123
if (NULL != mod->module->setup_fork) {
119124
rc = mod->module->setup_fork(jdata, context);
@@ -167,6 +172,11 @@ int orte_schizo_base_get_remaining_time(uint32_t *timeleft)
167172
int rc;
168173
orte_schizo_base_active_module_t *mod;
169174

175+
/* if no personality was specified, then nothing to do */
176+
if (NULL == jdata->personality) {
177+
return ORTE_SUCCESS;
178+
}
179+
170180
OPAL_LIST_FOREACH(mod, &orte_schizo_base.active_modules, orte_schizo_base_active_module_t) {
171181
if (NULL != mod->module->get_remaining_time) {
172182
rc = mod->module->get_remaining_time(timeleft);

0 commit comments

Comments
 (0)