Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
e5d24a2e
Commit
e5d24a2e
authored
Jul 10, 2017
by
Peter W. Draper
Browse files
Add check to make sure that foreign cells do not have xparts
This would have revealed the last MPI bug a but quicker
parent
0199eaa8
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/runner.c
View file @
e5d24a2e
...
...
@@ -462,6 +462,10 @@ void runner_do_sort(struct runner *r, struct cell *c, int flags, int cleanup,
/* Reset the sort distance */
if
(
c
->
sorted
==
0
)
{
#ifdef SWIFT_DEBUG_CHECKS
if
(
xparts
!=
NULL
&&
c
->
nodeID
!=
engine_rank
)
error
(
"Have non-NULL xparts in foreign cell"
);
#endif
/* And the individual sort distances if we are a local cell */
if
(
xparts
!=
NULL
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment