Skip to content
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

MPI_Abort if hoc_execerror from python and nhost > 1. #796

Merged
merged 1 commit into from Oct 28, 2020

Conversation

nrnhines
Copy link
Member

@nrnhines nrnhines commented Oct 28, 2020

This came up recently again and a brute force solution is implemented here. See #642 for a sense in which this is problematic.
@pramodk Please try in your context to see if this resolves your issue.

@nrnhines nrnhines requested a review from pramodk October 28, 2020 00:19
Copy link
Member

@pramodk pramodk left a comment

Choose a reason for hiding this comment

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

lgtm

(cc: @ferdonline @jorblancoa )

@@ -700,7 +700,7 @@ void hoc_execerror_mes(const char* s, const char* t, int prnt){ /* recover from
ctp = cbuf;
*ctp = '\0';

if (oc_jump_target_) {
if (oc_jump_target_ && nrnmpi_numprocs_world == 1) {
Copy link
Member

Choose a reason for hiding this comment

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

With this, for multi-rank run, we don't get stuck in interpreter but abort. Seems reasonable.

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

Successfully merging this pull request may close these issues.

None yet

2 participants