- 14 Apr, 2019 39 commits
-
-
Tim Wickberg authored
Note changes needed for both the environment variable handling, as well as for PBS option parsing; have them call in to slurm_process_option().
-
Tim Wickberg authored
Simplify error handling, and explicitly test for NO_VAL as a return from time_str2mins().
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
There are two equivalent long-form options. Add a new LONG_OPT_CLUSTER to the enum to distinguish which form is used. (Needed for tracing at a later point in time.)
-
Tim Wickberg authored
Neither salloc/sbatch reset this. I believe reseting each pass, as is done by srun, is the correct behavior, otherwise each separate component will request additional licenses which is unintuitive.
-
Tim Wickberg authored
-
Tim Wickberg authored
For reset, salloc always reset this where sbatch/srun would not. Choosing to go with sbatch/srun's behavior.
-
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
This should be avoided, but if there are multiple slurm_opt_t entries for a given val (e.g., -W in sbatch vs srun) check that we've found the correct entry. Non-single-character options do not have this issue since they should just use differing LONG_OPT values.
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
A number of validation routines - especially within srun - care whether the variable was set through the environment, or by an explicit CLI option (or embedded in a job script). Provide an easy central test so this can be handled for all arguments.
-
Tim Wickberg authored
-
Tim Wickberg authored
-
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 1 commit
-
-
Marshall Garey authored
After 426abc7f no jobs should be able to be removed from the job_list while backfilling is running. Bug 6621
-