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
0f6db50d
Commit
0f6db50d
authored
Feb 01, 2017
by
James Willis
Browse files
Fix compilation error when compiling without affinity turned on.
parent
ceca95de
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/engine.c
View file @
0f6db50d
...
...
@@ -3289,6 +3289,7 @@ void engine_init(struct engine *e, struct space *s,
#endif
if
(
with_aff
)
{
#ifdef HAVE_SETAFFINITY
#ifdef WITH_MPI
printf
(
"[%04i] %s engine_init: cpu map is [ "
,
nodeID
,
clocks_get_timesincestart
());
...
...
@@ -3297,6 +3298,7 @@ void engine_init(struct engine *e, struct space *s,
#endif
for
(
int
i
=
0
;
i
<
nr_affinity_cores
;
i
++
)
printf
(
"%i "
,
cpuid
[
i
]);
printf
(
"].
\n
"
);
#endif
}
/* Are we doing stuff in parallel? */
...
...
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