diff options
-rw-r--r-- | src/NaNCheck.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/NaNCheck.c b/src/NaNCheck.c index 2d2a9e8..d5df991 100644 --- a/src/NaNCheck.c +++ b/src/NaNCheck.c @@ -428,10 +428,16 @@ static void NaNCheck (int vindex, const char *optstring, void *_GH) if (CCTK_Equals (action_if_found, "terminate")) { + CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, + "\"action_if_found\" parameter is set to \"terminate\" - " + "scheduling graceful termination of Cactus"); CCTK_TerminateNext (NULL); } else if (CCTK_Equals (action_if_found, "abort")) { + CCTK_VWarn (1, __LINE__, __FILE__, CCTK_THORNSTRING, + "\"action_if_found\" parameter is set to \"abort\" - " + "aborting Cactus now"); CCTK_Abort (NULL, 0); } } |