summaryrefslogtreecommitdiff
path: root/lib/sbin/CST
diff options
context:
space:
mode:
authorallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-04-26 13:47:08 +0000
committerallen <allen@17b73243-c579-4c4c-a9d2-2d5706c11dac>2002-04-26 13:47:08 +0000
commitb310411cbcb24a657e29219c63d2491e337df05f (patch)
tree59d544fc1d0393ecc04dce124873789139c7af45 /lib/sbin/CST
parent9de602add5ac84b06cb832e92c51c7ea0ca9422c (diff)
Cactus/983
Check for existance of timebins/groups for scheduling <IN> as well as scheduling <AT>. Give a warning for scheduling <IN> a non-existant timebin. Print warnings at the end of CST as well as during CST. This needs more tidying to look prettier. git-svn-id: http://svn.cactuscode.org/flesh/trunk@2756 17b73243-c579-4c4c-a9d2-2d5706c11dac
Diffstat (limited to 'lib/sbin/CST')
-rw-r--r--lib/sbin/CST8
1 files changed, 7 insertions, 1 deletions
diff --git a/lib/sbin/CST b/lib/sbin/CST
index c02737b8..f2589173 100644
--- a/lib/sbin/CST
+++ b/lib/sbin/CST
@@ -6,7 +6,7 @@
# @desc
# Parses the the configuration files for thorns.
# @enddesc
-# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/CST,v 1.48 2002-03-27 15:34:17 tradke Exp $
+# @version $Header: /mnt/data2/cvs2svn/cvs-repositories/Cactus/lib/sbin/CST,v 1.49 2002-04-26 13:47:07 allen Exp $
#@@*/
# Global parameter to track the number of errors from the CST
@@ -120,6 +120,8 @@ print "Parsing schedule files...\n";
%schedule_database = &create_schedule_database(%source_thorns);
print "Checking consistency...\n";
+&check_schedule_database(\%schedule_database, %source_thorns);
+
%parameter_database = &CheckImpParamConsistency(scalar(keys %interface_database), %interface_database, %parameter_database);
&print_parameter_database(%parameter_database) if($debug_parameters);
@@ -172,6 +174,10 @@ if ($CST_errors)
&CST_PrintErrors;
exit(1);
}
+else
+{
+ &CST_PrintErrors;
+}
&WriteFile("$config_dir/make.thornlist", \$make_thornlist);