On 16/01/15 13:29, Andrew Elwell wrote: > We’re interested in the possibility of holding jobs until certain > licences are available (hello ansys) rather than them running and > failing. Can anyone speculate roughly how much work is involved to > finish the current implementation?
Looking at http://slurm.schedmd.com/licenses.html I suspect the easiest way will be do have a script that runs from cron and populates slurmdbd with sacctmgr for the names of the licenses and number of tokens. In my experience, however, the biggest problem will be the users being able to predict how many of which license they are going to need to use. Some software dynamically adapts and two identical jobs may request different numbers and types of tokens depending on what is currently in use (or the phase of the moon, cosmic rays, etc). To be honest I suspect this will be the best that you can do, it's not really what vendors or whoever the current owner of FlexLM/FlexNet want to make it easy to tell what's going on. The vendor wants to sell you more tokens "just in case" and if Flex*'s made it easy for you to queue things up when there are not enough to go around it would work against their customers interest. Yours, Cynical of Melbourne.. -- Christopher Samuel Senior Systems Administrator VLSCI - Victorian Life Sciences Computation Initiative Email: sam...@unimelb.edu.au Phone: +61 (0)3 903 55545 http://www.vlsci.org.au/ http://twitter.com/vlsci