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

Re: [HTCondor-users] condor_ssh_to_job



On Thu, Aug 22, 2013 at 12:33 PM, Ben Cotton
<ben.cotton@xxxxxxxxxxxxxxxxxx> wrote:
> On Thu, Aug 22, 2013 at 2:05 PM, Todd Tannenbaum <tannenba@xxxxxxxxxxx> wrote:
>> Wish there was a way to do this via an RPM/Deb install without having to
>> prompt the user for a range; if anyone has ideas, please share!
>
> This is by no means a *good* idea, but you didn't ask for good ideas...
> One possibility is to detect the number of CPU cores during the post
> installation step and create that number of slot users. This ends up
> with too many users (meh) when there are fewer slots than cores and
> too few users (this is a problem) when there are more slots than cores
> (but if you're doing this, you can probably create your own additional
> users).
>

Another possibility is to define a configuration setting

   NUM_USER_SLOTS

that defaults to the maximum number of slots of any
type (maximum number of concurrent jobs), but can
be set explicitly by the Condor admin.