From c2bbe6b25ba6d4cca2b836ee75a81a00a2bd8852 Mon Sep 17 00:00:00 2001 From: schnetter Date: Sun, 5 Jun 2005 10:21:03 +0000 Subject: Make parameters steerable. Introduce "verbose" parameter. Announce to the portal by default. Introduce parameter to announce only every n seconds. Only announce every minute by default. When calling system(), make sure that there are no shell meta characters. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@37 83718e91-0e4f-0410-abf4-91180603181f --- param.ccl | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) (limited to 'param.ccl') diff --git a/param.ccl b/param.ccl index b66902d..2dbc368 100644 --- a/param.ccl +++ b/param.ccl @@ -3,24 +3,36 @@ -# Parameters for announcing meta information to the portal -# (does not work yet properly) +# Global parameters -BOOLEAN announce_to_portal "Announce meta information to the portal" +BOOLEAN verbose "Produce screen output" STEERABLE=always { } no -STRING portal_hostname "Portal host name" +REAL update_interval "Update interval for the meta information (in seconds)" STEERABLE=always +{ + 0:* :: "" +} 60.0 + + + +# Parameters for announcing meta information to the portal + +BOOLEAN announce_to_portal "Announce meta information to the portal" STEERABLE=always +{ +} yes + +STRING portal_hostname "Portal host name" STEERABLE=always { "" :: "" } "portal.cct.lsu.edu" -INT portal_port "Portal port" +INT portal_port "Portal port" STEERABLE=always { 1:65535 :: "" } 9296 -STRING portal_username "User name on the portal" +STRING portal_username "User name on the portal" STEERABLE=always { "" :: "" } "" @@ -29,11 +41,11 @@ STRING portal_username "User name on the portal" # Parameters for storing meta information in a file -BOOLEAN store_into_file "Store meta information in a file" +BOOLEAN store_into_file "Store meta information in a file" STEERABLE=always { } yes -STRING storage_filename "File name for meta information" +STRING storage_filename "File name for meta information" STEERABLE=always { "" :: "" } "formaline-jar.txt" @@ -42,11 +54,11 @@ STRING storage_filename "File name for meta information" # Parameters for storing the source tree in the executable -BOOLEAN output_source "Output a tarball with the cactus source tree" +BOOLEAN output_source "Output a tarball with the cactus source tree" STEERABLE=recover { } yes -STRING output_source_subdirectory "Subdirectory, relative to IO::out_dir, for the Cactus source tarballs" +STRING output_source_subdirectory "Subdirectory, relative to IO::out_dir, for the Cactus source tarballs" STEERABLE=recover { "" :: "" } "cactus-source" @@ -55,12 +67,12 @@ STRING output_source_subdirectory "Subdirectory, relative to IO::out_dir, for th # Parameters for outputting Cactus variables -STRING out_vars "Cactus variables that should be output" +STRING out_vars "Cactus variables that should be output" STEERABLE=always { "" :: "space separated list of groups or variables" } "" -STRING out_reductions "Reduction operators that should be applied to the output variables" +STRING out_reductions "Reduction operators that should be applied to the output variables" STEERABLE=always { "" :: "space separated list of reduction operators" } "minimum maximum norm1 norm2 norm_inf sum" -- cgit v1.2.3