Python on Crays

Carrie Farberow farberow at wisc.edu
Thu Aug 27 21:53:53 CEST 2009


I am from Wisconsin -- is there a python group here?  Do you have any contact info.?

The compute node operating system is Compute Node Linux (CNL).

Carrie

----- Original Message -----
From: Craig <fasteliteprogrammer at yahoo.com>
Date: Thursday, August 27, 2009 2:15 pm
Subject: Re: Python on Crays
To: python-list at python.org, Mark Dickinson <dickinsm at gmail.com>


> Who the one from wisconsin and did you try the python group in madison 
> maybe they can help.
>  
>  Well i from madison are and i just a newbie with python.What OS you useing?
>  
>  --- On Thu, 8/27/09, Mark Dickinson <dickinsm at gmail.com> wrote:
>  
>  > From: Mark Dickinson <dickinsm at gmail.com>
>  > Subject: Re: Python on Crays
>  > To: python-list at python.org
>  > Date: Thursday, August 27, 2009, 1:48 PM
>  > On Aug 25, 11:34 pm, Carrie Farberow
>  > <farbe... at wisc.edu>
>  > wrote:
>  > > Ok, here are links to word documents outlining the
>  > commands I executed as well as the make.log file and the
>  > make_install.log file
>  > > [links snipped]
>  > 
>  > So from the output of make, it looks as though none of the
>  > modules specified in the Modules/Setup file is being built
>  > at all on your system.  So not just unicodedata, but
>  > the
>  > math, cmath, array, itertools modules and more are
>  > missing from your build.
>  > 
>  > You can check this by running Python:  after the make
>  > step
>  > finishes, you should have a working Python executable
>  > called
>  > 'python' in the current directory;  if you start it up
>  > and
>  > then type 'import math' at the '>>>' prompt, I'm
>  > guessing
>  > you'll get an error message that looks something like:
>  > 
>  > ImportError: No module named math
>  > 
>  > I don't have much idea why those modules aren't being
>  > built;
>  > I tried imitating the relevant parts of your instructions
>  > (to the degree that they make sense on my non-Cray system)
>  > without any problems.
>  > 
>  > Anyway, I agree that issue1594809 doesn't look so
>  > relevant;
>  > the only common factor is that in both cases Python is
>  > failing to find the unicodedata module;  but in that
>  > issue
>  > the unicodedata module is present but doesn't get found
>  > because the paths are messed up, while in your case the
>  > unicodedata module isn't being built at all.
>  > 
>  > Suggestions:
>  > 
>  > (1) double check that you've uncommented the appropriate
>  > lines
>  > in the Modules/Setup file.  E.g., after the configure
>  > step, there's
>  > a line in Modules/Setup that looks like:
>  > 
>  > #unicodedata unicodedata.c    # static Unicode
>  > character database
>  > 
>  > that leading '#' should be removed so that it looks like:
>  > 
>  > unicodedata unicodedata.c    # static Unicode
>  > character database
>  > 
>  > and similarly for the other modules in that section.
>  > Make sure that you're editing the Modules/Setup file
>  > *after* the configure step and *before* the make step.
>  > 
>  > (2) Find a local Unix/Python guru and ask him/her to
>  > help out.  These sorts of problems are generally much
>  > easier to figure out when you've got direct access to
>  > the machine.
>  > 
>  > Sorry I can't be more help than this.
>  > 
>  > --
>  > Mark
>  > -- 
>  > http://mail.python.org/mailman/listinfo/python-list
>  > 
>  
>  
>        
>  -- 
>  http://mail.python.org/mailman/listinfo/python-list
>  



More information about the Python-list mailing list