Thanks for the pointer Jette.
  Unfortunately I can't seem to get that working..

I have a test cluster set up with Licenses=node*24

I have a simple reservation defined using :

  scontrol create reservation=test user=analysis licenses=node*3
starttime=now duration=infinite

which is verified using scontrol show reserv

ReservationName=test StartTime=2011-09-20T10:21:12
EndTime=2012-09-19T10:21:12 Duration=365-00:00:00
   Nodes= NodeCnt=0 Features=(null) PartitionName=rsl Flags=
   Users=analysis Accounts=(null) Licenses=node*3

However using:
        srun --reservation=test --licenses=node myjob

gives:
        srun: Requested reservation not usable now
        srun: job 502 queued and waiting for resources

This is using Slurm 2.2.1, do I just need to upgrade to a newer version?

James


On Thu, 2011-09-15 at 09:17 -0400, [email protected] wrote:
> Correct. You could configure licenses=cores*24 then reserve no nodes
> but only the licenses and use lua on the job submit plugin to set the
> job's licenses requirement according to its core needs. Not ideal, but
> it should work.
> --
> Sent from my Android phone with K-9 Mail. Please excuse my brevity.
> 
> James Armstrong <[email protected]> wrote:
>         Hi all,
>               I know you can set up reservations of compute nodes (scontrol) 
> but can
>         this be done for cores? Todays nodes can have 24 (or more) cores on a
>         node and I would like to have a finer granularity on the reservations.
>         
>         I am currently using select/cons_res with CR_CPU as the select type.
>         
>         If this is not already achievable is this possible using the lua
>         interface?
>         
>         James
>         
>         -- 
>         
>         ______________________________________________________________
>         
>         J.W.Armstrong
>         Systems Manager
>         Rockfield Software Ltd.
>         Ethos Building,
>         Kings Road,
>         Prince of Wales Dock,
>         Swansea. SA1 8AS.
>         UK.
>         
>         ______________________________________________________________
>         
>         Phone: +44 (0)1792 455577
>         Fax:   +44 (0)1792 455648
>         Web:   http://www.rockfield.co.uk
>         
>         ______________________________________________________________
>         
>         
-- 
---------------------------------
J.W.Armstrong
Systems Manager
Rockfield Software Ltd.
Ethos Building,
Kings Road,
Prince of Wales Dock,
Swansea. SA1 8AS.
UK.
---------------------------------
Phone: +44 (0)1792 455577
Fax:   +44 (0)1792 455648
Web:   http://www.rockfield.co.uk
---------------------------------

Reply via email to