[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[HTCondor-users] Limiting n. of jobs per user via matchmaking



Hello all,

  I am attempting to limit the number of jobs running per user via a Requirements _expression_, i.e. something like:

Universe = vanilla
Executable = /bin/sleep 
Arguments = 600
Log = myjob.log
Output  myjob.out
Error = myjob.err
Requirements = ( TARGET.SubmitterUserResourcesInUse <= 1 )
Queue 3

where the SubmitterUserResourcesInUse attribute is something that I have found thanks to the help of some HTCondor experts and the documentation:

  http://research.cs.wisc.edu/htcondor/manual/v8.0/3_4User_Priorities.html

However no job ever starts. I have tried:

  condor_q -better-analyze

which gives me:

         Slots
Step    Matched  Condition
-----  --------  ---------
[0]           0  TARGET.SubmitterUserResourcesInUse <= 1

[...]

    Condition                         Machines Matched    Suggestion
    ---------                         ----------------    ----------
1   ( ( .RIGHT.SubmitterUserResourcesInUse <= 1 ) )
                                      0                   REMOVE

suggesting me that my requirement never matches.

I am no HTCondor expert and I am a bit lost... what I am doing wrong here?

For the record I am using HTCondor v8.0.6.

Thanks for your help!

Cheers
--
Dario Berzano