Hi,
Thanks for the example. Checking the value of job_desc.script seemed a
little indirect to me, so I wondered if there were another way, but
apparently not.
Cheers,
Loris
Lech Nieroda writes:
> Hello,
>
> It’s certainly possible to check whether the job is interactive or not, e.g.
>
> if j
Hello,
It’s certainly possible to check whether the job is interactive or not, e.g.
if job_desc.script == nil or job_desc.script == '' then
slurm.log_info("slurm_job_submit: jobscript is missing, assuming interactive
job")
else
slurm.log_info("slurm_job_submit: jobscript is present, assumi
Hi,
I would like to restrict interactive usage by, say, having a lower
maximum run-time for interactive jobs.
Is there checking the value of job_desc.script the best way of
determining whether a job has been submitted via sbatch or not?
Cheers,
Loris
--
Dr. Loris Bennett (Hr./Mr.)
ZEDAT, Frei