aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@gmail.com>2012-06-25 15:08:09 -0400
committerErik Schnetter <schnetter@gmail.com>2012-06-25 15:08:09 -0400
commit2a9e78fa1a731f9faf7f690852e7157159e23c91 (patch)
tree4e06a081d463d240b21c55d251e1c116bb466538
parentb772958074cf5db54b5e76e1fb9b0ac9cf727425 (diff)
Carpet: Output informative message if HAVE_SCHED_GETAFFINITY is missing
-rw-r--r--Carpet/Carpet/src/SetupGH.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc
index 36e7d97cb..59ae79550 100644
--- a/Carpet/Carpet/src/SetupGH.cc
+++ b/Carpet/Carpet/src/SetupGH.cc
@@ -493,6 +493,8 @@ namespace Carpet {
"The number of threads for this process is larger its number of cores. This may indicate a performance problem.");
}
}
+#else
+ CCTK_INFO ("Cannot determine core affinity");
#endif
}