Franz Lehner wrote:
>
> Dear Waldek,
>
> On Sat, Nov 27, 2010 at 04:28:42PM +0100, Waldek Hebisch wrote:
> > > writing: mersenneIndex := [n for n in 1.. | prime?(mersenne(n))]
> I am running into exactly the same problem now on debian squeeze, 64bit.
>
> > 3) By default streams print 10 elements. And yes, your local
> > setup can change that -- it will take practically forever
> > if you try to print 40 elements of mersenneIndex...
> Well it is the 10th Mersenne prime which makes troubles
> and the problem is not related to the build process.
> rev 982 built fine on debian lenny,
> now running on debian squeeze mersenneIndex 10 takes forever
> (mersenneIndex 9 is the last which is ok).
> What is going on? A change in gmp?
>
I think so. FYI for me gmp 4.2 and 5.0 worked fine. However
I recently tried gmp 4.3.1 and it really does not work.
I get wrong results and crashes. In particular using this
version of gmp FriCAS thinks that 10-th Mersenne prime is
composite and apparently searches for larger primes
(which takes a lot of time).
ATM I do not know who is to blame (FriCAS interface or gmp),
all I know that using this version of gmp causes trouble.
--
Waldek Hebisch
[email protected]
--
You received this message because you are subscribed to the Google Groups
"FriCAS - computer algebra system" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/fricas-devel?hl=en.