[StarCluster] stalled install 0.92rc1

Justin Riley jtriley at MIT.EDU
Mon Jun 27 11:57:51 EDT 2011


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

Hi Adam,

This is happening because I was trying to be clever in setup.py and
import the version number from the source package so that I have a
central place to update the version number when it comes time to
release. This works for distribute/pip but breaks
setuptools/easy_install. Fortunately I think this is easy to fix. I'm
working on a hotfix now:

https://github.com/jtriley/StarCluster/tree/hotfix-0.92rc2

If things go well I will release and announce 0.92rc2 today.

~Justin


On 06/25/2011 01:14 PM, Adam Marsh wrote:
> 
> 
> When I run the install routine for the 0.92rc1 version of SC, it aborts
> with the following error message:
> ImportError: No module named starcluster
> 
> 
> I'm using the following AMI for a single server, from which I would then
> launch a cluster:  
> ami-0af31963
> starcluster/starcluster-base-ubuntu-10.04-x86_64-rc1.manifest.xml
> 
> 
> Full output from the command "sudo easy_install StarCluster" from this
> cloud server is appended below.
> 
> I've been using SC for the last year and have my setup and run scripts
> finely tuned for initiating and managing specific cluster
> configurations. Between May 15 and June 15 I ran three separate clusters
> (from 48 to 96 cores) with no problems whatsoever. 
> 
> 
> Here are the first several upstream script commands
> (fn=mastersetup.sh) I run to setup a new cloud server:
> 
> #!/bin/bash
> 
> apt-get -y update
> apt-get -y install libx11-dev
> apt-get -y install xvfb
> apt-get -y install python-setuptools
> #--- For StarCluster ----------------------
> apt-get -y install python-crypto
> apt-get -y install python-paramiko
> #--- For running python analysis/plotting scripts ---------- 
> # apt-get -y install gfortran
> # apt-get -y install python-numpy
> # apt-get -y install python-matplotlib
> 
> easy_install StarCluster 
> . . . . . . 
> 
> This script file is called by the command "sudo bash mastersetup.sh"
> 
> Error output message from 'easy_install StarCluster' is the same whether
> it is invoked within this script or directly called from the command
> line as: 'sudo easy_install StarCluster'
> 
> 
> Thanks for any light you may be able to shed on this issue,
> 
> Adam
> 
> ---------------------------------------------------
> Adam G. Marsh, Ph.D.
> Associate Professor
> Marine Biological Sciences
> University of Delaware
> 302.645.4367
> ------------------------------------------------
> 
> 
> 
> 
> prompt> sudo easy_install StarCluster
> 
> Searching for StarCluster
> Reading http://pypi.python.org/simple/StarCluster/
> Reading http://web.mit.edu/starcluster
> Best match: StarCluster 0.92rc1
> Downloading
> http://pypi.python.org/packages/source/S/StarCluster/StarCluster-0.92rc1.tar.gz#md5=0e2fadfa011de41bf6a6868bc37c61ed
> Processing StarCluster-0.92rc1.tar.gz
> Running StarCluster-0.92rc1/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-_L48LL/StarCluster-0.92rc1/egg-dist-tmp-ZZxqNG
> Traceback (most recent call last):
>   File "/usr/bin/easy_install", line 9, in <module>
>     load_entry_point('distribute==0.6.10', 'console_scripts',
> 'easy_install')()
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 1760, in main
>     with_ei_usage(lambda:
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 1741, in with_ei_usage
>     return f()
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 1764, in <lambda>
>     distclass=DistributionWithoutHelpCommands, **kw
>   File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
>     dist.run_commands()
>   File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
>     self.run_command(cmd)
>   File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
>     cmd_obj.run()
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 254, in run
>     self.easy_install(spec, not self.no_deps)
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 489, in easy_install
>     return self.install_item(spec, dist.location, tmpdir, deps)
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 519, in install_item
>     dists = self.install_eggs(spec, download, tmpdir)
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 698, in install_eggs
>     return self.build_and_install(setup_script, setup_base)
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 975, in build_and_install
>     self.run_setup(setup_script, setup_base, args)
>   File
> "/usr/lib/python2.6/dist-packages/setuptools/command/easy_install.py",
> line 964, in run_setup
>     run_setup(setup_script, args)
>   File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line
> 29, in run_setup
>     lambda: execfile(
>   File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line
> 70, in run
>     return func()
>   File "/usr/lib/python2.6/dist-packages/setuptools/sandbox.py", line
> 31, in <lambda>
>     {'__file__':setup_script, '__name__':'__main__'}
>   File "setup.py", line 5, in <module>
> ImportError: No module named starcluster
> 
> 
> 

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

iEYEARECAAYFAk4IqH8ACgkQ4llAkMfDcrlFMQCbB/E7LcSmkqB+MVElXXrKNUdL
ScsAnj90KYbRbkSdWaenJ2JxC6SfT8jm
=KmZw
-----END PGP SIGNATURE-----



More information about the StarCluster mailing list