Universe = vanilla
Executable = /bin/sleep
Arguments = 600
Log = myjob.log
Output myjob.out
Error = myjob.err
# Max 2 running jobs per user
Requirements = ( isUndefined(SubmitterUserResourcesInUse) || (SubmitterUserResourcesInUse <= 1.0) )
Queue 5
where the Requirements _expression_ takes into account the fact that SubmitterUserResourcesInUse is defined on the negotiator but undefined on the remote slots.
I have also noticed that HTCondor does some matchmaking optimization by caching the match list. Caching should be however disabled in my case, as the SubmitterUserResourcesInUse value changes whenever a single job submission succeeds.
To do so:
NEGOTIATOR_MATCHLIST_CACHING = False
Hope this will help someone!
Cheers