Commit 79c9a0f9 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Merge branch 'fix_affinity_bug' into 'master'

Fix compilation error when compiling without affinity turned on.

Does this seem like a reasonable fix to #261, @pdraper @matthieu?

See merge request !309
parents 18c2cce2 0f6db50d
......@@ -3293,6 +3293,7 @@ void engine_init(struct engine *e, struct space *s,
if (with_aff) {
#ifdef WITH_MPI
printf("[%04i] %s engine_init: cpu map is [ ", nodeID,
......@@ -3301,6 +3302,7 @@ void engine_init(struct engine *e, struct space *s,
for (int i = 0; i < nr_affinity_cores; i++) printf("%i ", cpuid[i]);
/* 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