- 14 Apr, 2019 40 commits
-
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Needed to get rid of the last option in _opt_default(). Add an internal slurm_opt_umask without a corresponding CLI option to handle the translation for us.
-
Tim Wickberg authored
Need to send these options through slurm_process_option() for correct tracking, so make it easy to translate to Slurm's argument value and pass along.
-
Tim Wickberg authored
-
Tim Wickberg authored
Move job_name handling down alongside similar code in _opt_verify().
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Move setting of SLURM_EXPORT_ENV in sbatch to _opt_verify().
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Note some structural work to support this: add a new _env_early_opt() to parse out key early environment variables, so that xlate_batch_script() is no longer directly parsing the cli arguments or looking directly for SBATCH_IGNORE_PBS in the environment.
-
Tim Wickberg authored
-
Tim Wickberg authored
Handle conversion to minutes here, and drop the ckpt_interval_str variables from sbatch_opt_t and srun_opt_t.
-
Tim Wickberg authored
Set as no_argument instead of optional_argument.
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Move ifname to slurm_opt_t, rather than keeping it in sbatch_opt_t and srun_opt_t, making the arg handling code much simpler. Skip setting it to /dev/null as part of the reset, and move that logic to _opt_verify(). Fix a mistake in the API in slurm_get_job_stdin() where StdIn= is prepended to /dev/null if ifname == NULL.
-
Tim Wickberg authored
Move efname to slurm_opt_t, rather than keeping it in sbatch_opt_t and srun_opt_t, making the arg handling code much simpler.
-
Tim Wickberg authored
-
Tim Wickberg authored
Since 'sleep' is what will be executed, the correct JobName is sleep.
-
Tim Wickberg authored
-
Tim Wickberg authored
For sbatch - first_pass() is an explicitly separate phase, and will clear the struct for us. Every successive call should feed in 'false' to prevent sbatch_early_pass settings - like quiet / verbose - from getting overwritten.
-
Tim Wickberg authored
And some further cleanup now that all option parsing code is moved to slurm_opt.c.
-
Tim Wickberg authored
Move all logic for setting defaults and setting the name across HetJob components in to _match_job_name(). Remove JOB_SALLOC_FLAG, and default_job_name from salloc_opt_t.
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
-
Tim Wickberg authored
Just check if sentinel value of NO_VAL is still set instead.
-
Tim Wickberg authored
Just check if sentinel value of NO_VAL is still set instead.
-