StarCluster - Mailing List Archive

Re: Windows Python support

From: Justin Riley <no email>
Date: Tue, 03 Jan 2012 17:13:27 -0500

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Bob,

So I started looking into this and it was actually relatively straight
forward to implement so I just did it. The latest github code *should*
work well on Windows. I just tested on a local Windows 7 32bit VM and
everything seems to work fine.

The plot issue you described is also fixed on github. This was related
to the fact that in 32bit Python (as is likely installed on your
machine) the floating point time series data was being represented as
long floats which contain the 'L' character in it's str()
representation and this caused an error in the generated javascript
code which caused the null plot you experienced.

All of this will be included in the next 0.93 release later tonight.
The PuTTY support, however, will have to wait until a later release.

If you're anxious to test you can try downloading and installing the
latest github release using:

https://github.com/jtriley/StarCluster/zipball/develop

Let me know how it goes if you do get a chance to test things out...

HTH,

~Justin


On 01/03/2012 12:30 PM, Bob Tolbert wrote:
> Hi Justin,
>
> Sounds great. I'll see what I can do to work on some patches for
> Windows support.
>
> PuTTy is an interesting idea since the built-in SSH underneath
> StarCluster (from Paramiko maybe) has very limited terminal support
> resulting in a rather unusable interactive sesstion. Still very
> good for just running commands via ssh.
>
> I've also noticed that the plotting doesn't work. For example
> "starcluster spothistory -p m1.xlarge" does start the web server
> and presents a page in the browser, but the plot is blank. I'll
> see if I can find out more about where that is failing.
>
> Thanks for the quick response.
>
> Bob
>
> -----Original Message----- From: Justin Riley
> [mailto:justin.t.riley_at_gmail.com] Sent: Tuesday, January 03, 2012
> 9:48 AM To: Bob Tolbert Cc: StarCluster_at_mit.edu Subject: Re:
> [StarCluster] Windows Python support
>
> 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
>
>
> _______________________________________________ StarCluster mailing
> list StarCluster_at_mit.edu
> http://mailman.mit.edu/mailman/listinfo/starcluster

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk8DfYcACgkQ4llAkMfDcrkj1QCePEa3P3OWc4Q1Ouoq/0zh55LV
/cQAn1xpcKBIvVxPU94vOJ0V6cF5B6HQ
=uQpy
-----END PGP SIGNATURE-----
Received on Tue Jan 03 2012 - 17:13:30 EST
This archive was generated by hypermail 2.3.0.

Search:

Sort all by:

Date

Month

Thread

Author

Subject