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
I am moving my first steps with Dask and distributed, and I wish to bring up a couple of ideas and suggestions.
The first one is about enhancing the integration with the schedulers.
Dask workers are usually requested in bulk.
When the schedulers allow it, i.e. with SGE, I think it's a good practice to submit those as job (task) arrays rather than multiple independent jobs.
In systems with heavy loads it would make the work of the scheduler much easier.
I don't know the code well enough yet to come up with a complete solution, I think there are multiple places where the code needs changes. So I would like to be sure it's a good idea before working on it.
The first thought that comes to my mind here is that we've designed dask-jobqueue with simplicity in mind, as discussed and argumented by @jhamman here: #84 (comment).
The discussion was about multi nodes reservation at first, but I feel this apply, even with a lesser extend, to job arrays. I'd be curious to have @jhamman advice here.
What goes into your direction @sntgluca is that I believe that job arrays have an implementation almost every job queue softwares. But still, I'm not sure if this is an easy thing to implement in dask-jobqueue, and we certainly don't want to make it too complex.
One question if we implemented this, how will we able to easily implement scale_up and scale_down functions with arrays? Is it always easy to qdel or equivalent only part of an array of jobs? Will this be compatible with the internal state (running_jobs, pending_jobs ...) we store?
I think if we wanted to use arrays, we should do it systematically to keep only simple job templates...
I think there is probably a use case for array jobs with dask but I don't think dask-jobqueue is the right place. While I do see how they may lighten the load on the (SGE) scheduler, they are far less capable of dynamic scaling than what we have now.
Some IT groups prefer job arrays over many single jobs because it reduces
stress of the resource manager (SLURM, SGE, etc..) They view submitting
thousands of independent jobs as an anti-pattern. If there is an easy way
to achieve this while still maintaining the current design then I think
that it would be welcome. The challenge is to find something that works
out well in both cases.
Sometimes with job arrays (my only experience here is with SGE) it just
produces many new Job ID like 10.1, 10.2, 10.3, 10.4 and those jobs proceed
as though we had submitted them independently. You can still manage them
independently. In this situation we might consider submitting an array job
whenever we scale up by a large number at once. However, I don't know if
my understanding here is correct, and even if so I don't know if this would
generalize.
I think that the general answer here is that "if this can be made to work
without adding much complexity, and if it demonstrably improves the
experience for some users or administrators then we'd be happy to have
it". Proposing a design and implementing a proof of concept that acheives
this would be a good activity for anyone who wants to push forward on this
issue.
This works just fine when using simple setups since each worker gets added to the pool even if the scheduler complains that it is unknown. However, each call the scale will result in n new workers, so client.scale(i) means n * i workers.
Some IT groups prefer job arrays over many single jobs because it reduces stress of the resource manager (SLURM, SGE, etc..) They view submitting thousands of independent jobs as an anti-pattern.
Yep, this is clearly the case at CNES, but it is when one doesn't use Dask :). We've a limitation of 200 concurrent individual jobs, or 10 job arrays, but with up to 100,000 jobs each. But 200 dask-jobqueue jobs with 24 cores is already 4800 cores, that's 2/3 of our cluster... More importantly, in my point of view, dask-jobqueue can play a role similar to job-arrays, as once you've booked a number of resources, you can start computing a lot of individual tasks, and you also don't have to wait for all resources to come up.
However, I don't know if my understanding here is correct, and even if so I don't know if this would generalize.
I think your understanding is correct, but as you say we first need here to check if this generalize on all job queue system. It seems to be the case for PBS, Slurm and SGE at least.
I think that the general answer here is that "if this can be made to work without adding much complexity, and if it demonstrably improves the experience for some users or administrators then we'd be happy to have it".
I'm perfectly fine with that, though I don't know if it is worth the effort.
I agree. For me personally it's not worth the effort. It sounds like it's
the same for you. If this is very important for someone else though then I
want them to know that they are welcome to do it.
On Mon, Nov 19, 2018 at 3:48 PM Guillaume Eynard-Bontemps < ***@***.***> wrote:
Some IT groups prefer job arrays over many single jobs because it reduces
stress of the resource manager (SLURM, SGE, etc..) They view submitting
thousands of independent jobs as an anti-pattern.
Yep, this is clearly the case at CNES, but it is when one doesn't use Dask
:). We've a limitation of 200 concurrent individual jobs, or 10 job arrays,
but with up to 100,000 jobs each. But 200 dask-jobqueue jobs with 24 cores
is already 4800 cores, that's 2/3 of our cluster... More importantly, in my
point of view, dask-jobqueue can play a role similar to job-arrays, as once
you've booked a number of resources, you can start computing a lot of
individual tasks, and you also don't have to wait for all resources to come
up.
However, I don't know if my understanding here is correct, and even if so
I don't know if this would generalize.
I think your understanding is correct, but as you say we first need here
to check if this generalize on all job queue system. It seems to be the
case for PBS, Slurm and SGE at least.
I think that the general answer here is that "if this can be made to work
without adding much complexity, and if it demonstrably improves the
experience for some users or administrators then we'd be happy to have it".
I'm perfectly fine with that, though I don't know if it is worth the
effort.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#196 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszEXz68rxVE5mOeudQPlb-4ijSYxqks5uwxkhgaJpZM4Yffg1>
.
thanks for the all the follow up and sorry for delaying my answer. I personally find it an important asset. I speak from my personal experience as a HPC user working in close contact with my system administrators.
One thing to keep in mind is that dask is pretty new, and I am not sure how many syadmin are actually following your progress :) So it's not easy to measure the real impact there.
one question if we implemented this, how will we able to easily implement scale_up and scale_down functions with arrays? Is it always easy to qdel or equivalent only part of an array of jobs? Will this be compatible with the internal state (running_jobs, pending_jobs ...) we store?
I think if we wanted to use arrays, we should do it systematically to keep only simple job templates...
I am positive this can be done in scale_up and scale_down. But there are other parts of the code requiring attention. For instance, a task array is returned as a unique job, not the whole list of jobs, messing up with the pending_jobs list.
Before you decide to close this, is it ok if I give it a try? What would you expect a newcomer do ;)?
Even though it's a single job (like 123) the individual components of that
job are sometimes addressable (like 123.456 for the 456th component of job
123).
Before you decide to close this, is it ok if I give it a try?
On Tue, Nov 27, 2018 at 8:17 AM sntgluca ***@***.***> wrote:
Hi all,
thanks for the all the follow up and sorry for delaying my answer. I
personally find it an important asset. I speak from my personal experience
as a HPC user working in close contact with my system administrators.
One thing to keep in mind is that dask is pretty new, and I am not sure
how many syadmin are actually following your progress :) So it's not easy
to measure the real impact there.
one question if we implemented this, how will we able to easily implement
scale_up and scale_down functions with arrays? Is it always easy to qdel or
equivalent only part of an array of jobs? Will this be compatible with the
internal state (running_jobs, pending_jobs ...) we store?
I think if we wanted to use arrays, we should do it systematically to keep
only simple job templates...
I am positive this can be done in scale_up and scale_down. But there are
other parts of the code requiring attention. For instance, a task array is
returned as a unique job, not the whole list of jobs, messing up with the
pending_jobs list.
Before you decide to close this, is it ok if I give it a try? What would
you expect a newcomer do ;)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#196 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AASszJ29-QASVNYSjE2PLO0LBSvsoTzXks5uzTuCgaJpZM4Yffg1>
.
Hi, I have a working proof of concept to use job arrays for the SGECluster class.
I can achieve it by rewriting the start_cluster() method and modifying the self._command_template attribute.
Before moving further, I have a design question.
How do you think the change shall be hooked into the current code? I suggest the use of job arrays be optional, for instance activated by a boolean
dask_jobqueue.SGECluster(use_task_array=True)
This idea seems consistent with the rest of the code and shall be robust, but might make the design a bit dull: if use_task_array do this else do that...
This idea seems consistent with the rest of the code and shall be robust, but might make the design a bit dull: if use_task_array do this else do that...
I'm a bit afraid of this yes... But defaulting to job arrays sounds bad too. Is there a lot of places where the if statement would be used? Can we limit this? If it is only in start_cluster() or above, this should be okay.
So I'm slightly in favor of using the boolean activator you propose.
I commented on the the #217 but I'll comment on the issue too with more complete thoughts. My feeling echoes the feeling of others in this issue: task array support is not worth the effort at this point of time in dask-jobqueue.
IMO task array support is a "nice to have" feature but I am not convinced it is one of the main bottleneck for dask-jobqueue users in practice. I may be wrong about this and I would be happy to get more details about your particular use case if you can not use dask-jobqueue because it does not support task array. If we get many reports like this, I would be very happy to reprioritise task array support.
My experience with open-source projects is the following: there is quite a long (and ever growing) list of "nice to have" features but not that much time and energy on people's hands to actually implement them, review PRs, test them thoroughly, etc ... deciding what to focus on is key.
Coming from a compute center with 30,000 SGE nodes. Job arrays are a must. The head node cannot handle the load without job arrays. In one of our software products we were debating a migration to Dask (from our in-house solution) and this is the only feature missing but it is enough to prevent our migration.
Full disclosure: I am not very familiar with big clusters. 30_000 nodes seems like a lot though, is it number of nodes or number of cores? I know dask-jobqueue is used at Cheyenne which is ~40 in the TOP 500 and has roughly ~4000 nodes according to this
Other than this:
what is an acceptable number of jobs to launch on your cluster with qsub, in other words what is the threshold of job numbers where you have to use job arrays?
what is the typical size of your job arrays?
what is the typical time a single job takes?
Something that may be worth noting: dask can be more flexible than job arrays so this may allow you to do more with the limited amount of qsub you are allowed to have (as hinted in #196 (comment)). Typically there is not a 1-to-1 mapping between "chunk or work" and job and you can use many "chunks of work" inside the same job.
Here is a snippet to demonstrate what I mean:
fromdask_jobqueueimportSGEClustercluster=SGECluster(cores=1, memory='1GB')
# this will launch 4 jobscluster.scale(cores=4)
fromdask.distributedimportClientclient=Client(cluster)
defmy_function(i):
returniargument_list=range(1000)
# the number of times you call my_function is not related to the number of jobsfutures= [client.submit(my_function, arg) forarginargument_list]
Just popping in this long thread because I am a user of @guillaumeeb cluster and I have started to use dask a lot, and I currently encounter the limitation of maximum number of jobs in queue. Our maximum number of jobs in queue is 100, which is not much.
I understand that using job arrays is off the table, but maybe we could make dask jobqueue aware of those limits, and inform it that it needs to start say 200 jobs but it needs to ensure that there are never more than 100 queuing ?
I am not familiar with jobqueue code but I expect this to be a much smaller patch than enabling job arrays.
We mandate use of job-arrays because our SGE head node cannot keep up if everyone submits single jobs.
When you submit each job directly with qsub the easiest thing to do is to launch one job per parameter (and then you gradually move to job array because that's best practice).
Exactly the opposite. There is no 'gradually move to job arrays' for us. We start with a large job array request and then as nodes die/crash/etc we spawn them with single qsub requests.
@halsafar interesting I would be curious to learn a bit more about your cluster best practice. IIUC you can submit single job (e.g. when a single job crashed and you need to resubmit it) so what is the recommended threshold of number of jobs for which it is acceptable for launching a few very similar single jobs. Say you launch a job array of 100 jobs and 10 crash. Can you relaunch the 10 with single jobs, do you have to do a job array? Say 5 job crash, same question.
IMO terms like this can easily be removed or toned down which makes for a more happy and productive discussion.
@lesteve thank you for pointing this out. I noticed many on GitHub do not practice communicating "neutrally" and/or "effusively", and simply write out what's on their mind. This is a wonderful reminder.
this is a work-around with caveats as noted in this issue. .scale(jobs=1) would actually launch 3 jobs (length of the job arrays) and create 3 Dask workers (one of each job inside the job arrays)
this PR is not a replacement at all for the documentation improvements mentioned above would still be extremely useful.
I tested dask/distributed#3855 and it seems to be working as intended. There could still be weird things with the spec group, I have to say I don't really understand this and don't have the time to look at it more in the near future.
@lesteve If I'm understanding "adaptive" – I was actually using .adapt(minimum_jobs=2, maximum_jobs=8) in my script, and it scaled up with no hiccups. Never had to scale down, so I can't speak to it, but this work-around could be clearly labeled with "use at your own risk, it's minimally supported, but it works". (I'm sure you had this in mind already, just iterating for clarity.)
There might also be some logic that could be user-implemented to adapt the size of the array with .scale/.adapt, but it probably needs a clearer implementation/more thought.
We've a limitation of 200 concurrent individual jobs,
or 10 job arrays, but with up to 100,000 jobs each.
do you use Slurm or other job schedulers? If it is Slurm, would you like to share how to implement that? Thank you.
We use Slurm on our cluster and would want to implement this: N concurrent individual jobs and M concurrent jobs in all job arrays (e.g. m job arrays with n jobs in each and M=n*m), and M is much larger than N. I have read the Slurm documentation, but it seems there is no way to separate the individual jobs and jobs in arrays. We can only set the maximum number of all jobs. Not sure if I am correct.
do you use Slurm or other job schedulers? If it is Slurm, would you like to share how to implement that? Thank you.
No, we are currently using PBS Pro. And since a recent update, we cannot do that anymore. We just have now a limit of 100,000 jobs in queue, be it standard job (which is huge) or jobs in array. So same limitation you seem to have.
was this feature ever implemented for SLURMCluster?
its been a while since i looked at this code, so the latest iteration might have changed – but when i ran into this issue, i was on a SLURM cluster; so it definitely worked with a SLURM cluster (back then).
Activity
guillaumeeb commentedon Nov 15, 2018
The first thought that comes to my mind here is that we've designed dask-jobqueue with simplicity in mind, as discussed and argumented by @jhamman here: #84 (comment).
The discussion was about multi nodes reservation at first, but I feel this apply, even with a lesser extend, to job arrays. I'd be curious to have @jhamman advice here.
What goes into your direction @sntgluca is that I believe that job arrays have an implementation almost every job queue softwares. But still, I'm not sure if this is an easy thing to implement in dask-jobqueue, and we certainly don't want to make it too complex.
One question if we implemented this, how will we able to easily implement
scale_upandscale_downfunctions with arrays? Is it always easy toqdelor equivalent only part of an array of jobs? Will this be compatible with the internal state (running_jobs, pending_jobs ...) we store?I think if we wanted to use arrays, we should do it systematically to keep only simple job templates...
Looks like a quite heavy change.
jhamman commentedon Nov 15, 2018
@sntgluca - in the early days of dask on hpc, we explored using job arrays as a tool for deploying dask (dask/distributed#1260 (comment)). IIRC, we found this approach was generally difficult to abstract to generic array jobs. It might we worth reading https://docs.dask.org/en/latest/setup/hpc.html if you have not already.
I think there is probably a use case for array jobs with dask but I don't think dask-jobqueue is the right place. While I do see how they may lighten the load on the (SGE) scheduler, they are far less capable of dynamic scaling than what we have now.
mrocklin commentedon Nov 16, 2018
belledon commentedon Nov 19, 2018
Not sure if this will help as I am relatively new to using dask but I have played around with using job arrays. Right now you can force
which will result with each worker having a unique id by overwriting
JOB_ID.This works just fine when using simple setups since each worker gets added to the pool even if the scheduler complains that it is unknown. However, each call the
scalewill result innnew workers, soclient.scale(i)meansn * iworkers.guillaumeeb commentedon Nov 19, 2018
Yep, this is clearly the case at CNES, but it is when one doesn't use Dask :). We've a limitation of 200 concurrent individual jobs, or 10 job arrays, but with up to 100,000 jobs each. But 200 dask-jobqueue jobs with 24 cores is already 4800 cores, that's 2/3 of our cluster... More importantly, in my point of view, dask-jobqueue can play a role similar to job-arrays, as once you've booked a number of resources, you can start computing a lot of individual tasks, and you also don't have to wait for all resources to come up.
I think your understanding is correct, but as you say we first need here to check if this generalize on all job queue system. It seems to be the case for PBS, Slurm and SGE at least.
I'm perfectly fine with that, though I don't know if it is worth the effort.
mrocklin commentedon Nov 19, 2018
sntgluca commentedon Nov 27, 2018
Hi all,
thanks for the all the follow up and sorry for delaying my answer. I personally find it an important asset. I speak from my personal experience as a HPC user working in close contact with my system administrators.
One thing to keep in mind is that dask is pretty new, and I am not sure how many syadmin are actually following your progress :) So it's not easy to measure the real impact there.
I am positive this can be done in scale_up and scale_down. But there are other parts of the code requiring attention. For instance, a task array is returned as a unique job, not the whole list of jobs, messing up with the
pending_jobslist.Before you decide to close this, is it ok if I give it a try? What would you expect a newcomer do ;)?
mrocklin commentedon Nov 27, 2018
sntgluca commentedon Nov 27, 2018
Thanks for the guidelines @mrocklin,
will follow up as soon as I have something to say!
sntgluca commentedon Nov 30, 2018
Hi, I have a working proof of concept to use job arrays for the SGECluster class.
I can achieve it by rewriting the
start_cluster()method and modifying theself._command_templateattribute.Before moving further, I have a design question.
How do you think the change shall be hooked into the current code? I suggest the use of job arrays be optional, for instance activated by a boolean
This idea seems consistent with the rest of the code and shall be robust, but might make the design a bit dull:
if use_task_array do this else do that...guillaumeeb commentedon Nov 30, 2018
I'm a bit afraid of this yes... But defaulting to job arrays sounds bad too. Is there a lot of places where the if statement would be used? Can we limit this? If it is only in
start_cluster()or above, this should be okay.So I'm slightly in favor of using the boolean activator you propose.
lesteve commentedon Jan 30, 2019
I commented on the the #217 but I'll comment on the issue too with more complete thoughts. My feeling echoes the feeling of others in this issue: task array support is not worth the effort at this point of time in
dask-jobqueue.IMO task array support is a "nice to have" feature but I am not convinced it is one of the main bottleneck for
dask-jobqueueusers in practice. I may be wrong about this and I would be happy to get more details about your particular use case if you can not usedask-jobqueuebecause it does not support task array. If we get many reports like this, I would be very happy to reprioritise task array support.My experience with open-source projects is the following: there is quite a long (and ever growing) list of "nice to have" features but not that much time and energy on people's hands to actually implement them, review PRs, test them thoroughly, etc ... deciding what to focus on is key.
halsafar commentedon Sep 11, 2019
Coming from a compute center with 30,000 SGE nodes. Job arrays are a must. The head node cannot handle the load without job arrays. In one of our software products we were debating a migration to Dask (from our in-house solution) and this is the only feature missing but it is enough to prevent our migration.
lesteve commentedon Sep 11, 2019
Full disclosure: I am not very familiar with big clusters. 30_000 nodes seems like a lot though, is it number of nodes or number of cores? I know dask-jobqueue is used at Cheyenne which is ~40 in the TOP 500 and has roughly ~4000 nodes according to this
Other than this:
Something that may be worth noting: dask can be more flexible than job arrays so this may allow you to do more with the limited amount of qsub you are allowed to have (as hinted in #196 (comment)). Typically there is not a 1-to-1 mapping between "chunk or work" and job and you can use many "chunks of work" inside the same job.
Here is a snippet to demonstrate what I mean:
jmichel-otb commentedon Oct 31, 2019
Just popping in this long thread because I am a user of @guillaumeeb cluster and I have started to use dask a lot, and I currently encounter the limitation of maximum number of jobs in queue. Our maximum number of jobs in queue is 100, which is not much.
I understand that using job arrays is off the table, but maybe we could make dask jobqueue aware of those limits, and inform it that it needs to start say 200 jobs but it needs to ensure that there are never more than 100 queuing ?
I am not familiar with jobqueue code but I expect this to be a much smaller patch than enabling job arrays.
46 remaining items
halsafar commentedon Jun 2, 2020
We mandate use of job-arrays because our SGE head node cannot keep up if everyone submits single jobs.
Exactly the opposite. There is no 'gradually move to job arrays' for us. We start with a large job array request and then as nodes die/crash/etc we spawn them with single qsub requests.
lesteve commentedon Jun 3, 2020
@halsafar interesting I would be curious to learn a bit more about your cluster best practice. IIUC you can submit single job (e.g. when a single job crashed and you need to resubmit it) so what is the recommended threshold of number of jobs for which it is acceptable for launching a few very similar single jobs. Say you launch a job array of 100 jobs and 10 crash. Can you relaunch the 10 with single jobs, do you have to do a job array? Say 5 job crash, same question.
Also, just a small comment but rather important comment. You probably did not mean it that way, but "Exactly the opposite" could be easily interpreted as "How could you possibly say this you damn moron" (obviously I am exaggerating a little bit here to make my point, but on this particular one I was indeed a bit annoyed by your "Exactly the opposite" and it took me 5-10 minutes before I was ready to compose a calm reply). IMO terms like this can easily be removed or toned down which makes for a more happy and productive discussion. A good recent related blog post from @GaelVaroquaux: http://gael-varoquaux.info/programming/technical-discussions-are-hard-a-few-tips.html.
Something that could be mentioned somewhere also in the doc is that Dask-Jobqueue may not be the right tool for you if you need a lot more flexibility than what it provides. An alternative while still using Dask on a HPC cluster is https://docs.dask.org/en/latest/setup/hpc.html?highlight=hpc#using-a-shared-network-file-system-and-a-job-scheduler. So it is more manual in the sense that you submit the
dask-workeryourself but you have more control for example you can chose to use job arrays when you submit thedask-workerjobs (as it is shown in the documentation).ericmjl commentedon Jun 4, 2020
@lesteve thank you for pointing this out. I noticed many on GitHub do not practice communicating "neutrally" and/or "effusively", and simply write out what's on their mind. This is a wonderful reminder.
lesteve commentedon Jun 5, 2020
I opened dask/distributed#3855 to allow SpecCluster name to be used in the worker names. That would allow to use job arrays with something like this:
Notes:
.scale(jobs=1)would actually launch 3 jobs (length of the job arrays) and create 3 Dask workers (one of each job inside the job arrays)I tested dask/distributed#3855 and it seems to be working as intended. There could still be weird things with the spec group, I have to say I don't really understand this and don't have the time to look at it more in the near future.
sntgluca commentedon Jun 28, 2020
Hi @lesteve ,
I apologise, I could not find time to follow up.
So, given the implementation on
dask/distributed, do you think there's a reasonable implementation, and it would be best to work on the documentation?lesteve commentedon Jan 15, 2021
That was the kind of work-around I had in mind for job arrays: dask/dask#7070 (comment).
The known caveats are:
.scale(jobs=1)would actually submit full job-array so you getlength(job-array)jobsOf course there may be unknown caveats ...
jmuchovej commentedon Jan 15, 2021
@lesteve If I'm understanding "adaptive" – I was actually using
.adapt(minimum_jobs=2, maximum_jobs=8)in my script, and it scaled up with no hiccups. Never had to scale down, so I can't speak to it, but this work-around could be clearly labeled with "use at your own risk, it's minimally supported, but it works". (I'm sure you had this in mind already, just iterating for clarity.)There might also be some logic that could be user-implemented to adapt the size of the array with
.scale/.adapt, but it probably needs a clearer implementation/more thought.lesteve commentedon Jan 15, 2021
With my maintainer had on I would rather be even more conservative and say "use at your own risk, this may explode in your face at any moment" 😉
lesteve commentedon Jan 20, 2021
In the development version this is a bit easier to use job arrays thanks to #480, see dask/dask#7070 (reply in thread)
shaohao99 commentedon Apr 21, 2021
@guillaumeeb For this comment,
do you use Slurm or other job schedulers? If it is Slurm, would you like to share how to implement that? Thank you.
We use Slurm on our cluster and would want to implement this: N concurrent individual jobs and M concurrent jobs in all job arrays (e.g. m job arrays with n jobs in each and M=n*m), and M is much larger than N. I have read the Slurm documentation, but it seems there is no way to separate the individual jobs and jobs in arrays. We can only set the maximum number of all jobs. Not sure if I am correct.
guillaumeeb commentedon May 2, 2021
No, we are currently using PBS Pro. And since a recent update, we cannot do that anymore. We just have now a limit of 100,000 jobs in queue, be it standard job (which is huge) or jobs in array. So same limitation you seem to have.
I cannot help with Slurm, but surely you can find some channel to ask Slurm developers? Maybe on github https://github.com/SchedMD/slurm?
gezmi commentedon Jan 20, 2025
Hi,
I cannot find it in a documentation - was this feature ever implemented for SLURMCluster? It would be super useful for HPC users.
Thank you!
gezmi commentedon Jan 20, 2025
Sorry for the question, I found it in the end. It works great!
jmuchovej commentedon Jan 21, 2025
its been a while since i looked at this code, so the latest iteration might have changed – but when i ran into this issue, i was on a SLURM cluster; so it definitely worked with a SLURM cluster (back then).