-
Notifications
You must be signed in to change notification settings - Fork 3
feat: setting MinJobAge parameter #12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ode for different status query commands
…ction into feat/min_job_age
|
This generally sounds plausible, but I would like to understand the underlying issue better. Could you link the respective feature request in the slurm executor plugin for context? And otherwise, some questions: Will the plugin automatically check for alternative commands if From what I understand from the slurm config docs, Also, does only And finally, if we discuss the details here already, maybe it makes sense to add a sentence or two as a comment in the config file, so that anybody reading the config file can directly see why this parameter is set in this way... |
|
It is not related to a specific issue, rather this PR snakemake/snakemake-executor-plugin-slurm#336
My current outline is: check for
Me too. My understanding is that you can query for the job status using
From what I have seen,
Yep. Will do. |
|
Thanks for the linkout to that pull request, this helps a lot. The very high value makes some sense from the original poster there. But I think I would nevertheless set |
|
right, a dynamic setting of sorts is favourable. I will adjust this PR accordingly. I did not think this through. Whilst coding I had to remember, that some of our users tend to demand forever jobs. |
|
I think we are on the same page, but just to be sure: How long a job takes should not affect the job status query via |
|
I am withdrawing this PR: it is better to set the time window dynamically in the executor plugin and allow for the cli option dynamically, too. |
|
But don't you need an at least slightly increased |
|
I think 5 min within the CI will be fine. |
This PR sets the MinJobAge parameter in the SLURM configuration. A feature request to the snakemake SLURM executor induces the need to set this parameter, as the new executor code will check it. If it is too low, there can be no alternative to
sacctas the query command -squeue's job information would be too volatile.It is set to a value of 12 h because otherwise the
squeueoption will not become available in the executor. This is insanely high, but such a requirement needs to be imposed for longer workflows not to fail.