[sage-support] Question about MPI in SAGE

2011-10-01 Thread Juan Grados
Hi everyone, I want use MPI, but when I put this line from mpi4py import MPI I get this error Traceback (most recent call last): File "", line 1, in File "_sage_input_5.py", line 10, in exec compile(u'open("___code___.py","w").write("# -*- coding: utf-8 -*-\\n" + _support_.preparse_w

[sage-support] Re: multivariable factorization over ZZ, QQ, GF(p) -- Singular issue?

2011-10-01 Thread John Cremona
On Sep 30, 7:07 pm, Zimmermann Paul wrote: >        John, > > > I can easily factor mod two primes around 10^7 and then use CRT, > > though that is a bit of a pain.  So my question is:  what's this limit > > on the size of primes p for which factorization over GF(p)[X,Y] is > > possible, where d

Re: [sage-support] Question about xgcd method

2011-10-01 Thread Juan Grados
fixed 2011/9/30 juaninf > Hi everybody, > > I want implement a modified extend Euclidean Algorithm, (egcd > function), but this give wrong results, below my egcd, please help me > to fix ... > def egcd(p1,p2): >if p2 == PR(0): >return (p1,1,0) >else: >(q1, r1) = (p1).quo_