Generalise submission and cancellation arguments#641
Generalise submission and cancellation arguments#641AlecThomson wants to merge 18 commits intodask:mainfrom
Conversation
jacobtomlinson
left a comment
There was a problem hiding this comment.
This looks fine to me! I do wonder if we should expose cancel_command as a keyword argument on the SLURMCluster and pass that down to SLURMJob, in case users want to override it with something else.
|
I found that the HTCondor class already had something similar. I've added this to the base I've reworked the |
dask_jobqueue/lsf.py
Outdated
| use_stdin = dask.config.get("jobqueue.%s.use-stdin" % self.config_name) | ||
| self.use_stdin = use_stdin | ||
|
|
||
| if self.submit_command_extra is None: |
There was a problem hiding this comment.
Why is all this code both in the Core class and the class inheriting it?
|
Also, the test failures in slurm (and maybe others) looks related to this change. |
|
CI is now mostly happy on |
|
Sorry for the long lead time on this, everyone. I got myself tripped up between the methods on the base and inheriting classes - as noted by @guillaumeeb's comment. I believe I've got this all sorted now. Hopefully the CI will catch any lingering issues. |
|
Thanks @AlecThomson! Looks like there are some linting issues (make sure you run |
|
Hmm - looks like some kind of timing error on the test. I don't quite understand why it's failing... 🤔 https://github.com/dask/dask-jobqueue/actions/runs/10278490598/job/28450471395#step:7:425 |
|
It is calling Note: We don't use |
Closes #640