Skip to content
Snippets Groups Projects
Commit 4e3c33a8 authored by Moe Jette's avatar Moe Jette
Browse files

Validate PreemptType and PreemptMode for BlueGene systems

parent 8cadff8d
No related branches found
No related tags found
No related merge requests found
......@@ -2184,6 +2184,12 @@ _validate_and_set_defaults(slurm_ctl_conf_t *conf, s_p_hashtbl_t *hashtbl)
"incompatible");
}
}
#ifdef HAVE_BG
if (strcmp(conf->preempt_type, "preempt/none") != 0)
fatal("PreemptType incompatable with BlueGene systems");
if (conf->preempt_mode != PREEMPT_MODE_OFF)
fatal("PreemptMode incompatable with BlueGene systems");
#endif
if (s_p_get_string(&temp_str, "PriorityDecayHalfLife", hashtbl)) {
int max_time = time_str2mins(temp_str);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment