[StarCluster] Plugins Question - Skipping SGE Install

Justin Riley jtriley at MIT.EDU
Mon Dec 27 19:49:20 EST 2010


Hi Austin,

Following up on this, I just added a disable_queue option to the config 
and also a --disable-queue flag to the 'start' command in the latest 
github code. With these options you can either:

1. Disable SGE for a given template in the config:

[cluster smallcluster]
...
disable_queue=True

This will disable SGE for any cluster using the 'smallcluster' template.

2. Disable SGE for a given cluster at start time:

$ starcluster start --disable-queue mycluster

~Justin

On 10/18/10 2:39 PM, Justin Riley wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi Austin,
>
> SGE is harmless if you're not using it, but I see your point that it's
> extra setup if you're not planning to use it. I'm considering moving it
> to a plugin but not sure yet on the right way to go about that. By now
> folks are expecting it to be there and would probably think that there
> was a bug if it didn't come up automatically without needing to do
> something special to their config. Could just be a simple disable_sge
> flag in a template I suppose but using plugins is a cleaner approach.
>
> I'll have to think about this one...
>
> ~Justin
>
> On 10/15/2010 10:07 AM, Austin Godber wrote:
>> Hello Everyone,
>>       I was just looking at the StarCluster Plugins and was wondering how
>> to do the following things:
>>
>>    * Define an alternative to the DefaultClusterSetup
>>    * Optionally omit the _setup_sge() from the DefaultClusterSetup
>>
>> The point being that most of the DefaultClusterSetup is quite generic.
>> Its just that SGE may not be needed in some cases. It seems the plugin
>> design includes only the ability to extend DefaultClusterSetup and never
>> provide an alternative.
>>
>> No hurry with a response, I am just reading the code and thinking about
>> writing plugins.
>>
>> Austin
>> _______________________________________________
>> StarCluster mailing list
>> StarCluster at mit.edu
>> http://mailman.mit.edu/mailman/listinfo/starcluster
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v2.0.16 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAky8lGwACgkQ4llAkMfDcrmBHgCgkjIfrfktgopETvBGtz/JMp+S
> /pQAnRa6lq/NNVd9m25P1TVBZn7TLeVb
> =Qe/p
> -----END PGP SIGNATURE-----
> _______________________________________________
> StarCluster mailing list
> StarCluster at mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster




More information about the StarCluster mailing list