Commit 0f6db50d authored by James Willis's avatar James Willis
Browse files

Fix compilation error when compiling without affinity turned on.

parent ceca95de
......@@ -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? */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment