aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2005-11-14 16:48:53 +0000
committerschnetter <schnetter@b589c3ab-70e8-4b4d-a09f-cba2dd200880>2005-11-14 16:48:53 +0000
commit74ea2478ed4588968daeff118978164cee9b3d8d (patch)
treecf4360ed92a2fe77040f5b52c703776ef6305a34
parentffa02dbbfb29511a6d60d2823fa36775fb6027d2 (diff)
Make it a level 1 instead of a level 5 warning if IOBasic cannot get a
local interpolator handle, so that people see it. Suggest in the warning that the user should activate thorn LocalReduce. git-svn-id: http://svn.cactuscode.org/arrangements/CactusBase/IOBasic/trunk@170 b589c3ab-70e8-4b4d-a09f-cba2dd200880
-rw-r--r--src/Startup.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Startup.c b/src/Startup.c
index bde7264..0df24e7 100644
--- a/src/Startup.c
+++ b/src/Startup.c
@@ -394,9 +394,8 @@ void IOBasic_AssignReductionList (int vindex, const char *optstring, void *arg)
reduction_handle = CCTK_LocalArrayReductionHandle (reduction_op);
if (reduction_handle < 0)
{
- CCTK_VWarn (5, __LINE__, __FILE__, CCTK_THORNSTRING,
- "IOBasic_AssignReductionList: Invalid reduction operator "
- "'%s'", reduction_op);
+ CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING,
+ "Unknown reduction operator '%s'. Maybe you forgot to activate thorn LocalReduce?", reduction_op);
continue;
}