- 14 Apr, 2019 16 commits
-
-
Tim Wickberg authored
-
Tim Wickberg authored
The envvar interface requires some translation to be handled in the same manner of options returned from getopt_long(), as it will intentionally return empty strings for certain variable types. Match OPT_BOOL processing for flags (defined as has_arg = 0 for their getopt_long equivalents).
-
Tim Wickberg authored
-
Tim Wickberg authored
Options will only be printed if set going forward, rather than the somewhat-arbitrary list of options that we've remembered to add here.
-
Tim Wickberg authored
Print each option alongside the value set by slurm_process_option().
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Used to create trivial set functions when the argument value is simply xstrdup()'d into the associated field in slurm_opt_t.
-
Tim Wickberg authored
-
- 13 Apr, 2019 13 commits
-
-
Marshall Garey authored
After 426abc7f no jobs should be able to be removed from the job_list while backfilling is running. Bug 6621
-
Marshall Garey authored
Timestamps were previously being updated before acquiring mutexes. Change it to update timestamps after mutexes have been acquired. Bug 6621
-
Marshall Garey authored
Bug 6621.
-
Marshall Garey authored
purge_old_job() doesn't ever read or write partition info, so remove the requirement for the partition read lock. Bug 6621
-
Danny Auble authored
-
Marshall Garey authored
The backfill scheduler keeps a local list of job pointers. Since the backfill scheduler yields locks, it's possible for pending jobs to be canceled and purged in these yield periods. The backfill scheduler then has pointers to now invalid memory, and dereferencing those pointers is undefined behavior and may result in a segfault. This commit prevents purging jobs while the backfill scheduler is running. Bug 6621
-
Danny Auble authored
The next patch will use slurmctld_diag_stats.bf_active to determine if we can purge jobs or not. Bug 6621
-
Danny Auble authored
# Conflicts: # src/common/gres.c
-
Danny Auble authored
Bug 6739
-
Danny Auble authored
Bug 6803
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Paolo Margara authored
Bug 6785.
-
- 12 Apr, 2019 7 commits
-
-
Marshall Garey authored
Rather than pack cgroup.conf into a buffer every time we create a new slurmstepd, pack it once on init and re-use the buffer each time we create a new slurmstepd. Continuation of 11f70aa5. Bug 5667
-
Alejandro Sanchez authored
Refactor how memory allocations are managed to accurately track memory allocations on each node when the --mem-per-cpu option is used and the CPU count per node varies. Also accounts for Memory Specialization and wraps much of the logging with a DebugFlag of SelectType bug 5562
-
Morris Jette authored
-
Morris Jette authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Update slurm.spec and slurm.spec-legacy as well.
-
- 11 Apr, 2019 4 commits
-
-
Morris Jette authored
Coverity CID 197586
-
Morris Jette authored
-
Morris Jette authored
This bug was observed once running test1.103 and found to be reproducible under some circumstances. How this works is when a job is submitted with a --time-min value, then the backfill scheduler set's the job's time limit to that value (see below), tries to start it, and if successful then set the time limit to the largest value possible without delaying the expected start time of any higher priority jobs. If the job can't be started, the job's (maximum) time limit is supposed to be restored to its previous value. That was happening in some, but not all places in the code. This patch rests the time limit in the missing cases. Note: The job's time limit is set to the --time-min value here: diff --git a/src/plugins/sched/backfill/backfill.c b/src/plugins/sched/backfill/backfill.c index 5600495e1d..e22a810394 100644 --- a/src/plugins/sched/backfill/backfill.c +++ b/src/plugins/sched/backfill/backfill.c @@ -1930,7 +1930,7 @@ next_task: slurm_get_preempt_mode()) time_limit = job_ptr->time_limit = 1; else if (job_ptr->time_min && (job_ptr->time_min < time_limit)) - time_limit = job_ptr->time_limit = job_ptr->time_min; + time_limit = job_ptr->time_limit = job_ptr->time_min; // SET HERE later_start = now;
-
Tim Wickberg authored
-