Commit 8155dd74 authored by Peter W. Draper's avatar Peter W. Draper
Browse files

Stop when affinity is requested but not available

parent b33f414d
......@@ -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;
error("Need NUMA support for thread affinity");
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