Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
SWIFTsim
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
SWIFT
SWIFTsim
Commits
369dcca9
Commit
369dcca9
authored
7 years ago
by
Pedro Gonnet
Browse files
Options
Downloads
Patches
Plain Diff
only need to explicitly activate drifts on cell being sent.
parent
4057a8a6
No related branches found
No related tags found
1 merge request
!343
Subset sorting
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/cell.c
+5
-7
5 additions, 7 deletions
src/cell.c
with
5 additions
and
7 deletions
src/cell.c
+
5
−
7
View file @
369dcca9
...
...
@@ -1718,7 +1718,7 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
if
(
cell_need_rebuild_for_pair
(
ci
,
cj
))
rebuild
=
1
;
#ifdef WITH_MPI
/* Activate the send/recv
flag
s. */
/* Activate the send/recv
task
s. */
if
(
ci
->
nodeID
!=
engine_rank
)
{
/* Activate the tasks to recv foreign cell ci's data. */
...
...
@@ -1739,10 +1739,9 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
if
(
l
==
NULL
)
error
(
"Missing link to send_xv task."
);
scheduler_activate
(
s
,
l
->
t
);
/* Drift
bo
th cell
s, the foreign one
at the level which it is sent,
i.e.
drift the cell specified in the send task (l->t) itself. */
/* Drift th
e
cell
which will be sent
at the level
at
which it is sent,
i.e.
drift the cell specified in the send task (l->t) itself. */
cell_activate_drift_part
(
l
->
t
->
ci
,
s
);
if
(
t
->
type
==
task_type_pair
)
cell_activate_drift_part
(
cj
,
s
);
if
(
cell_is_active
(
cj
,
e
))
{
...
...
@@ -1787,10 +1786,9 @@ int cell_unskip_tasks(struct cell *c, struct scheduler *s) {
if
(
l
==
NULL
)
error
(
"Missing link to send_xv task."
);
scheduler_activate
(
s
,
l
->
t
);
/* Drift
bo
th cell
s, the foreign one
at the level which it is sent,
i.e.
drift the cell specified in the send task (l->t) itself. */
/* Drift th
e
cell
which will be sent
at the level
at
which it is sent,
i.e.
drift the cell specified in the send task (l->t) itself. */
cell_activate_drift_part
(
l
->
t
->
ci
,
s
);
if
(
t
->
type
==
task_type_pair
)
cell_activate_drift_part
(
ci
,
s
);
if
(
cell_is_active
(
ci
,
e
))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment