Re: [Mauiusers] How do I assign higher priority to interactive jobs using Maui and Torque

2016-02-11 Thread vaibhav pol
Thanks  Michel ,

  I have already try wrapper solution and it works fine . But I
thought may be there can be another solution using combination of  Maui
configuration options , but I think only qsubfilter is the solution.


On February 11, 2016 at 8:55 PM "Michel Béland" 
wrote:
>
> > We are using torque version : 2.5.8 and maui version : 2.3.6p1
> > on centos 6.5.
> > I want to give higher priority to interactive jobs but without
> > creating separate queue for interactive jobs . Can some one guide and
> > tell me how can we do using Maui configuration.
>
> If you do not want a separate queue for interactive jobs, it is a little
> bit more complex. You could intercept the job submission with a qsub
> filter (or a qsub wrapper) and if you detect that the job is interactive
> (there is -I in the command line options or #PBS -I), you set a QOS by
> adding the option -W x=QOS:interactive. For this to work, you need the
> definition for this QOS in maui.cfg. For example,
>
> QOSCFG[interactive] PLIST=partition1:partition2 PRIORITY=2
>
> # This is to make Maui take the priority defined above into account for
> the fairshare algorithm.
> QOSWEIGHT 1
>
> Hope this helps,
>
> --
> Michel Béland, analyste en calcul scientifique
> michel.bel...@calculquebec.ca
> bureau S-250, pavillon Roger-Gaudry (principal), Université de Montréal
> téléphone : 514 343-6111 poste 3892 télécopieur : 514 343-2155
> Calcul Québec (www.calculquebec.ca)
> Calcul Canada (calculcanada.ca)
>
> ___
> mauiusers mailing list
> mauiusers@supercluster.org
> http://www.supercluster.org/mailman/listinfo/mauiusers
>

Vaibhav Pol
Senior Technical Officer
National PARAM Supercomputing Facility
Centre for Development of Advanced Computing
Ganeshkhind Road
Pune University Campus
PUNE-Maharashtra
Phone +91-20-25704183 ext: 183
Cell Phone : +919850466409
---
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
---

___
mauiusers mailing list
mauiusers@supercluster.org
http://www.supercluster.org/mailman/listinfo/mauiusers


Re: [Mauiusers] How do I assign higher priority to interactive jobs using Maui and Torque

2016-02-11 Thread Michel Béland

>  We are using torque version : 2.5.8 and maui version : 2.3.6p1  
> on centos 6.5.
> I want to give higher priority to interactive jobs but without 
> creating separate queue for interactive jobs .  Can some one guide and 
> tell me how can we do using Maui configuration.

If you do not want a separate queue for interactive jobs, it is a little 
bit more complex. You could intercept the job submission with a qsub 
filter (or a qsub wrapper) and if you detect that the job is interactive 
(there is -I in the command line options or #PBS -I), you set a QOS by 
adding the option -W x=QOS:interactive. For this to work, you need the 
definition for this QOS in maui.cfg. For example,

QOSCFG[interactive] PLIST=partition1:partition2 PRIORITY=2

# This is to make Maui take the priority defined above into account for 
the fairshare algorithm.
QOSWEIGHT1

Hope this helps,

-- 
Michel Béland, analyste en calcul scientifique
michel.bel...@calculquebec.ca
bureau S-250, pavillon Roger-Gaudry (principal), Université de Montréal
téléphone : 514 343-6111 poste 3892 télécopieur : 514 343-2155
Calcul Québec (www.calculquebec.ca)
Calcul Canada (calculcanada.ca)

___
mauiusers mailing list
mauiusers@supercluster.org
http://www.supercluster.org/mailman/listinfo/mauiusers


[Mauiusers] How do I assign higher priority to interactive jobs using Maui and Torque

2016-02-10 Thread vaibhav pol
  Hi,

 We are using torque version : 2.5.8 and maui version : 2.3.6p1  on centos
 6.5.


I want to give higher priority to interactive jobs but without creating separate
queue for interactive jobs .  Can some one guide and tell me how can we do using
Maui configuration.




Thanks and regards,
Vaibhav Pol
Senior Technical Officer
National PARAM Supercomputing Facility
Centre for Development of Advanced Computing
Ganeshkhind Road
Pune University Campus
PUNE-Maharashtra
Phone +91-20-25704183 ext: 183
Cell Phone : +919850466409
---
[ C-DAC is on Social-Media too. Kindly follow us at:
Facebook: https://www.facebook.com/CDACINDIA & Twitter: @cdacindia ]

This e-mail is for the sole use of the intended recipient(s) and may
contain confidential and privileged information. If you are not the
intended recipient, please contact the sender by reply e-mail and destroy
all copies and the original message. Any unauthorized review, use,
disclosure, dissemination, forwarding, printing or copying of this email
is strictly prohibited and appropriate legal action will be taken.
---

___
mauiusers mailing list
mauiusers@supercluster.org
http://www.supercluster.org/mailman/listinfo/mauiusers