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:

https://github.com/jtriley/StarCluster/issues/63

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

http://web.mit.edu/stardev/cluster/docs/latest/contribute.html

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,

~Justin

On 12/31/2011 11:04 PM, Bob Tolbert wrote:
> First, let me say that I’ve 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 don’t
> want to go into, I really don’t want to use Cygwin.
>
>
>
> I’m more than willing to work on Windows support, just not sure if
> anyone else might be interested.
>
>
>
> Bob Tolbert
>
>
>
> _______________________________________________
> StarCluster mailing list
> StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster
Received on Tue Jan 03 2012 - 11:47:55 EST
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject