From f087ca19300df86166e298c305d42143ad67704d Mon Sep 17 00:00:00 2001 From: schnetter Date: Wed, 22 Aug 2007 20:12:05 +0000 Subject: Add a parameter "collect_metadata" which is on by default. Switching it off makes Formaline not collect any metadat, so that it only creates source tarballs. This is necessary on systems which do not support calling system or gethostname, e.g. with certain InfiniBand MPI libraries. git-svn-id: http://svn.cactuscode.org/arrangements/CactusUtils/Formaline/trunk@131 83718e91-0e4f-0410-abf4-91180603181f --- param.ccl | 8 ++++++++ schedule.ccl | 62 +++++++++++++++++++++++++++++++++--------------------------- 2 files changed, 42 insertions(+), 28 deletions(-) diff --git a/param.ccl b/param.ccl index 41636c9..1598231 100644 --- a/param.ccl +++ b/param.ccl @@ -21,6 +21,14 @@ INT timeout "Timeout for sending meta information to a server (in seconds)" STEE +# Parameters for collecting metadata + +BOOLEAN collect_metadata "Collect metadata and output it in various ways" STEERABLE=always +{ +} yes + + + # Parameters for creating files containing the build and job ids BOOLEAN create_id_files "Create files from the build and job ids" diff --git a/schedule.ccl b/schedule.ccl index ca185e4..a9f84fb 100644 --- a/schedule.ccl +++ b/schedule.ccl @@ -11,32 +11,38 @@ if (output_source) -SCHEDULE Formaline_PrintIDs AT startup +if (collect_metadata) { - LANG: C - OPTIONS: meta -} "Print the build and simulation ids" - -SCHEDULE Formaline_RegisterWarnings AT wragh -{ - LANG: C - OPTIONS: meta -} "Register to receive warnings and info messages from the flesh" - -SCHEDULE Formaline_AnnounceInitial AT wragh -{ - LANG: C - OPTIONS: global -} "Put some meta information about the current run into permanent storage" - -SCHEDULE Formaline_AnnounceUpdate AT analysis -{ - LANG: C - OPTIONS: global -} "Put some meta information about the current run into permanent storage" - -SCHEDULE Formaline_AnnounceFinal AT terminate -{ - LANG: C - OPTIONS: global -} "Put some meta information about the current run into permanent storage" + SCHEDULE Formaline_PrintIDs AT startup + { + LANG: C + OPTIONS: meta + } "Print the build and simulation ids" + + + + SCHEDULE Formaline_RegisterWarnings AT wragh + { + LANG: C + OPTIONS: meta + } "Register to receive warnings and info messages from the flesh" + + SCHEDULE Formaline_AnnounceInitial AT wragh + { + LANG: C + OPTIONS: global + } "Put some meta information about the current run into permanent storage" + + SCHEDULE Formaline_AnnounceUpdate AT analysis + { + LANG: C + OPTIONS: global + } "Put some meta information about the current run into permanent storage" + + SCHEDULE Formaline_AnnounceFinal AT terminate + { + LANG: C + OPTIONS: global + } "Put some meta information about the current run into permanent storage" + +} -- cgit v1.2.3