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
f02d42e2
Commit
f02d42e2
authored
Aug 17, 2015
by
Pedro Gonnet
Browse files
more detailed error output for bad proxies.
Former-commit-id: 5ff67c3a9f7e62c407928489bcaa9b4f0f54736a
parent
852ce8aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
f02d42e2
...
...
@@ -643,7 +643,7 @@ void engine_addtasks_send ( struct engine *e , struct cell *ci , struct cell *cj
/* The send_xv task should unlock the super-cell's ghost task. */
scheduler_addunlock
(
s
,
t_xv
,
ci
->
super
->
ghost
);
}
/* Recurse? */
...
...
@@ -848,7 +848,9 @@ int engine_exchange_strays ( struct engine *e , int offset , int *ind , int N )
error
(
"Bad node ID %i."
,
node_id
);
pid
=
e
->
proxy_ind
[
node_id
];
if
(
pid
<
0
)
error
(
"Do not have a proxy for the requested nodeID %i."
,
node_id
);
error
(
"Do not have a proxy for the requested nodeID %i for part with id=%llu, x=[%e,%e,%e]."
,
node_id
,
s
->
parts
[
offset
+
k
].
id
,
s
->
parts
[
offset
+
k
].
x
[
0
],
s
->
parts
[
offset
+
k
].
x
[
1
],
s
->
parts
[
offset
+
k
].
x
[
2
]
);
proxy_parts_load
(
&
e
->
proxies
[
pid
]
,
&
s
->
parts
[
offset
+
k
]
,
&
s
->
xparts
[
offset
+
k
]
,
1
);
}
...
...
@@ -1205,7 +1207,7 @@ void engine_maketasks ( struct engine *e ) {
engine_addtasks_send
(
e
,
p
->
cells_out
[
k
]
,
p
->
cells_in
[
0
]
);
}
#endif
/* Rank the tasks. */
...
...
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