[slurm-users] Help with preemtion based on licenses

Oytun Peksel Oytun.Peksel at semcon.com
Wed Nov 6 15:36:57 UTC 2019

Thanks for the information Mark.

I understand. GPU part of the discussion is beyond my knowledge so I assumed it would be possible to release it.

But as for the licenses it is always possible to leave it to the system admin. It is possible to take care of license release and reacquire using scripts instead of assuming it is not possible. At least there should be an easy configuration option to configure generic or trackable resources to be releasable.

After all software licenses might be the most expensive resource to utilize  where preemption might sometimes be inevitable.

For now I have no better plan than to dig in the source code to find an easy way to change this behavior.

Oytun Peksel
oytun.peksel at semcon.com
Mobile   +46739205917

-----Original Message-----
From: slurm-users <slurm-users-bounces at lists.schedmd.com> On Behalf Of Mark Hahn
Sent: den 6 november 2019 16:23
To: Slurm User Community List <slurm-users at lists.schedmd.com>
Subject: Re: [slurm-users] Help with preemtion based on licenses

> This does not make sense to me. If gpu is my generic resource why would it not release the gpu resources if a job is suspended?

how would that be implemented?  how would the scheduler reach into the application and cause the license to be released and reacquired?
after all, the license server is otherwise oblivious to whether the job it has granted a license to has been suspended or resumed.
this applies to other gres as well - for instance GPUs, since there's no mechanism to free up GPU resources allocated to a suspended process.

*that* is the problem - merely adding and substracting is not.

regards, mark hahn.

When you communicate with us or otherwise interact with Semcon, we will process personal data that you provide to us or we collect about you, please read more in our Privacy Policy<https://semcon.com/data-privacy-policy/>.

More information about the slurm-users mailing list