StarCluster - Mailing List Archive

Re: Windows Python support

From: Justin Riley <no email>
Date: Tue, 03 Jan 2012 11:47:52 -0500

Hi Bob,

I'm personally not a Windows user but I do like the idea of having
StarCluster run on all platforms - just needed someone to come along
that wanted Windows support :D

You're right that pwd and grp are not available on Windows, however,
fortunately StarCluster's use of these modules is very light in the
sense that it mostly just uses simple data structures from these modules
that could easily be mocked in the case that a try/catch on importing
pwd/grp failed.

Ideally the sshmaster/sshnode commands would also be updated to support
using PuTTY on Windows, however, StarCluster does come with it's own
built-in SSH shell if it fails to find the 'ssh' executable on the
default PATH so this isn't crucial to StarCluster working on Windows.

I've filed a bug to keep track of this here:

If you're interested in submitting patches please see the guide here for
how to go about that:

Assuming it all works well I'll merge your changes in the next stable
release. Otherwise I'll contact you for testing when the time comes :D

Thanks for reporting,


On 12/31/2011 11:04 PM, Bob Tolbert wrote:
> First, let me say that Ive only used StarCluster for a week or so, but
> I am very impressed. I desperately needed the notion of a SGE queue in
> EC2 and not having to set it up myself it awesome.
> I naively installed on Windows using Windows Python 2.7 and things
> almost work. In one place, there are a couple of imports that are not on
> Windows (pwd and grp) but it seems StarCluster is very close to
> supporting Windows.
> I suspect everything might work under Cygwin, but for reasons I dont
> want to go into, I really dont want to use Cygwin.
> Im more than willing to work on Windows support, just not sure if
> anyone else might be interested.
> Bob Tolbert
> _______________________________________________
> StarCluster mailing list
Received on Tue Jan 03 2012 - 11:47:55 EST
This archive was generated by hypermail 2.3.0.


Sort all by: