diff --git a/examples/main.c b/examples/main.c index 1539c7dfe685578fc9499275abe0ee094eeb4575..6467ae44792ac1b5966892aab6480e5071a81d60 100644 --- a/examples/main.c +++ b/examples/main.c @@ -278,7 +278,8 @@ int main(int argc, char *argv[]) { OPT_BOOLEAN('a', "pin", &with_aff, "Pin runners using processor affinity.", NULL, 0, 0), OPT_BOOLEAN(0, "interleave", &with_interleave, - "Interleave memory allocations across NUMA regions.", NULL, 0, 0), + "Interleave memory allocations across NUMA regions.", NULL, 0, + 0), OPT_BOOLEAN('d', "dry-run", &dry_run, "Dry run. Read the parameter file, allocates memory but does " "not read the particles from ICs. Exits before the start of " diff --git a/src/engine.c b/src/engine.c index 9c6625ccf54826da7d8d7ce06e4a0998cad5551f..5e88d146ac3a666da8f23187a5bcfc4eae379ecb 100644 --- a/src/engine.c +++ b/src/engine.c @@ -2715,7 +2715,7 @@ void engine_unpin(void) { #endif } -/** +/** * @brief Define a NUMA memory placement policy of interleave across the * available NUMA nodes rather than having memory in the local node, which * means we have a lot of memory associated with the main thread NUMA node, so @@ -2761,7 +2761,7 @@ void engine_numa_policies(int rank, int verbose) { } /* And set. */ - set_mempolicy(MPOL_INTERLEAVE, nodemask->maskp, nodemask->size+1); + set_mempolicy(MPOL_INTERLEAVE, nodemask->maskp, nodemask->size + 1); numa_free_nodemask(nodemask); #endif