Hey, it turns out that you hit it on the money. While looking through
it again, I noticed that when examining the source through sage
(using ??) the source file was listed in the directory
/atlas/home/perry/nethome/sage-3.2.1/...
instead of
/home/software/sage-3.2.1/...
"nethome" is the place things are downloaded to. I subsequently copied
it to the new place & thought that I had been running it from there
for a long time.
In fact, when I deleted the nethome version sage ran as usual, without
complaining about $SAGE_ROOT having moved...but this time the source
code showed up correctly.
Thank you very much!
john
On Jan 30, 7:00 pm, Jason Grout <[email protected]> wrote:
> 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
-~----------~----~----~----~------~----~------~--~---