john_perry_usm wrote:
> Hi all,
> 
> I'm trying to make some changes to my sage installation. I change the
> file in the $SAGE_ROOT/devel tree, then call $SAGE_ROOT/sage -b
> 
> Now this works on my laptop, but not on my desktop. If I run
> $SAGE_ROOT/sage, it's as if I made no changes at all.
> 
> This is an example of the output from "sage -b":
>       ...
>         running build_py
>         copying sage/rings/polynomial/multi_polynomial_ideal.py ->
> build/lib.linux-i686-2.5/sage/rings/polynomial
>         running build_ext
>         running build_scripts
>         running install_lib
>       copying build/lib.linux-i686-2.5/sage/rings/polynomial/
> multi_polynomial_ideal.py -> /home/software/sage-3.2.1/local/lib/
> python2.5/site-packages/sage/rings/polynomial
>       byte-compiling /home/software/sage-3.2.1/local/lib/python2.5/site-
> packages/sage/rings/polynomial/multi_polynomial_ideal.py to
> multi_polynomial_ideal.pyc
>       running install_scripts
>       ...
> Here's the relevant change in the devel tree:
>                 for i in range(M.ncols()):
>                     if int(singular.eval("%s[1,%s+1]!=0"%(M.name
> (),i))):
> (lines 1246--1247)
> 
> The changes appear in the correct place in the local/lib tree. When I
> run sage, however, and type I.basis_is_groebner?? to look at the
> source code, I see
>                 for i in range(M.nrows()):
>                     if int(singular.eval("%s[1][%s+1]!=0"%(M.name
> (),i))):
> 
> Does anyone have an idea why this doesn't take?


Are you running the right sage installation (the local sage versus some 
other sage in your path)?  Are you sure that you're running 
/home/software/sage-3.2.1/sage ?

I'm not sure how familiar you are with the command line -- "which sage" 
will tell you what sage is being invoked by just typing "sage"

Just a guess...and something that's caught me several times before.

Jason


--~--~---------~--~----~------------~-------~--~----~
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/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to