You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
What to do with kwargs common to every JobQueueCluster impl (walltime, queue ...) #202
Currently we only identified HTCondor as a potential newly supported job scheduler. I don't know the tool enough to have an opinion here, it looks quite different from what we already have. Maybe @szs8, @jrbourbeau or @mivade have some opinion?
Other scheduler we might support would be Torque, quite close to PBS, We've also talked about Cobalt and Jetstream in another issue, but they seem quite rare to me (however I may be totally wrong).
But is this really a problem if HTCondor impl does not use them?
A bit old, but relevant. Argonne's HPC systems use the Cobalt job scheduler system and I've recently run across a python project that I'd like to scale using Dask and Job-Queue with. It would appear simple enough to expand the support of the library to support Cobalt schedulers as it's just changing the headers and switching the submit/cancel/run calls. I'll see if I can write an extension that works with my project and PR here.
@Phantom139, yeah yet another job scheduler I had never heard of before :-)!
I think #4 (comment) might still be useful to implement a Cluster class for a new job scheduler. Let us know if you get stuck!
Note that if Cobalt is reasonably close to another job scheduler that we already support in dask-jobqueue it may be a good idea to inherit from this cluster class.
@lesteve Thanks for the link, that does contain some useful information that may help with my work.
At the moment, I've got the work I've done so far here. I didn't include the doc-string in my code, but that's something that can be done later. I'm getting fairly close, but I just need to work out some specific errors that are being pushed by the cluster when trying to run a job.
I may end up dropping what I have to inherit from another cluster class, but I think writing its own instance may give it a bit more control over the specifics, so I'll continue unless I run into a roadblock I can't get past.
I'm not sure if this is a product of the newline between 'shebang' and the headers, but setting the #COBALT headers in the file isn't being recognized and instead I pass these arguments as command line parameters.
I'm not sure if there's easy ways around this (I'll ask around and see if I can find out why output is going to stderr), so I'm probably going to have a class instance that overrides many of the inplace methods for the abstract class, but I suppose if the end result is a working product, then that's all that really matters.
Activity
mrocklin commentedon Nov 21, 2018
guillaumeeb commentedon Nov 21, 2018
Currently we only identified HTCondor as a potential newly supported job scheduler. I don't know the tool enough to have an opinion here, it looks quite different from what we already have. Maybe @szs8, @jrbourbeau or @mivade have some opinion?
Other scheduler we might support would be Torque, quite close to PBS, We've also talked about Cobalt and Jetstream in another issue, but they seem quite rare to me (however I may be totally wrong).
But is this really a problem if HTCondor impl does not use them?
Phantom139 commentedon Jul 22, 2019
A bit old, but relevant. Argonne's HPC systems use the Cobalt job scheduler system and I've recently run across a python project that I'd like to scale using Dask and Job-Queue with. It would appear simple enough to expand the support of the library to support Cobalt schedulers as it's just changing the headers and switching the submit/cancel/run calls. I'll see if I can write an extension that works with my project and PR here.
lesteve commentedon Jul 23, 2019
@Phantom139, yeah yet another job scheduler I had never heard of before :-)!
I think #4 (comment) might still be useful to implement a
Clusterclass for a new job scheduler. Let us know if you get stuck!Note that if Cobalt is reasonably close to another job scheduler that we already support in
dask-jobqueueit may be a good idea to inherit from this cluster class.Phantom139 commentedon Jul 23, 2019
@lesteve Thanks for the link, that does contain some useful information that may help with my work.
At the moment, I've got the work I've done so far here. I didn't include the doc-string in my code, but that's something that can be done later. I'm getting fairly close, but I just need to work out some specific errors that are being pushed by the cluster when trying to run a job.
I may end up dropping what I have to inherit from another cluster class, but I think writing its own instance may give it a bit more control over the specifics, so I'll continue unless I run into a roadblock I can't get past.
lesteve commentedon Jul 23, 2019
Great to here you are getting fairly close! If you get errors that are hard to make sense of, don't hesitate to create a separate issue about Cobalt support. The doc about "How to debug" could also be useful because it is not specific to the particular job scheduler that you use: https://jobqueue.dask.org/en/latest/debug.html
Phantom139 commentedon Jul 23, 2019
Here are some observations I have made so far in my work. I am using Argonne's Theta cluster for testing purposes.
I'm not sure if there's easy ways around this (I'll ask around and see if I can find out why output is going to stderr), so I'm probably going to have a class instance that overrides many of the inplace methods for the abstract class, but I suppose if the end result is a working product, then that's all that really matters.
lesteve commentedon Jul 23, 2019
Interesting ... at this point, could you create a separate issue specifically about Cobalt support so that we can have a focused discussion there?
lesteve commentedon Jul 23, 2019
Please also copy and paste the relevant information on the Cobalt issue so that it is reasonably self-contained.
guillaumeeb commentedon Aug 30, 2022
We just declared job_extra_directives (see #577) in the JobQueueCluster class. I think we should do the same thing with other args listed above.