Commit 0ac39e87 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Merge branch 'numa-abort' into 'master'

Stop when affinity is requested but not available

Fixes #346 

See merge request !397
parents b33f414d 8155dd74
......@@ -190,7 +190,11 @@ int main(int argc, char *argv[]) {
while ((c = getopt(argc, argv, "acCdDef:FgGhMn:P:sSt:Tv:y:Y:")) != -1)
switch (c) {
case 'a':
#if defined(HAVE_SETAFFINITY) && defined(HAVE_LIBNUMA)
with_aff = 1;
#else
error("Need NUMA support for thread affinity");
#endif
break;
case 'c':
with_cosmology = 1;
......
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