aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2007-08-22 20:12:05 +0000
committerschnetter <schnetter@83718e91-0e4f-0410-abf4-91180603181f>2007-08-22 20:12:05 +0000
commitf087ca19300df86166e298c305d42143ad67704d (patch)
treef05ca51b34c8519624c78a63d711dcd52fe4b08f
parent849e667e3cf1e5c34f2c77b6428686182565af10 (diff)
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
-rw-r--r--param.ccl8
-rw-r--r--schedule.ccl62
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"
+
+}