Skip to content
Snippets Groups Projects
Commit 8155dd74 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Stop when affinity is requested but not available

parent b33f414d
Branches
Tags
1 merge request!397Stop when affinity is requested but not available
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment