Add the appropriate hooks to tell Totalview to display the user's main program upon startup. Apparently, this hook got lost somewhere after the 1.2 series :-(
Thanks to David Turner and the TV folks for passing this along. This commit was SVN r24549.
Этот коммит содержится в:
родитель
795ca2cff2
Коммит
d17b50e1ff
@ -68,6 +68,7 @@ ORTE_DECLSPEC extern volatile char MPIR_server_arguments[MPIR_MAX_ARG_LENGTH];
|
||||
ORTE_DECLSPEC extern volatile int MPIR_forward_output;
|
||||
ORTE_DECLSPEC extern volatile int MPIR_forward_comm;
|
||||
ORTE_DECLSPEC extern char MPIR_attach_fifo[MPIR_MAX_PATH_LENGTH];
|
||||
ORTE_DECLSPEC extern int MPIR_force_to_main;
|
||||
|
||||
typedef void* (*orte_debugger_breakpoint_fn_t)(void);
|
||||
|
||||
|
@ -50,7 +50,7 @@ volatile char MPIR_server_arguments[MPIR_MAX_ARG_LENGTH];
|
||||
volatile int MPIR_forward_output = 0;
|
||||
volatile int MPIR_forward_comm = 0;
|
||||
char MPIR_attach_fifo[MPIR_MAX_PATH_LENGTH];
|
||||
|
||||
int MPIR_force_to_main = 0;
|
||||
|
||||
#if ORTE_DISABLE_FULL_SUPPORT
|
||||
int orte_debugger_base_open(void)
|
||||
|
@ -560,6 +560,7 @@ int orterun(int argc, char *argv[])
|
||||
if (0 == MPIR_forward_comm) {
|
||||
rc = ORTE_SUCCESS;
|
||||
}
|
||||
MPIR_force_to_main = 0;
|
||||
memset(MPIR_attach_fifo, 0, MPIR_MAX_PATH_LENGTH);
|
||||
foo = MPIR_Breakpoint;
|
||||
|
||||
|
Загрузка…
Ссылка в новой задаче
Block a user