In slurm.conf:
JobSubmitPlugins=lua

You can find a couple of sample scripts to build from in the SLURM 
distribution. Look at contribs/lua/job_submit*
________________________________________
From: [email protected] [[email protected]] On Behalf 
Of [email protected] [[email protected]]
Sent: Wednesday, June 08, 2011 7:27 AM
To: [email protected]
Cc: [email protected]
Subject: Re: [slurm-dev] Routing queue functionality

>>>>> "Moe" == jette  <[email protected]> writes:

Hi Moe,

    Moe> Hi Roland, SLURM has what we call a job_submit plugin that can
    Moe> be used for this.  There is one with a lua plugin that would
    Moe> probably be the simplest for you to use.
    Moe> http://www.schedmd.com/slurmdocs/job_submit_plugins.html

thanks for the fast answer. I already saw this page, but I must admit
that I have no clue how to configure this plugin. I also didn't find any
hints in the source code. It seems the documentation is for developers.
Is there some documentation for admins as well?

Roland

    Moe> Moe

    Moe> Quoting [email protected]:

    >> Hi,
    >>
    >> I need to implement a job policy that mimics torque routing
    >> queues (see
    >> 
http://www.clusterresources.com/torquedocs21/4.1queueconfig.shtml#routing).
    >> In particular, I need to set up a configuration, where based upon
    >> the requested wall time of a job, it will be executed with a
    >> certain priority.  With torque routing queues e.g. one can define
    >> 3 execution queues express, medium, long which have different
    >> priorities and ranges of wall time associated with them, such
    >> that a job submitted to the routing queue (configured with these
    >> 3 queues as destinations) will be put into the corresponding
    >> execution queue depending on the interval its requested wall time
    >> falls into.  Is there a way to implement this in slurm? Reading
    >> the docs for many hours didn't really give me a hint on this.
    >>
    >> Thanks,
    >>
    >> Roland
    >>



Reply via email to