Is there any way that I can configure starcluster to automatically add a custom PE to the SGE install when I start a cluster from an AMI? I would also need to add this PE as a reference to an SGE queue so that the queuing system knows about this PE (i.e. qconf -mattr queue pe_list "pe_name" all.q) for example.
I wrote a plugin to do something similar. You are welcome to use it as an example.
It should be possible to have a nice configurable way to do this but I haven't found one yet.