Skip to content

Commit 2fda9b8

Browse files
committed
Fix debugger attach during MPI_Init
Correct the attribute being sought to detect debugger launch - you cannot quote the name of the PMIx attribute as it is the string representation of that name that is used inside PMIx, and not the attribute name itself. Signed-off-by: Ralph Castain <rhc@pmix.org>
1 parent d0c8ca9 commit 2fda9b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ompi/runtime/ompi_rte.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ void ompi_rte_breakpoint(char *name)
10881088
u32ptr = &u32;
10891089
pname.jobid = opal_process_info.my_name.jobid;
10901090
pname.vpid = OPAL_VPID_WILDCARD;
1091-
OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, "PMIX_DEBUG_STOP_IN_APP",
1091+
OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, PMIX_DEBUG_STOP_IN_APP,
10921092
&pname, &u32ptr, PMIX_PROC_RANK);
10931093
if (PMIX_SUCCESS != rc) {
10941094
/* if not, just return */

0 commit comments

Comments
 (0)