Re: registering nodes with SGE after plugins run
This archive was generated by
The SGE plugin is a 'default' plugin that runs before all other plugins
for historical reasons. You can change this however by manually defining
the SGE plugin in your config, adding disable_queue=True to your cluster
config, and then adding the manually defined SGE plugin to your plugins
list in the order you prefer. For example:
setup_class = starcluster.plugins.sge.SGEPlugin
setup_class = ...
disable_queue = True
plugins = yourplugin, sge
This is similar to the instructions for 'Advanced Options' in the SGE
With this config your plugin will run before the SGE plugin which should
solve your issue.
On Mon, Mar 03, 2014 at 08:55:32PM +0000, Haselgrove, Christian wrote:
> I’m running into a quirk (um, or feature!) of starcluster that has been tripping me up. When I addnode fresh nodes to a cluster, the nodes are registered to SGE before my local plugins have run. Since these plugins install software needed for the jobs, if I addnode to a cluster with queued jobs, some of these jobs will be scheduled before the node is ready for them and will fail. Is it possible to get starcluster to register the node with SGE after the plugins have run?
> Christian Haselgrove
> StarCluster mailing list
Received on Mon Mar 03 2014 - 16:05:54 EST