aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Carpet/Carpet/src/SetupGH.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/Carpet/Carpet/src/SetupGH.cc b/Carpet/Carpet/src/SetupGH.cc
index efc931215..e52597646 100644
--- a/Carpet/Carpet/src/SetupGH.cc
+++ b/Carpet/Carpet/src/SetupGH.cc
@@ -378,9 +378,9 @@ namespace Carpet {
CCTK_VInfo (CCTK_THORNSTRING,
"This process runs on %d core%s: %s",
num_cores, num_cores==1 ? "" : "s", buf.str().c_str());
- if (num_cores != mynthreads) {
+ if (mynthreads > num_cores) {
CCTK_WARN (CCTK_WARN_ALERT,
- "The number of threads for this process is different from its number of cores. This may indicate a performance problem.");
+ "The number of threads for this process is larger its number of cores. This may indicate a performance problem.");
}
}
#endif