[torqueusers] torque resource_group and qsub
Sarah Mulholland
smm at rincon.com
Mon Nov 24 15:00:10 MST 2008
Thanks for the feedback. Yes, I am using the samples/fifo software.
In our environment I was hoping to use the resource group as an abstraction for the priority assigning shares in such a way that lower priority jobs wouldn't always get booted to the end of the queue. Any user should be able to submit a job as "production" (most shares, highest priority), "test&verification" (fewer shares, medium priority) or "study" (fewest shares, lowest priority). I want all users to have access to all three resource groups.
Maybe this just isn't what's intended. I'm not sure I want to edit the code. I'm looking at Maui, too.
Sarah
-----Original Message-----
From: torqueusers-bounces at supercluster.org [mailto:torqueusers-bounces at supercluster.org] On Behalf Of David Singleton
Sent: Monday, November 24, 2008 1:03 PM
To: torqueusers at supercluster.org
Subject: Re: [torqueusers] torque resource_group and qsub
Sarah Mulholland wrote:
> I'm trying to understand the correct way to specify a resource group with qsub as:
>
> qsub -W group_list=$gname
>
> Where gname is a group name from the resource_group file in the torq/sched_priv directory.
>
> I was hoping to use logical groups in the resource_group file, but I get an error that I'm attempting to run with an invalid gid. Do the users and groups in the resource_group file have to correspond to unix groups? I want to use the resource_group for fairshare scheduling, but I prefer not to muck with the unix groups which are already set up with specific permissions.
>
> Does anybody know?
>
> Thanks in advance!
>
Hi Sarah,
I think -Wgroup_list is unrelated to resource_group. group_list is for
specifying the Unix group under which the job will run which mainly
controls the group ownership of files created by the job. I haven't used
resource_groups but I think they are unrelated to real Unix groups in
general. If you are using the FIFO scheduler, then I think the
fairshare resource_group of a job is derived entirely from the username
of the owner of the job and the resource_group file. (It probably should
be based on the qsub -A account argument but it isn't. It would be
roughly a 6 line change to make it so.)
David
_______________________________________________
torqueusers mailing list
torqueusers at supercluster.org
http://www.supercluster.org/mailman/listinfo/torqueusers
More information about the torqueusers
mailing list