Insatlling python on compute-node-linux (Cray).

skip at pobox.com skip at pobox.com
Mon Dec 15 19:42:48 EST 2008


    Rahul> Has anyone tried installing Python on Compute Node Linux (on a
    Rahul> cray)? I was having trouble getting it running. I see that CNL
    Rahul> does not support dynamic libraries but I am not sure what the
    Rahul> best way then is to get Python running.

In the Modules directory note there is a file named Setup (or Setup.dist,
which you can copy to Setup to start.  Scan that file looking for modules
you want to support in your installation, uncomment the relevant line(s) and
adjust as necessary.  Then do the normal configure/make dance.  Those
modules which you've enabled will be statically linked into the Python
interpreter executable and not built as shared objects.

At least that's how I recall it from the days before Python supported shared
libraries.  It's been awhile.

-- 
Skip Montanaro - skip at pobox.com - http://smontanaro.dyndns.org/



More information about the Python-list mailing list