On 09/ 6/10 12:55 PM, Simon King wrote:
Hi!
I almost accomplished to port my group cohomology spkg to T2.
As a side note: It was necessary to rename two functions in the
underlying C code, since on T2 (but nowhere else) apparently these
functions got confused with functions of the same name from pari. This
also turned out to be a problem for #1396.
The remaining problem concerns the random generator of GAP. It behaves
differently on T2 than on any other machine that I have access to.
On my desktop computer, on sage.math and on bsd.math (the latter both
in 64 and 32 bit mode), I get:
gap> Reset(GlobalMersenneTwister);; List([1..10],i->Random(1,100000));
[ 85758, 234, 18408, 12676, 2507, 38166, 24692, 15013, 4755, 94043 ]
On T2, I get:
gap> Reset(GlobalMersenneTwister);; List([1..10],i->Random(1,100000));
[ 96343, 43659, 75071, 1314, 40740, 69892, 10586, 31272, 96336,
26794 ]
Do you need to use Random numbers? Can't you just pick a set of integers -
either those from t2, sage.math, or the lottery numbers, and use them instead?
Dave
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org