aboutsummaryrefslogtreecommitdiff
path: root/param.ccl
diff options
context:
space:
mode:
authortradke <tradke@83718e91-0e4f-0410-abf4-91180603181f>2007-11-12 12:48:21 +0000
committertradke <tradke@83718e91-0e4f-0410-abf4-91180603181f>2007-11-12 12:48:21 +0000
commit1644c4794c9dad110d83fa8d4adb2fc50bba7a1c (patch)
treedaa3ce1a2719d4caebd4463246661aaba085496d /param.ccl
parent3313bb4636910f044a229ebafd6fa7a735a4dda4 (diff)
added steerable parameters Formaline::steered_parameters_log_exclusion_list and
Formaline::nr_of_parameter_changes_to_be_logged for users to specify which parameters should be logged and how often (see discussion thread http://lists.carpetcode.org/archives/developers/2007-November/002121.html) git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@144 83718e91-0e4f-0410-abf4-91180603181f
Diffstat (limited to 'param.ccl')
-rw-r--r--param.ccl23
1 files changed, 17 insertions, 6 deletions
diff --git a/param.ccl b/param.ccl
index 8746ea2..eb1a28c 100644
--- a/param.ccl
+++ b/param.ccl
@@ -9,6 +9,14 @@ BOOLEAN verbose "Produce screen output" STEERABLE=always
{
} no
+
+
+# Parameters for collecting metadata
+
+BOOLEAN collect_metadata "Collect metadata and output it in various ways" STEERABLE=always
+{
+} yes
+
REAL update_interval "Update interval for the meta information (in seconds)" STEERABLE=always
{
0:* :: ""
@@ -30,14 +38,17 @@ INT metadata_lifetime "Lifetime of meta information sent to a server (in hours)"
1:* :: "a positive value to limit the lifetime to so many hours"
} 100
-
-
-# Parameters for collecting metadata
-
-BOOLEAN collect_metadata "Collect metadata and output it in various ways" STEERABLE=always
+STRING steered_parameters_log_exclusion_list "Parameters for which runtime changes should not be logged" STEERABLE=always
{
-} yes
+ "" :: "whitespace-separated list of parameter names"
+} "CarpetRegrid::coordinates"
+INT nr_of_parameter_changes_to_be_logged "number of parameter changes to be logged" STEERABLE=always
+{
+ -1: :: "log all changes"
+ 0: :: "no logs please"
+ 1:*:: "log this many changes for a given parameter, then stop logging"
+} -1
# Parameters for creating files containing the build and job ids