diff options
author | Erik Schnetter <schnetter@gmail.com> | 2012-03-16 21:26:02 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2012-09-11 18:23:12 +0100 |
commit | b8ac4bb81a79d32dea8a62a8918930231d17ad52 (patch) | |
tree | b851aa47e62a5bfb4516faa6bfd3cb5faaa240d9 /Carpet/Carpet | |
parent | 7f55fb4bd66291488ba862da1261e65b3ed659a8 (diff) |
Carpet: Don't warn when there are more cores then threads
Diffstat (limited to 'Carpet/Carpet')
-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 |