[Mauiusers] Seting PARTITION

Joao Paulo Martins martinsj at lip.pt
Tue Dec 21 07:19:14 MST 2004


Hi all,

	I have torque-1.1.0p4 and maui-3.2.6p11. I try to set a test farm with 
3 machines using the partition scheme. The system work as I want when I 
submit jobs with the command

	qsub -W x=PARTITION:lip <script>

I would like to assign specific partitions to users or groups without 
the need to ask for them.

	For example, I would like to assign partition "lip" to user torque from 
group esa, and partition "csys" to group csys. I set up maui.cfg as follow:
------------------------
SERVERHOST      	lflip13.lip.pt
ADMIN1          	root
ADMINHOST       	lflip13.lip.pt
RMCFG[LFLIP13.LIP.PT] 	TYPE=PBS
RMPOLLINTERVAL        	00:00:30 
 
                                     SERVERPORT            	42559
SERVERMODE            	NORMAL
SERVERNAME            	LFLIP13
LOGFILE               	maui.log
LOGFILEMAXSIZE        	10000000
LOGLEVEL              	3
QUEUETIMEWEIGHT       	1
BACKFILLPOLICY        	FIRSTFIT
RESERVATIONPOLICY     	CURRENTHIGHEST
NODEACCESSPOLICY     	SHARED
NODEALLOCATIONPOLICY 	MINRESOURCE
JOBNODEMATCHPOLICY   	EXACTNODE
PARTITIONMODE        	ON
FAIRNESSPOLICY[lip]  	25.0
FAIRNESSPOLICY[csys] 	75.0
USERCFG[torque]         PLIST=lip      PDEF=lip
USERCFG[DEFAULT]        PLIST=lip      PDEF=lip 
 
 
GROUPCFG[esa]           PLIST=lip      PDEF=lip
GROUPCFG[csys]          PLIST=lip:csys PDEF=csys
GROUPCFG[DEFAULT]       PLIST=lip      PDEF=lip
ACCOUNTCFG[esa]         PLIST=lip      PDEF=lip
ACCOUNTCFG[csys]        PLIST=lip:csys PDEF=csys
ACCOUNTCFG[DEFAULT]     PLIST=lip      PDEF=lip
CLASSCFG[short]   	MAXIJOB[lip]=2 MAXIJOB[csys]=4  PLIST=lip:csys PDEF=lip
CLASSCFG[long]    	MAXIJOB=6    PLIST=lip:csys PDEF=lip
CLASSCFG[DEFAULT] 	MAXIJOB[lip]=2 MAXIJOB[csys]=4    PLIST=lip      PDEF=lip
NODECFG[DEFAULT]        PARTITION=lip   MAXJOB=1
NODECFG[lflip12]  	PROCSPEED=933 PARTITION=csys  MAXJOB=2
NODECFG[lflip13]  	PROCSPEED=933 PARTITION=lip   MAXJOB=2
NODECFG[lflip15]  	PROCSPEED=933 PARTITION=csys  MAXJOB=2
------------------------

But when the user "torque" submit a job with the command

	qsub <scritp>,

the job end up in any machine, and not only on lflip13 as I expected.

	Can I do it?

Thank you in advance for any help.

-- 
Joao Martins                            martinsj at lip.pt
Av. Elias Garcia, 14-1                  Tel: +351 21 797 3880
1000-149 Lisboa Portugal                Fax: +351 21 793 4631


More information about the mauiusers mailing list