Skip to content

Commit

Permalink
MPI_Abort if hoc_execerror from python and nhost > 1. (#796)
Browse files Browse the repository at this point in the history
  • Loading branch information
nrnhines committed Dec 10, 2020
1 parent 1040251 commit b6852c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/oc/hoc.c
Expand Up @@ -698,7 +698,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) {
(*oc_jump_target_)();
}
#if NRNMPI
Expand Down

0 comments on commit b6852c9

Please sign in to comment.