Skip to content

Update the debugger support so it properly launches under a debugger, and supports attach to a running job #3709

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 19, 2017

Conversation

rhc54
Copy link
Contributor

@rhc54 rhc54 commented Jun 16, 2017

Thanks to Greg Lee for the report

Fixes #3660

Signed-off-by: Ralph Castain [email protected]

@rhc54 rhc54 added the bug label Jun 16, 2017
@rhc54 rhc54 added this to the v2.1.2 milestone Jun 16, 2017
@rhc54 rhc54 self-assigned this Jun 16, 2017
@rhc54 rhc54 requested a review from jjhursey June 16, 2017 01:53
Copy link
Member

@jjhursey jjhursey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me. I had a very minor comment update if you get to it.

@@ -2414,7 +2414,7 @@ static void setup_debugger_job(void)
*/
orte_plm_base_create_jobid(debugger);
/* set the personality to ORTE */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should probably update the comment to ompi instead of orte to reflect the line that follows.

… and supports attach to a running job

Fixes #3660

Signed-off-by: Ralph Castain <[email protected]>
@rhc54
Copy link
Contributor Author

rhc54 commented Jun 16, 2017

@jjhursey Done!

@lee218llnl
Copy link

This looks good to me, thanks!

/* set the personality to ORTE */
debugger->personality = strdup("orte");
/* set the personality to OMPI */
debugger->personality = strdup("ompi");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rhc54 Just curious -- why change this to "ompi" inside of orterun?

/* set the personality to ORTE */
debugger->personality = strdup("orte");
/* set the personality to OMPI */
debugger->personality = strdup("ompi");
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why the change here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because you folks removed the "orte" schizo component in 2.x, so we have to default to the "ompi" one 😄

@hppritcha
Copy link
Member

Do we need this fix in v3.0.x?

@rhc54
Copy link
Contributor Author

rhc54 commented Jun 19, 2017

It's already in master and 3.x - the problem was the prior branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants