From b310411cbcb24a657e29219c63d2491e337df05f Mon Sep 17 00:00:00 2001 From: allen Date: Fri, 26 Apr 2002 13:47:08 +0000 Subject: Cactus/983 Check for existance of timebins/groups for scheduling as well as scheduling . Give a warning for scheduling 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 --- lib/sbin/CST | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lib/sbin/CST') 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); -- cgit v1.2.3