diff options
author | knarf <knarf@cct.lsu.edu> | 2010-08-26 12:45:22 -0400 |
---|---|---|
committer | Barry Wardell <barry.wardell@gmail.com> | 2011-12-14 18:24:05 +0000 |
commit | e8df675353337cc999d3551e8086c62f8c6f97dd (patch) | |
tree | b06c76227a884152eeecf22d89d0ff7ab1ec599b /Carpet/LoopControl | |
parent | df1e9549a6bab90a227db0f2ba644e512ea65881 (diff) |
LoopControl: be more verbose with error abour thread count inconsistency)
Diffstat (limited to 'Carpet/LoopControl')
-rw-r--r-- | Carpet/LoopControl/src/loopcontrol.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Carpet/LoopControl/src/loopcontrol.c b/Carpet/LoopControl/src/loopcontrol.c index 875c6fc60..3c0355ebe 100644 --- a/Carpet/LoopControl/src/loopcontrol.c +++ b/Carpet/LoopControl/src/loopcontrol.c @@ -422,7 +422,9 @@ lc_statset_init (lc_statset_t * restrict const ls, } if (num_threads > saved_maxthreads) { - CCTK_WARN (CCTK_WARN_ABORT, "Thread count inconsistency"); + CCTK_VWarn (CCTK_WARN_ABORT, __LINE__, __FILE__, CCTK_THORNSTRING, + "Thread count inconsistency (now called with %d threads, was called with %d before)", + num_threads, saved_maxthreads); } if (! saved_topologies[num_threads-1]) { |