mirror of https://github.com/python/cpython
Patch:
[ 561724 ] README additions for Cray T3E Lightly edited by me.
This commit is contained in:
parent
b6a4505123
commit
33876f514a
50
README
50
README
|
@ -375,15 +375,47 @@ BeOS: Chris Herborth (chrish@qnx.com) writes:
|
||||||
BeOS R3 or later. Note that only the PowerPC platform is
|
BeOS R3 or later. Note that only the PowerPC platform is
|
||||||
supported for R3; both PowerPC and x86 are supported for R4.
|
supported for R3; both PowerPC and x86 are supported for R4.
|
||||||
|
|
||||||
Cray T3E: Konrad Hinsen writes:
|
Cray T3E: Mark Hadfield (m.hadfield@niwa.co.nz) writes:
|
||||||
1) Don't use gcc. It compiles Python/graminit.c into something
|
Python can be built satisfactorily on a Cray T3E but based on
|
||||||
that the Cray assembler doesn't like. Cray's cc seems to work
|
my experience with the NIWA T3E (2002-05-22, version 2.2.1)
|
||||||
fine.
|
there are a few bugs and gotchas. For more information see a
|
||||||
2) Comment out modules md5 (won't compile) and audioop (will
|
thread on comp.lang.python in May 2002 entitled "Building
|
||||||
crash the interpreter during the test suite).
|
Python on Cray T3E".
|
||||||
If you run the test suite, two tests will fail (rotate and
|
|
||||||
binascii), but these are not the modules you'd expect to need
|
1) Use Cray's cc and not gcc. The latter was reported not to
|
||||||
on a Cray.
|
work by Konrad Hinsen. It may work now, but it may not.
|
||||||
|
|
||||||
|
2) To set sys.platform to something sensible, pass the
|
||||||
|
following environment variable to the configure script:
|
||||||
|
|
||||||
|
MACHDEP=unicosmk
|
||||||
|
|
||||||
|
2) Run configure with option "--enable-unicode=ucs4".
|
||||||
|
|
||||||
|
3) The Cray T3E does not support dynamic linking, so extension
|
||||||
|
modules have to be built by adding (or uncommenting) lines
|
||||||
|
in Modules/Setup. The minimum set of modules is
|
||||||
|
|
||||||
|
posix, new, _sre, unicodedata
|
||||||
|
|
||||||
|
On NIWA's vanilla T3E system the following have also been
|
||||||
|
included successfully:
|
||||||
|
|
||||||
|
_codecs, _locale, _socket, _symtable, _testcapi, _weakref
|
||||||
|
array, binascii, cmath, cPickle, crypt, cStringIO, dbm
|
||||||
|
errno, fcntl, grp, math, md5, operator, parser, pcre, pwd
|
||||||
|
regex, rotor, select, struct, strop, syslog, termios
|
||||||
|
time, timing, xreadlines
|
||||||
|
|
||||||
|
4) Once the python executable and library have been built, make
|
||||||
|
will execute setup.py, which will attempt to build remaining
|
||||||
|
extensions and link them dynamically. Each of these attempts
|
||||||
|
will fail but should not halt the make process. This is
|
||||||
|
normal.
|
||||||
|
|
||||||
|
5) Running "make test" uses a lot of resources and causes
|
||||||
|
problems on our system. You might want to try running tests
|
||||||
|
singly or in small groups.
|
||||||
|
|
||||||
SGI: SGI's standard "make" utility (/bin/make or /usr/bin/make)
|
SGI: SGI's standard "make" utility (/bin/make or /usr/bin/make)
|
||||||
does not check whether a command actually changed the file it
|
does not check whether a command actually changed the file it
|
||||||
|
|
Loading…
Reference in New Issue