diff --git a/orte/tools/orterun/help-orterun.txt b/orte/tools/orterun/help-orterun.txt index fef5f0a532..2ad4ab4488 100644 --- a/orte/tools/orterun/help-orterun.txt +++ b/orte/tools/orterun/help-orterun.txt @@ -660,3 +660,10 @@ method and try launching your job again. Your job will now abort. # +[no_debugger_launch_support] +This version of Open MPI is known to have a problem using the "--debug" +option to mpirun, and has therefore disabled it. This functionality will +be restored in a future version of Open MPI. + +Please see https://github.com/open-mpi/ompi/issues/1225 for details. + diff --git a/orte/tools/orterun/orterun.c b/orte/tools/orterun/orterun.c index 53f1788506..e86b79e1d5 100644 --- a/orte/tools/orterun/orterun.c +++ b/orte/tools/orterun/orterun.c @@ -1147,7 +1147,16 @@ static int parse_globals(int argc, char* argv[], opal_cmd_line_t *cmd_line) /* Do we want a user-level debugger? */ if (orterun_globals.debugger) { +#if 0 + /* see https://github.com/open-mpi/ompi/issues/1225 + * Once things are fixed, the orte_show_help/exit can be removed + * and this code re-enabled. + */ run_debugger(orte_basename, cmd_line, argc, argv, orterun_globals.num_procs); +#else + orte_show_help("help-orterun.txt", "no_debugger_launch_support", false); + exit(-1); +#endif } /* if recovery was disabled on the cmd line, do so */