Hi, Steven


The actions.conf file that controls routing looks like that:


set exclusive on

@list_delayed [  ]

@list_stopped [  ]

@list_direct [ merit gpu interactive io requeue low phi alloc debug login nonsusp ]

@list_high_rollers [ ]
@list_low_rollers [  ]
@list_lowest_rollers [ xxx011 ]

@list_white [ xxx036 xxx869 xxx766 xxx226 ]
@list_no_suspend [ ]

[ (jobs>=5000) ] => !Too many jobs submitted
[ (user in list_no_suspend) && (jobs>=100) ] => !Too many jobs with not-suspending requests
[ (user in list_high_rollers) && !(class in list_direct) ] => high
[ (user in list_low_rollers) && !(class in list_direct)  ] => low
[ (user in list_lowest_rollers) && !(class in list_direct)  ] => lowest
[ (user in list_stopped ) ] => !Job submission from your account is currently suspended. Please email supp...@nesi.org.nz for assistance.
[ (user in list_delayed) ] => low:0
[ (cores >= 500) && !(user in list_white) ] => low:0
[ (class=interactive) ] => medium
[ (gpus>0) ] => gpu
[ (class=merit) && (walltime<=2h) ] => merit_short
[ (class=high) && (walltime<=2h) ] => high_short
[ (class in list_direct) ] => $
[ (walltime<=6h) ] => high
[ (walltime<=1d) || (user in list_no_suspend) ] => medium
[ (walltime<3d) || (walltime>=3d) ] => low
#[ (walltime>=3d) ] => lowest


This is one part of the filter. The other part deals with accounts membership, suspension and budgeting considerations.


Gene



On 21/07/16 07:41, Steven Lo wrote:


Hi Gene,

Could you please elaborate? Can you kindly share your plugin filter and the format of the external file?

Thanks

Steven.


On 7/19/16 11:37 PM, Gene Soudlenkov wrote:

We have needed the same feature and implemented it as a plugin filter, which reads routing information from the external file.

Gene


--
New Zealand eScience Infrastructure
Centre for eResearch
The University of Auckland
e: g.soudlen...@auckland.ac.nz
p: +64 9 3737599 ext 89834 c: +64 21 840 825 f: +64 9 373 7453
w: www.nesi.org.nz

Reply via email to