[Moabusers] job filter script

rishi pathak mailmaverick666 at gmail.com
Wed Jun 18 03:29:21 MDT 2008


You can define submit command to use using
RMCFG[base]            SUBMITCMD=/usr/local/bin/qsub
in your moab.cfg.
This way if specified , submit filter will get executed
If  you totally want to do away with Torque then create a bash/python/perl
script in some directory like /usr/bin/msub and write your filter code here,
move original msub command to other place like /usr/local/bin/msub.The
script named msub will parse/filter the script file and then will create a
new script file and will submit it using original msub.Make sure the msub
script handles all the command line arguments and passes them as it is to
original msub.Also make sure that for users script msub should be path
first.This method has a limitation that interactive & stdin jobs will not
work.

On Tue, Jun 17, 2008 at 11:40 PM, Nate Woody <naw47 at cac.cornell.edu> wrote:

>  All,
>
>
>
> We're starting to move to a not-just-Torque setup and so I want to get
> users using msub instead of qsub.  I'm having trouble finding how to do the
> work of Torques job submit filter (aka
> http://www.clusterresources.com/wiki/doku.php?id=torque:appendix:j_submit_filter)
> through msub.  I seems there must be ways to do this either via triggers or
> something I'm not seeing, but I can't seem to figure it out.  I'd like to
> ensure that certain options have been provided and validate that things like
> account are valid and reject the job at submission time if criteria are not
> met.
>
>
>
> Suggestions?
>
>
>
> Nate
>
>
>
> _______________________________________________
> moabusers mailing list
> moabusers at supercluster.org
> http://www.supercluster.org/mailman/listinfo/moabusers
>
>


-- 
Regards--
Rishi Pathak
Pune-Maharastra
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.supercluster.org/pipermail/moabusers/attachments/20080618/eca941f6/attachment.html


More information about the moabusers mailing list