diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-03-16 21:26:02 -0400 |
---|---|---|
committer | Erik Schnetter <schnetter@gmail.com> | 2012-03-16 21:26:02 -0400 |
commit | 45424e544a90f1eb86cdf9a4b465ed98e1119e94 (patch) | |
tree | e5e2b4b752d60483aa0a148317f9c91646999faf | |
parent | a6eb7908cafdeec1cd5c5ab4d25097a6c0c0a81c (diff) |
Carpet: Don't warn when there are more cores then threads
-rw-r--r-- | Carpet/Carpet/src/SetupGH.cc | 4 |
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 |