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
Refactor SLURMCluster : use memory and thread kwargs, and dynamicaly create the job_script #22
First, there is something weird with the SLURMCluster template : only processes are used as a limit, thread number are not taken into account. Moreover, there is no memory limit given.
Secondly, SLURMCluster will need to be updated to match the PBSCluster improvements from #10 (once it is merge): Mainly a more dynamic construct of the submit script. This should prevent some problems as noted in #7, #19 and maybe #20.
On our system at UF, Sbatch is preferred. Srun is really on interactive nodes for short periods of time. I believe after 24 hours all jobs are wiped away. Beyond that, we have not experienced a difference in environment.
Would think that you would want to have an option to choose either one. Reason being interactive jobs can be good for a Distributed Adaptive Cluster (i.e. dynamic scaling based on demand) whereas batch jobs would be good when not using a Distributed Adaptive Cluster.
Activity
guillaumeeb commentedon Mar 23, 2018
From the conversation in #20, for example in #20 (comment), I have some concern about the SLURM script used for submission.
Googling around, I believe we should at least use the following options:
Another solution maybe to play along with Slurm ntasks=, and tweak the dask-worker command line to only use nprocs=1.
Finaly I have some concern on using sbatch vs srun.
Do we have some Slurm users that could answer that?
cc @bw4sz, @leej3, @bocklund. @luizirber.
jhamman commentedon Mar 23, 2018
Also ping @davidedelvento, @kmpaul, @jedwards4b as potentially interested user/developers.
bw4sz commentedon Mar 23, 2018
On our system at UF, Sbatch is preferred. Srun is really on interactive nodes for short periods of time. I believe after 24 hours all jobs are wiped away. Beyond that, we have not experienced a difference in environment.
guillaumeeb commentedon Mar 23, 2018
For the resources allocations, here are some useful links:
jakirkham commentedon Mar 23, 2018
RE: Interactive vs. Batch Jobs
Would think that you would want to have an option to choose either one. Reason being interactive jobs can be good for a Distributed Adaptive Cluster (i.e. dynamic scaling based on demand) whereas batch jobs would be good when not using a Distributed Adaptive Cluster.