Hi Ketiw, Wouldn't 'nice' work in this case?
$ man nice ... NAME nice - run a program with modified scheduling priority SYNOPSIS nice [OPTION] [COMMAND [ARG]...] ... In your submit script you would run the program as nice -n 19 <program-name> -----Original Message----- From: slurm-users <slurm-users-boun...@lists.schedmd.com> On Behalf Of Loris Bennett Sent: Friday, September 14, 2018 9:15 AM To: slurm-users@lists.schedmd.com Subject: Re: [slurm-users] How to set priorities of actual obs kesim <ketiw...@gmail.com> writes: >> On Fri, Sep 14, 2018 at 2:41 PM Loris Bennett <loris.benn...@fu-berlin.de> >> wrote: >> >> Hi Ketiw, >> >> kesim <ketiw...@gmail.com> writes: >> >> > Dear all, >> > >> > I would like to submit a job in such a way that the actual program >> is > run with the lowest priority (nice=19 on linux). At the moment >> every > task has priority 0. Is it possible to do that and how? >> > >> > Best regards, >> > >> > Ketiw >> >> I'm not aware that this is possible. What would be the use-case for >> this? Normally you would want a job to make full use of any cores it >> had reserved. > I have slurm running on several desktops and we have only a few > application for its use. I would like the slurm submitted tasks to > have lowest priority so they are not hampering users who normally work > on their desktops. Please write to the list, rather than to me directly. I think you can probably achieve what you want with cgroups, but I have no experience of doing this myself. Regards Loris -- Dr. Loris Bennett (Mr.) ZEDAT, Freie Universität Berlin Email loris.benn...@fu-berlin.de