- feeder: error out if an ordering option (e.g. --priority)

is used in combination with homogeneous redundancy.
    HR requires a cyclic scan of all sendable results.

svn path=/trunk/boinc/; revision=21973
This commit is contained in:
David Anderson 2010-07-16 18:38:14 +00:00
parent 773ff3937b
commit 969100a00c
3 changed files with 19 additions and 1 deletions

View File

@ -5202,3 +5202,13 @@ Charlie 16 Jul 2010
clientgui/ clientgui/
DlgEventLog.cpp, .h DlgEventLog.cpp, .h
David 16 Jul 2010
- feeder: error out if an ordering option (e.g. --priority)
is used in combination with homogeneous redundancy.
HR requires a cyclic scan of all sendable results.
sched/
feeder.cpp
tools/
backend_lib.cpp

View File

@ -856,6 +856,14 @@ int main(int argc, char** argv) {
} }
hr_init(); hr_init();
if (using_hr && strlen(order_clause)) {
log_messages.printf(MSG_CRITICAL,
"Can't use ordering options together with homogeneous redundancy\n"
);
exit(1);
}
if (config.job_size_matching) { if (config.job_size_matching) {
retval = ssp->perf_info.read_file(); retval = ssp->perf_info.read_file();
if (retval) { if (retval) {

View File

@ -460,7 +460,7 @@ int create_result(
result.clear(); result.clear();
initialize_result(result, wu); initialize_result(result, wu);
result.priority = result.priority + priority_increase; result.priority += priority_increase;
sprintf(result.name, "%s_%s", wu.name, result_name_suffix); sprintf(result.name, "%s_%s", wu.name, result_name_suffix);
sprintf(base_outfile_name, "%s_", result.name); sprintf(base_outfile_name, "%s_", result.name);
retval = read_filename( retval = read_filename(