Thanks for the info. Thing is that I don't want to totally set the node as unhealthy. Assume the following scenarios:
compute-0-0 running slurm jobs and system load is 15 (32 cores) compute-0-1 running non-slurm jobs and system load is 25 (32 cores) Then a new slurm job should be dispatched to compute-0-0 compute-0-0 running slurm jobs and system load is 25 (32 cores) compute-0-1 running non-slurm jobs and system load is 10 (32 cores) Then a new slurm job should be run on compute-0-1 (assuming that it need about 10 cores and not 30 cores). I know that running non slurm jobs sounds ugly, but there are some X11 applications that are not slurm friendly. Number of non slurm nodes though are small. On Tue, Apr 23, 2019, 18:45 Prentice Bisbal <pbis...@pppl.gov> wrote: > > On 4/23/19 2:47 AM, Mahmood Naderan wrote: > > Hi, > How can I change the job distribution policy? Since some nodes are running > non-slurm jobs, it seems that the dispatcher isn't aware of system load. > Therefore, it assumes that the node is free. > > I want to change the policy based on the system load. > > Regards, > Mahmood > > > This is not a good practice. Allowing users to submit jobs that are > controlled by Slurm outside of the Slurm mechanism kind of defeats the > purpose of using Slurm in the first place. > > -- > Prentice >