[Mauiusers] maui + gold and non-default groups

Chris Samuel csamuel at vpac.org
Wed Jan 4 19:45:32 MST 2006

On Thursday 05 January 2006 01:39, Aquarijen wrote:

 * CC'd to the Torqueusers list as this might be a handy hint for people
 * Googling for suggestions on how to do this in the future.

> I have maui hooked into gold and every user has a default group and
> all is right with the world -- a user will run a job and the correct
> corresponding gol d project/account is debited.  Now, I have users who
> need to belong to two projects/accounts.  I can set this up in gold,
> but how does the user tell maui to use the non-default group?

We don't use Gold, but we do a very similar thing with our FairShare 
configuration which also uses the users primary group.

We've found that the simplest way (probably because it was designed for just 
this purpose) was to use the group_list that you set with the -W option to 

So if you want to change the primary UNIX group of a job to one of the ones in 
your supplementary groups list then this works for us:

qsub -W group_list=othergroup {blah}


#PBS -W group_list=othergroup

The nice part is that if the group you name isn't in your supplementary list 
then it qsub fails immediately with a useful error message rather than 
accepting the job and the user only finding out later that there was a 

For example:

$ qsub -W group_list=bogus ./pbs-script
qsub: Bad GID for job execution

good luck!
 Christopher Samuel - (03)9925 4751 - VPAC Deputy Systems Manager
 Victorian Partnership for Advanced Computing http://www.vpac.org/
 Bldg 91, 110 Victoria Street, Carlton South, VIC 3053, Australia

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.supercluster.org/pipermail/mauiusers/attachments/20060105/34d22ca1/attachment.bin

More information about the mauiusers mailing list