วันพฤหัสบดีที่ 30 มิถุนายน พ.ศ. 2554

[sage-devel] Re: Base ring(s) for free module morphisms

On Jun 30, 1:05 am, Francis Clarke <F.Cla...@Swansea.ac.uk> wrote:

Thanks, Francis. Very astute.

> This makes no sense at all; the function is not a homomorphism:

Right.

So K^2 is a 4-dimensional vector space over the rationals. But you've
represented f with a 2 x 2 matrix.

Despite f above acting as a homomorphism, we are not in the clear.
The following (on top of above) works:

sage: x = vector(K, [2, 2])
sage: f.lift(x)

But the following still goes boom:

sage: b = K.0
sage: x = vector(K, [b, b])
sage: f.lift(x)

despite

sage: f.is_surjective()
True

Is there a way in Sage to recognize K^2 as QQ^4? Should we? Can we?

sage: P = K^2
sage: P.vector_space(base_field=QQ)
Vector space of dimension 2 over Rational Field

Not what I would have hoped.

However,

sage: X, fromX, toX = K.vector_space()
sage: a = K.0
sage: toX(5 + 4*a)
(5, 4)
sage: fromX([9, -3])
-3*a + 9

Is there an easy way to extend these mappings with K to the obvious
ones with K^2? If not, maybe this would be a nice enhancement for
the .vector_space() method.

In any event, even with such a mapping, recognizing/identifying K^2 as
QQ^4 seems a bit of work, and then all of the morphism code would have
to translate at the appropriate junctures?

Which brings me back to my original question, just a bit wiser.
Should we explicitly reject constructing morphisms between free
modules if their *obvious* base rings differ, so as to not get
erroneous or conflicting behavior? While leaving the door open to a
big project to be more clever about recognizing constructions like K^2
as free modules over less-obvious rings? (By obvious and less-
obvious, I mean in terms of implementation.) My inclination is to say
"yes."

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Conférence PyCONFR 2011

Le 30 juin 2011 09:48, Nicolas M. Thiery a écrit :
>        Bonjour,
>
> Pour information:
>
>        Conférence PyCONFR 2011
>        17 et 18 Septembre 2011
>        Rennes, France
>
>        Rendez-vous annuel des utilisateurs de Python organisé par
>        l'Association Francophone Python
>
>        http://www.pycon.fr/conference/edition2011
>
> Quelqu'un serait-il partant pour y présenter Sage?

Moi! Eventuellement en binôme -- je trouve que les présentations de
Sage à deux peuvent être pas mal.

Samuel

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Re: Call for vote: lrcalc as standard or optional spkg?

> On Jun 29, 3:49 pm, Florent Hivert <florent.hiv...@univ-rouen.fr>
>
> wrote:
> >       Hi David,
> >
> > > I thought it had been agreed no package would be standard unless it
> > > is first optional.
> >
> > There were indeed such an agreement. However, I'd rather following the
> > idea of the rule rather than the letter.
>
> [...]
>
> > I don't see the point of delaying inclusion in Sage.
>
> One reason to follow the letter anyway is setting precedent. If you do
> this now, then chances are pretty good that there will be someone in
> the future championing inclusion of package X. He/she might well point
> to this discussion and argue immediate adoption as a standard package
> by claiming similarity in situation. This may or may not be justified
> and whether it is may depend on your point of view. Now you find
> yourself having to argue for or against that. By sticking to the
> policy you avoid (or at least reduce) having that unproductive
> discussion. Is standard inclusion of lrcarc now worth increased
> chatter about immediate standard inclusion vs. first-optional-then-
> standard-inclusion in the future?
>
Well there is a precedent already: ppl

[sage-devel] Re: Sage Compile Error on LMDE x64

The log is here:
http://dl.dropbox.com/u/6726175/config.log

On Jun 30, 4:26 am, Dima Pasechnik <dimp...@gmail.com> wrote:
> On Jun 29, 7:39 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
> > Ok, I changed the PATH (removed /local/ stuff) and it didn't help.  I
> > think i have the local folder as a part of the default PATH on my
> > ubuntu notebook as well.
>
> > Which log would I look at in the build directory?
>
> python-2.6.4.p11/src/config.log
> looks the only one potentially interesting...
>
>
>
>
>
>
>
>
>
> > I have all of these log files there...
>
> > ./prereq-0.9/config.log
> > ./python-2.6.4.p11/.hg/store/00changelog.i
> > ./python-2.6.4.p11/.hg/00changelog.i
> > ./python-2.6.4.p11/src/Doc/library/easydialogs.rst
> > ./python-2.6.4.p11/src/Doc/library/logging.rst
> > ./python-2.6.4.p11/src/Doc/library/syslog.rst
> > ./python-2.6.4.p11/src/Demo/pdist/makechangelog.py
> > ./python-2.6.4.p11/src/Demo/tkinter/matt/dialog-box.py
> > ./python-2.6.4.p11/src/Demo/tkinter/guido/dialog.py
> > ./python-2.6.4.p11/src/Demo/tkinter/guido/AttrDialog.py
> > ./python-2.6.4.p11/src/config.log
> > ./python-2.6.4.p11/src/Lib/lib-tk/tkFileDialog.py
> > ./python-2.6.4.p11/src/Lib/lib-tk/tkSimpleDialog.py
> > ./python-2.6.4.p11/src/Lib/lib-tk/tkCommonDialog.py
> > ./python-2.6.4.p11/src/Lib/lib-tk/SimpleDialog.py
> > ./python-2.6.4.p11/src/Lib/lib-tk/Dialog.py
> > ./python-2.6.4.p11/src/Lib/lib-tk/FileDialog.py
> > ./python-2.6.4.p11/src/Lib/test/decimaltestdata/logb.decTest
> > ./python-2.6.4.p11/src/Lib/test/decimaltestdata/log10.decTest
> > ./python-2.6.4.p11/src/Lib/test/test_logging.py
> > ./python-2.6.4.p11/src/Lib/distutils/log.pyc
> > ./python-2.6.4.p11/src/Lib/distutils/log.py
> > ./python-2.6.4.p11/src/Lib/idlelib/SearchDialog.py
> > ./python-2.6.4.p11/src/Lib/idlelib/SearchDialogBase.py
> > ./python-2.6.4.p11/src/Lib/idlelib/aboutDialog.py
> > ./python-2.6.4.p11/src/Lib/idlelib/configDialog.py
> > ./python-2.6.4.p11/src/Lib/idlelib/ReplaceDialog.py
> > ./python-2.6.4.p11/src/Lib/idlelib/configSectionNameDialog.py
> > ./python-2.6.4.p11/src/Lib/idlelib/keybindingDialog.py
> > ./python-2.6.4.p11/src/Lib/idlelib/GrepDialog.py
> > ./python-2.6.4.p11/src/Lib/logging
> > ./python-2.6.4.p11/src/Lib/logging/config.py
> > ./python-2.6.4.p11/src/Lib/logging/__init__.py
> > ./python-2.6.4.p11/src/Lib/logging/handlers.py
> > ./python-2.6.4.p11/src/Lib/plat-mac/Carbon/Dialogs.py
> > ./python-2.6.4.p11/src/Lib/plat-mac/EasyDialogs.py
> > ./python-2.6.4.p11/src/Lib/plat-mac/dialogs.rsrc
> > ./python-2.6.4.p11/src/Lib/hotshot/log.py
> > ./python-2.6.4.p11/src/PC/icons/baselogo.svg
> > ./python-2.6.4.p11/src/Modules/syslogmodule.c
> > ./python-2.6.4.p11/src/Tools/scripts/logmerge.py
> > ./python-2.6.4.p11/src/Mac/Modules/OSATerminology.c
> > ./python-2.6.4.p11/src/build/lib.linux-x86_64-2.6/syslog.so
> > ./python-2.6.4.p11/src/build/temp.linux-x86_64-2.6/libffi/config.log
> > ./python-2.6.4.p11/src/build/temp.linux-x86_64-2.6/home/roman/Software/
> > sage-4.7/spkg/build/python-2.6.4.p11/src/Modules/syslogmodule.o
>
> > Thanks
>
> > On Jun 28, 5:06 am, Dima Pasechnik <dimp...@gmail.com> wrote:
>
> > >    PATH=/home/roman/Software/sage-4.7:/home/roman/Software/sage-4.7/
> > > local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>
> > > Is there any reason for PATH having /usr/local ahead of the standard
> > > stuff?
> > > It can potentially happen that you have some stuff in /usr/local/lib
> > > which interfers
> > > with things. Indeed,  -L/usr/local/lib is in the gcc call that
> > > produces non-working crypt
> > > module, and the only reason for it to be there is, I think, the
> > > presense of /usr/local in your PATH.
>
> > > Could you try removing this part from your PATH and re-running?
>
> > > If this does not help, one should try to see what exactly happens when
> > > one tries importing crypt.
> > > Perhaps it is in a log file in SAGE_ROOT/spkg/build/
>
> > > On Jun 27, 10:56 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
> > > > The whole log is here:
>
> > > >http://dl.dropbox.com/u/6726175/install.log

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Call for vote: lrcalc as standard or optional spkg?

On Jun 29, 3:49 pm, Florent Hivert <florent.hiv...@univ-rouen.fr>
wrote:
>       Hi David,
>
> > I thought it had been agreed no package would be standard unless it
> > is first optional.
>
> There were indeed such an agreement. However, I'd rather following the idea of
> the rule rather than the letter.
[...]
> I don't see the point of delaying inclusion in Sage.

One reason to follow the letter anyway is setting precedent. If you do
this now, then chances are pretty good that there will be someone in
the future championing inclusion of package X. He/she might well point
to this discussion and argue immediate adoption as a standard package
by claiming similarity in situation. This may or may not be justified
and whether it is may depend on your point of view. Now you find
yourself having to argue for or against that. By sticking to the
policy you avoid (or at least reduce) having that unproductive
discussion. Is standard inclusion of lrcarc now worth increased
chatter about immediate standard inclusion vs. first-optional-then-
standard-inclusion in the future?

I am not a fan of bureaucratic policies in general, but I can see some
value in this one. I am also not a fan of discussions on whether or
not to follow policies in particular cases, but those discussion might
just be a necessary evil.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Conférence PyCONFR 2011

Bonjour,

Pour information:

Conférence PyCONFR 2011
17 et 18 Septembre 2011
Rennes, France

Rendez-vous annuel des utilisateurs de Python organisé par
l'Association Francophone Python

http://www.pycon.fr/conference/edition2011

Quelqu'un serait-il partant pour y présenter Sage?

Bien cordialement,
Nicolas
--
Nicolas M. Thiéry "Isil" <nthiery@users.sf.net>
http://Nicolas.Thiery.name/

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Sage Compile Error on LMDE x64

On Jun 29, 7:39 pm, Roman Sinayev <lqd...@gmail.com> wrote:
> Ok, I changed the PATH (removed /local/ stuff) and it didn't help.  I
> think i have the local folder as a part of the default PATH on my
> ubuntu notebook as well.
>
> Which log would I look at in the build directory?

python-2.6.4.p11/src/config.log
looks the only one potentially interesting...


>
> I have all of these log files there...
>
> ./prereq-0.9/config.log
> ./python-2.6.4.p11/.hg/store/00changelog.i
> ./python-2.6.4.p11/.hg/00changelog.i
> ./python-2.6.4.p11/src/Doc/library/easydialogs.rst
> ./python-2.6.4.p11/src/Doc/library/logging.rst
> ./python-2.6.4.p11/src/Doc/library/syslog.rst
> ./python-2.6.4.p11/src/Demo/pdist/makechangelog.py
> ./python-2.6.4.p11/src/Demo/tkinter/matt/dialog-box.py
> ./python-2.6.4.p11/src/Demo/tkinter/guido/dialog.py
> ./python-2.6.4.p11/src/Demo/tkinter/guido/AttrDialog.py
> ./python-2.6.4.p11/src/config.log
> ./python-2.6.4.p11/src/Lib/lib-tk/tkFileDialog.py
> ./python-2.6.4.p11/src/Lib/lib-tk/tkSimpleDialog.py
> ./python-2.6.4.p11/src/Lib/lib-tk/tkCommonDialog.py
> ./python-2.6.4.p11/src/Lib/lib-tk/SimpleDialog.py
> ./python-2.6.4.p11/src/Lib/lib-tk/Dialog.py
> ./python-2.6.4.p11/src/Lib/lib-tk/FileDialog.py
> ./python-2.6.4.p11/src/Lib/test/decimaltestdata/logb.decTest
> ./python-2.6.4.p11/src/Lib/test/decimaltestdata/log10.decTest
> ./python-2.6.4.p11/src/Lib/test/test_logging.py
> ./python-2.6.4.p11/src/Lib/distutils/log.pyc
> ./python-2.6.4.p11/src/Lib/distutils/log.py
> ./python-2.6.4.p11/src/Lib/idlelib/SearchDialog.py
> ./python-2.6.4.p11/src/Lib/idlelib/SearchDialogBase.py
> ./python-2.6.4.p11/src/Lib/idlelib/aboutDialog.py
> ./python-2.6.4.p11/src/Lib/idlelib/configDialog.py
> ./python-2.6.4.p11/src/Lib/idlelib/ReplaceDialog.py
> ./python-2.6.4.p11/src/Lib/idlelib/configSectionNameDialog.py
> ./python-2.6.4.p11/src/Lib/idlelib/keybindingDialog.py
> ./python-2.6.4.p11/src/Lib/idlelib/GrepDialog.py
> ./python-2.6.4.p11/src/Lib/logging
> ./python-2.6.4.p11/src/Lib/logging/config.py
> ./python-2.6.4.p11/src/Lib/logging/__init__.py
> ./python-2.6.4.p11/src/Lib/logging/handlers.py
> ./python-2.6.4.p11/src/Lib/plat-mac/Carbon/Dialogs.py
> ./python-2.6.4.p11/src/Lib/plat-mac/EasyDialogs.py
> ./python-2.6.4.p11/src/Lib/plat-mac/dialogs.rsrc
> ./python-2.6.4.p11/src/Lib/hotshot/log.py
> ./python-2.6.4.p11/src/PC/icons/baselogo.svg
> ./python-2.6.4.p11/src/Modules/syslogmodule.c
> ./python-2.6.4.p11/src/Tools/scripts/logmerge.py
> ./python-2.6.4.p11/src/Mac/Modules/OSATerminology.c
> ./python-2.6.4.p11/src/build/lib.linux-x86_64-2.6/syslog.so
> ./python-2.6.4.p11/src/build/temp.linux-x86_64-2.6/libffi/config.log
> ./python-2.6.4.p11/src/build/temp.linux-x86_64-2.6/home/roman/Software/
> sage-4.7/spkg/build/python-2.6.4.p11/src/Modules/syslogmodule.o
>
> Thanks
>
> On Jun 28, 5:06 am, Dima Pasechnik <dimp...@gmail.com> wrote:
>
>
>
>
>
>
>
> >    PATH=/home/roman/Software/sage-4.7:/home/roman/Software/sage-4.7/
> > local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>
> > Is there any reason for PATH having /usr/local ahead of the standard
> > stuff?
> > It can potentially happen that you have some stuff in /usr/local/lib
> > which interfers
> > with things. Indeed,  -L/usr/local/lib is in the gcc call that
> > produces non-working crypt
> > module, and the only reason for it to be there is, I think, the
> > presense of /usr/local in your PATH.
>
> > Could you try removing this part from your PATH and re-running?
>
> > If this does not help, one should try to see what exactly happens when
> > one tries importing crypt.
> > Perhaps it is in a log file in SAGE_ROOT/spkg/build/
>
> > On Jun 27, 10:56 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
> > > The whole log is here:
>
> > >http://dl.dropbox.com/u/6726175/install.log

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Base ring(s) for free module morphisms

On Jun 30, 2:26 am, Rob Beezer <goo...@beezer.cotse.net> wrote:

> sage: V = GF(3)^3
> sage: W = QQ^2
> sage: H = Hom(V, W)
> sage: m = matrix(3, 2, range(6))
> sage: f = H(m)

This makes no sense at all; the function is not a homomorphism:

sage: v = [V.random_element() for i in range(2)]
sage: l = [GF(3).random_element() for i in range(2)]
sage: f(sum(l[i]*v[i] for i in range(2))) == sum(l[i]*f(v[i]) for i in
range(2))
---------------------------------------------------------------------------
Traceback (most recent call last)
...
TypeError: unsupported operand parent(s) for '*': 'Finite Field of
size 3' and 'Vector space of dimension 2 over Rational Field'

On the other hand,

sage: V = QQ^2
sage: K = QuadraticField(7)
sage: W = K^2
sage: H = Hom(V, W)
sage: f = H([[1, 3], [4, 0]])
sage: v = [V.random_element() for i in range(2)]
sage: l = [QQ.random_element() for i in range(2)]
sage: f(sum(l[i]*v[i] for i in range(2))) == sum(l[i]*f(v[i]) for i in
range(2))
True

The point being that

sage: K.has_coerce_map_from(QQ)
True

so that K^2 can be canonically made into a rational vector space.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

วันพุธที่ 29 มิถุนายน พ.ศ. 2554

[sage-devel] Base ring(s) for free module morphisms

Do we require that a morphism constructed between free modules share a
common base ring between the domain and codomain?

I cannot see this required in the code and it is possible in practice
to mix base rings, and even get pretty far:

sage: V = GF(3)^3
sage: W = QQ^2
sage: H = Hom(V, W)
sage: m = matrix(3, 2, range(6))
sage: f = H(m)
sage: f([1, 2, 3])
(1, 1)
sage: f.is_surjective()
True
sage: f.image()
Vector space of degree 2 and dimension 2 over Rational Field
Basis matrix:
[1 0]
[0 1]

So far, so good, I guess, but the last two results are incorrect,
IMHO.

But more telling, the following fails.

sage: f.lift([1/2, 3])
---------------------------------------------------------------------------
AssertionError Traceback (most recent call
last)

/sage/dev/devel/sage-main/<ipython console> in <module>()

/sage/dev/local/lib/python2.6/site-packages/sage/modules/
free_module_morphism.pyc in lift(self, x)
376 except TypeError:
377 raise ValueError, "element is not in the image"
--> 378 assert self(t) == x
379 return t
380

AssertionError:

Reactions? I've got a pretty good idea where to reject different base
rings, but maybe this flexibility is needed for something?

Rob

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

Hi David,

> I thought it had been agreed no package would be standard unless it
> is first optional.

There were indeed such an agreement. However, I'd rather following the idea of
the rule rather than the letter. As far as I remember (I can't manage to find
back the discussion), the goals of delaying inclusion was:
- testing the quality and the stability of the package;
- more important: check for long term maintenance.
I'd say that in MuPAD we used quite often this package for nearly 7 years, so
I'm pretty confident on both point. Therefore except for technical detail and
testing the interface with Sage, I don't see the point of delaying inclusion
in Sage.

Cheers,

Florent

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

Hi David,

On Tue, Jun 28, 2011 at 07:11:35PM +0100, Dr. David Kirkby wrote:
> I thought it had been agreed no package would be standard unless it
> is first optional.

Could someone confirm? At the price of one more ticket, we could
possibly go for optional for one release and then switch to standard
if this seems safer to get feedback.

> I tried compiling this on OpenSolaris.

Thanks!

> It builds with a couple of warnings about variables set but never
> used. There's no test code in the source code, but I tried a few of
> the examples in the README file and they gave the same output.
>
> The authors are using the compiler flag -O6, with an obvious
> intension of getting maximum optimisation. I'm not sure what happens
> in a case like that. It is not a gcc supported option
>
> http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Optimize-Options.html#Optimize-Options
>
> so it might break on future release of gcc if the GCC developers
> tighten up on the compiler options, which they have done recently.
> Until gcc 4.6.0, the compiler option -KPIC was ignored by gcc, as
> it's an option used by the Sun compiler. But now gcc 4.6 actually
> exits with an error if that option is given.
>
> It would certainly be worth discussing with the developers of the
> package why they use -O6, when it's not supported by gcc.

Which version of lrcalc did you use?

Anders has not yet released officially the one included in the
lrcalc-1.1.5b.spkg I posted on #10333. This lastest version uses a
standard autotools 'configure / make / make install' which does not
specify compilation flags. It also contains (admittedly minimal) tests
which you can run with ``make check`` (or, from the spkg, using
spkg-check).

Cheers,
Nicolas
--
Nicolas M. Thiéry "Isil" <nthiery@users.sf.net>
http://Nicolas.Thiery.name/

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

On Jun 29, 2:11 am, Rolf <kamha...@googlemail.com> wrote:
> This is very strange.
>
> There is something hidden in Seberino's worksheets that prevents them
> from being executed automatically.
> First I thought it is the comment added above the first cell. But his
> new example demonstrates that this is obvious not core of the problem.
> Both his example woksheets don't work on my system either, but if I
> transfer all that is visible to a new worksheets the code works
> perfectly.

Hmm. That is odd. What version of Sage are you running? Perhaps you
have a newer version that silently fixed my problem?

I compiled Sage 4.6.2 from source to run on Ubuntu 10.10.

I haven't really made any changes. I deleted my init_sage and
confirmed the problem still appears without that file.

cs

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

On Jun 29, 7:50 am, kcrisman <kcris...@gmail.com> wrote:
>  The interact does run, by the way
> - that should be clear from the green bar along the side and the
> progress indicator in your browser's title area.

Why does the green bar appear but we don't see the output of the
evaluation?

I removed the %hide and it *still* doesn't automatically appear when
uploaded!

> I'm not sure whether this is a feature or a bug, though.  Ordinarily
> we would want 'auto' and 'hide' to do those things, but it appears
> here that it hides even output we normally want to appear.
>
> What do you think the "right" behavior should be for %auto && %hide?
> I'm really not sure, because I thought in the past that it should just
> hide the input cell, but maybe it should also hide the output, as
> seems to be happening here.

I think just hiding the input is fine. The logic to me is that we
want to hide the implementation details from students who don't know
and/or don't care. A teacher may want to keep the students focused on
the mathematics rather than the Python/Sage source.

cs

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Sage Compile Error on LMDE x64

Ok, I changed the PATH (removed /local/ stuff) and it didn't help. I
think i have the local folder as a part of the default PATH on my
ubuntu notebook as well.

Which log would I look at in the build directory?

I have all of these log files there...

./prereq-0.9/config.log
./python-2.6.4.p11/.hg/store/00changelog.i
./python-2.6.4.p11/.hg/00changelog.i
./python-2.6.4.p11/src/Doc/library/easydialogs.rst
./python-2.6.4.p11/src/Doc/library/logging.rst
./python-2.6.4.p11/src/Doc/library/syslog.rst
./python-2.6.4.p11/src/Demo/pdist/makechangelog.py
./python-2.6.4.p11/src/Demo/tkinter/matt/dialog-box.py
./python-2.6.4.p11/src/Demo/tkinter/guido/dialog.py
./python-2.6.4.p11/src/Demo/tkinter/guido/AttrDialog.py
./python-2.6.4.p11/src/config.log
./python-2.6.4.p11/src/Lib/lib-tk/tkFileDialog.py
./python-2.6.4.p11/src/Lib/lib-tk/tkSimpleDialog.py
./python-2.6.4.p11/src/Lib/lib-tk/tkCommonDialog.py
./python-2.6.4.p11/src/Lib/lib-tk/SimpleDialog.py
./python-2.6.4.p11/src/Lib/lib-tk/Dialog.py
./python-2.6.4.p11/src/Lib/lib-tk/FileDialog.py
./python-2.6.4.p11/src/Lib/test/decimaltestdata/logb.decTest
./python-2.6.4.p11/src/Lib/test/decimaltestdata/log10.decTest
./python-2.6.4.p11/src/Lib/test/test_logging.py
./python-2.6.4.p11/src/Lib/distutils/log.pyc
./python-2.6.4.p11/src/Lib/distutils/log.py
./python-2.6.4.p11/src/Lib/idlelib/SearchDialog.py
./python-2.6.4.p11/src/Lib/idlelib/SearchDialogBase.py
./python-2.6.4.p11/src/Lib/idlelib/aboutDialog.py
./python-2.6.4.p11/src/Lib/idlelib/configDialog.py
./python-2.6.4.p11/src/Lib/idlelib/ReplaceDialog.py
./python-2.6.4.p11/src/Lib/idlelib/configSectionNameDialog.py
./python-2.6.4.p11/src/Lib/idlelib/keybindingDialog.py
./python-2.6.4.p11/src/Lib/idlelib/GrepDialog.py
./python-2.6.4.p11/src/Lib/logging
./python-2.6.4.p11/src/Lib/logging/config.py
./python-2.6.4.p11/src/Lib/logging/__init__.py
./python-2.6.4.p11/src/Lib/logging/handlers.py
./python-2.6.4.p11/src/Lib/plat-mac/Carbon/Dialogs.py
./python-2.6.4.p11/src/Lib/plat-mac/EasyDialogs.py
./python-2.6.4.p11/src/Lib/plat-mac/dialogs.rsrc
./python-2.6.4.p11/src/Lib/hotshot/log.py
./python-2.6.4.p11/src/PC/icons/baselogo.svg
./python-2.6.4.p11/src/Modules/syslogmodule.c
./python-2.6.4.p11/src/Tools/scripts/logmerge.py
./python-2.6.4.p11/src/Mac/Modules/OSATerminology.c
./python-2.6.4.p11/src/build/lib.linux-x86_64-2.6/syslog.so
./python-2.6.4.p11/src/build/temp.linux-x86_64-2.6/libffi/config.log
./python-2.6.4.p11/src/build/temp.linux-x86_64-2.6/home/roman/Software/
sage-4.7/spkg/build/python-2.6.4.p11/src/Modules/syslogmodule.o

Thanks

On Jun 28, 5:06 am, Dima Pasechnik <dimp...@gmail.com> wrote:
>    PATH=/home/roman/Software/sage-4.7:/home/roman/Software/sage-4.7/
> local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
>
> Is there any reason for PATH having /usr/local ahead of the standard
> stuff?
> It can potentially happen that you have some stuff in /usr/local/lib
> which interfers
> with things. Indeed,  -L/usr/local/lib is in the gcc call that
> produces non-working crypt
> module, and the only reason for it to be there is, I think, the
> presense of /usr/local in your PATH.
>
> Could you try removing this part from your PATH and re-running?
>
> If this does not help, one should try to see what exactly happens when
> one tries importing crypt.
> Perhaps it is in a log file in SAGE_ROOT/spkg/build/
>
> On Jun 27, 10:56 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
>
>
>
>
>
>
> > The whole log is here:
>
> >http://dl.dropbox.com/u/6726175/install.log

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Re: placeholders in __init__.py

On 2011-06-29 18:31, Maarten Derickx wrote:
> Sorry for the untrue statement above about git=1 not being compatible
> with the patchbot. The reason the mentioned patch was rejected is
> because there was:
>
> Detected SAGE64 flag
> Building Sage on OS X in 64-bit mode
>
> at the top of the file.

By the way: the fact that these lines appear should be fixed in the
latest alpha version (I guess since sage-4.7.1.alpha0).

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

> Apparently we should implement this "don't execute uploaded worksheets
> by default" and advertise this warning better.

Probably this is already implemented.

When I compare the notebook directories that contain the two
worksheets that hold exactly the same code but mine being executed
automatically and Seberino's not, the only difference that I can find
is in worksheet_conf.pickle file. Mine says, as far as I can
understand, that I'm the proper owner.

Also, when I create a copy of Seberino's worksheet it again is
automatically executed because by copying I become the owner.

I cannot find a documatation about %auto, %hide etc.

Best
R.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: placeholders in __init__.py

Sorry for the untrue statement above about git=1 not being compatible with the patchbot. The reason the mentioned patch was rejected is because there was:

Detected SAGE64 flag
Building Sage on OS X in 64-bit mode

at the top of the file.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Sincere request for comments from FOSS mathematical tools developers

Hello Sage developers,

My name is Anthony Durity. I am completing a Master's in Digital
Culture (Cultural/Media Studies with a digital twist) and I am writing
my thesis on Free and Open Source Software Mathematical Tools. The
program is here
https://www.jyu.fi/hum/laitokset/taiku/en/subjects/dgl/ if you need
query the university for confirmation of this. An essential part of my
thesis is to get detailed feedback from mathematics software
developers (both of the FOSS and proprietary variety) to see what
motivates them (you) to do what they (you) do.
To that end I would appreciate if people here could contact me
personally to let me know if they would be willing to share this type
of knowledge with me. I have already looked in the background of Sage.
I have a background in IT so you won't have to spoon-feed me technical
information, also I have a degree in philosophy and mathematics
(undergrad level) so I should also be able to follow basic math stuff
as well if you go easy on me :)
I'm not really so interested in the organizational aspects of the
project, I'm more interested in big picture questions: how you see
yourself in respect to the entire development of science, how you see
yourself in relation to proprietary tools, what you think of the
practicalities and ethics of what you are doing from a
scientific/historical perspective, special issues related to
mathematics software versus other software. I've followed FOSS for
years so I am familiar with concepts of copyleft and so on so we
wouldn't be delving into that too much either.

Anyway, let me know if you're interested in giving me your opinion on
the world of FOSS mathematics tools and mathematics tools in general.

Kind regard and best wishes,
Look forward to hearing from you,
Anthony

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

> Nope.  If someone is running a worksheet on their personal Sage install,
> it runs as themselves.  Notice I didn't type "sudo" in the command
> above.  All I'm doing is deleting the entire home directory.

As opposed to the system directories... I see.

> Apparently we should implement this "don't execute uploaded worksheets
> by default" and advertise this warning better.

Yes.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

On 6/29/11 8:20 AM, kcrisman wrote:
>
>
> On Jun 29, 9:00 am, Jason Grout<jason-s...@creativetrax.com> wrote:
>> On 6/29/11 2:11 AM, Rolf wrote:
>>
>>> This is very strange.
>>
>>> There is something hidden in Seberino's worksheets that prevents them
>>> from being executed automatically.
>>> First I thought it is the comment added above the first cell. But his
>>> new example demonstrates that this is obvious not core of the problem.
>>> Both his example woksheets don't work on my system either, but if I
>>> transfer all that is visible to a new worksheets the code works
>>> perfectly.
>>
>>> Unfortunately, it is impossible to debug a worksheet or to read it
>>> 'manually' as a text file.
>>
>>> I wonder if it is possible to send viruses by worksheets?
>>
>> I'm sure this is possible. For example, it would be trivial to write a
>> worksheet that does 'rm -rf $HOME' inside an autoexecute cell. If that
>> worksheet was downloaded and opened on a user's local computer, it would
>> be very bad.
>>
>
> But wouldn't that ordinarily require a sudo and password? I mean
> under permissions that 'most' people have. Now you have me wary of
> downloading worksheets...

Nope. If someone is running a worksheet on their personal Sage install,
it runs as themselves. Notice I didn't type "sudo" in the command
above. All I'm doing is deleting the entire home directory.

You *should* be wary of downloading untrusted worksheets and executing
them on your personal Sage install. You're executing arbitrary code
from untrusted sources.

Apparently we should implement this "don't execute uploaded worksheets
by default" and advertise this warning better.

Thanks,

Jason


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

On Jun 29, 9:00 am, Jason Grout <jason-s...@creativetrax.com> wrote:
> On 6/29/11 2:11 AM, Rolf wrote:
>
> > This is very strange.
>
> > There is something hidden in Seberino's worksheets that prevents them
> > from being executed automatically.
> > First I thought it is the comment added above the first cell. But his
> > new example demonstrates that this is obvious not core of the problem.
> > Both his example woksheets don't work on my system either, but if I
> > transfer all that is visible to a new worksheets the code works
> > perfectly.
>
> > Unfortunately, it is impossible to debug a worksheet or to read it
> > 'manually' as a text file.
>
> > I wonder if it is possible to send viruses by worksheets?
>
> I'm sure this is possible.  For example, it would be trivial to write a
> worksheet that does 'rm -rf $HOME' inside an autoexecute cell.  If that
> worksheet was downloaded and opened on a user's local computer, it would
> be very bad.
>

But wouldn't that ordinarily require a sudo and password? I mean
under permissions that 'most' people have. Now you have me wary of
downloading worksheets...

- kcrisman

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

On 6/29/11 2:11 AM, Rolf wrote:
> This is very strange.
>
> There is something hidden in Seberino's worksheets that prevents them
> from being executed automatically.
> First I thought it is the comment added above the first cell. But his
> new example demonstrates that this is obvious not core of the problem.
> Both his example woksheets don't work on my system either, but if I
> transfer all that is visible to a new worksheets the code works
> perfectly.
>
> Unfortunately, it is impossible to debug a worksheet or to read it
> 'manually' as a text file.
>
> I wonder if it is possible to send viruses by worksheets?

I'm sure this is possible. For example, it would be trivial to write a
worksheet that does 'rm -rf $HOME' inside an autoexecute cell. If that
worksheet was downloaded and opened on a user's local computer, it would
be very bad.


>
> As worksheets may contain hidden information, can be automatically
> executed, and cannot be read as a simple text file, all this raises
> grave security concerns.

One thing we should provide is an "open and don't execute any %auto
cells". I think that should allow you to inspect the code before
running it. Great idea. In fact, when a worksheet is uploaded, it
probably should have a 'don't execute' bit set. Before any cells are
executed, a warning box is popped up, like happens in OSX, for example,
telling the user that it is a new worksheet and are they sure they want
to execute things from it.

Can you file a google issue for this on the sage notebook code site?

Jason


--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

On Jun 29, 3:11 am, Rolf <kamha...@googlemail.com> wrote:
> This is very strange.
>
> There is something hidden in Seberino's worksheets that prevents them
> from being executed automatically.
> First I thought it is the comment added above the first cell. But his
> new example demonstrates that this is obvious not core of the problem.
> Both his example woksheets don't work on my system either, but if I
> transfer all that is visible to a new worksheets the code works
> perfectly.
>
> Unfortunately, it is impossible to debug a worksheet or to read it
> 'manually' as a text file.

Not quite! The worksheet has a folder in your .sage/
sage_notebook.sagenb/home/ directory (usually e.g. admin/175 or
something).

>
> I wonder if it is possible to send viruses by worksheets?

Good question. http://www.sagemath.org/files/thesis/aner-thesis-2009.pdf
has looked at some things like that, maybe this specific question?

> As worksheets may contain hidden information, can be automatically
> executed, and cannot be read as a simple text file, all this raises
> grave security concerns.

I don't see any hidden information here at all, though.

I do see someone using

%auto
%hide

and expecting something to appear. The interact does run, by the way
- that should be clear from the green bar along the side and the
progress indicator in your browser's title area.

I'm not sure whether this is a feature or a bug, though. Ordinarily
we would want 'auto' and 'hide' to do those things, but it appears
here that it hides even output we normally want to appear.

What do you think the "right" behavior should be for %auto && %hide?
I'm really not sure, because I thought in the past that it should just
hide the input cell, but maybe it should also hide the output, as
seems to be happening here. I've never tried to use %hide for a cell
that had output before, I usually just use it for background
definitions. Input welcome!

- kcrisman

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Call for vote: lrcalc as standard or optional spkg?

On Jun 28, 4:29 pm, "Nicolas M. Thiery" <Nicolas.Thi...@u-psud.fr>
wrote:
>         Dear Sage and Sage-Combinat developers,
>
> With Mike and Anne we are about to finalize an interface with lrcalc:
>
> --------------------------------------------------------------------------- ---
> #10333: An interface to Anders Buch's Littlewood-Richardson Calculator lrcalc
>
> The "Littlewood-Richardson Calculator" is a C library for fast
> computation of Littlewood-Richardson (LR) coefficients and products of
> Schubert polynomials. It handles single LR coefficients, products of
> and coproducts of Schur functions, skew Schur functions, and fusion
> products. All of the above are achieved by counting LR (skew)-tableaux
> of appropriate shape and content by iterating through
> them. Additionally, lrcalc handles products of Schubert polynomials.
>
> The web page of lrcalc is:  http://math.rutgers.edu/~asbuch/lrcalc/
> --------------------------------------------------------------------------- ---
>
> lrcalc will progressively become a key low-level component for Sage's
> symmetric functions library. This evolution will be simpler if lrcalc
> is always available.
>
> I therefore would like to cast a vote. Should lrcalc become:
>

[X ] A standard spkg
[ ] An optional spkg

>
> lrcalc weights 500Ko (100Ko of C code + administrative files +
> mercurial repo). It's GLPV2+ with no dependencies. The code is quite
> clean and so far proved to be portable: we used it in MuPAD-Combinat,
> under MacOS, various flavors of Linux, and CYGWIN; tests on solaris
> are welcome!
>
> Thanks for your votes!
>                                 Nicolas
> --
> Nicolas M. Thi ry "Isil" <nthi...@users.sf.net>http://Nicolas.Thiery.name/

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] ESA summer of code anyone?

The ESA is running their own GSOC program:

http://sophia.estec.esa.int/socis2011/

Perhaps we should apply there? It seems like Sage should fit their interests pretty well...

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

This is very strange.

There is something hidden in Seberino's worksheets that prevents them
from being executed automatically.
First I thought it is the comment added above the first cell. But his
new example demonstrates that this is obvious not core of the problem.
Both his example woksheets don't work on my system either, but if I
transfer all that is visible to a new worksheets the code works
perfectly.

Unfortunately, it is impossible to debug a worksheet or to read it
'manually' as a text file.

I wonder if it is possible to send viruses by worksheets?

As worksheets may contain hidden information, can be automatically
executed, and cannot be read as a simple text file, all this raises
grave security concerns.

Best R.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

วันอังคารที่ 28 มิถุนายน พ.ศ. 2554

[sage-devel] Re: Print version of free module morphisms

Impatient this evening, I guess.

Less-vague print representation implemented at the "beginner" ticket:

http://trac.sagemath.org/sage_trac/ticket/11555

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

krisman...

See this worksheet to recreate the problem....

http://seberino.org/share/Not_Automatic.sws

I can't get this simple interact function to automatically run when I
load that worksheet.

(This one has not descriptive text above the cell and it *still* does
not run automatically!)

cs

On Jun 28, 10:15 am, kcrisman <kcris...@gmail.com> wrote:
> On Jun 28, 10:32 am, Chris Seberino <cseber...@gmail.com> wrote:
>
> > Rolf and I have had a thread going on sage-support about issues with
> > %auto.
>
> > Rolf found out that adding text above a cell with %auto makes that
> > cell NOT be automatically run when worksheet is loaded.
>
> I cannot replicate this in Sage 4.7.   What do you mean by "adding
> text"?  Here is the beginning of a worksheet where this does not
> happen, even after quitting and reloading.  I used TinyMCE to add the
> text, but I doubt that matters.
>
> If you were adding # comments in the same cell I could imagine a
> problem, though.
>
> {{{id=45|
>
> ///
>
> }}}
>
> <p>Here is some text.</p>
>
> {{{id=46|
> %auto
> f(x) = x^2
> ///
>
> }}}
>
> {{{id=47|
> f(3)
> ///
> 9
>
> }}}

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

On Tue, Jun 28, 2011 at 12:18:30PM -0700, Volker Braun wrote:
> gcc has always taken -On with n>3 to mean -O3. I'm pretty sure they won't
> break that anytime soon as its a pretty common (ab)use. Making first an
> optional package would be good for testing. If its quality code and
> obsoletes Symmetrica then go for it.

Unfortunately, it won't obsolete the whole Symmetrica, but certainly one of
the most used part. However a large part of Symmetrica is being rewriten in
sage (Schubert polynomials, symmetric function basis changes). So probably at
some point, we will realize that we don't use Symmetrica anymore.

Cheers,

Florent

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Print version of free module morphisms

Morphisms between free modules are basically represented by matrices.
Here is how they sometimes print:


sage: V = ZZ^6
sage: W = ZZ^4
sage: m = matrix(QQ, [[1, 0, 0 ,0], [0]*4, [0]*4, [0]*4, [0]*4,
[0]*4])
sage: phi = V.hom(m, W)
sage: rho = phi.restrict_codomain(W.span([W.0]))
sage: rho
Free module morphism defined by the matrix
(not printing 6 x 1 matrix)
Domain: Ambient free module of rank 6 over the principal ideal
domain ...
Codomain: Free module of degree 4 and rank 1 over Integer Ring
Echelon ...


(a) A matrix with more than 5 rows or columns will not print. We
generally limit printing matrices with more than 20 rows or columns
and print an informative message about .str() if you really want to
see it. Matrix here is obtainable with the .matrix() method.

(b) Description of domain and codomain is truncated, almost always
skipping the basis, and in example above cutting off the one-line
summary. (The ... are part of the original output, not something I
did before posting.)

Questions:

(1) Any particular reason for the extreme brevity?

(2) Any objections to expanding the print version to being more
complete? Basically letting the matrix representation default to the
matrix methods on size considerations and including the following:


sage: rho.domain()
Ambient free module of rank 6 over the principal ideal domain Integer
Ring
sage: rho.codomain()
Free module of degree 4 and rank 1 over Integer Ring
Echelon basis matrix:
[1 0 0 0]

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-combinat-devel] Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

On Tue, Jun 28, 2011 at 11:04 AM, Florent Hivert
<florent.hivert@univ-rouen.fr> wrote:
>      Hi,
>
>> With Mike and Anne we are about to finalize an interface with lrcalc:
>>
>> ------------------------------------------------------------------------------
>> #10333: An interface to Anders Buch's Littlewood-Richardson Calculator lrcalc
>>
>> The "Littlewood-Richardson Calculator" is a C library for fast
>> computation of Littlewood-Richardson (LR) coefficients and products of
>> Schubert polynomials. It handles single LR coefficients, products of
>> and coproducts of Schur functions, skew Schur functions, and fusion
>> products. All of the above are achieved by counting LR (skew)-tableaux
>> of appropriate shape and content by iterating through
>> them. Additionally, lrcalc handles products of Schubert polynomials.
>>
>> The web page of lrcalc is:  http://math.rutgers.edu/~asbuch/lrcalc/
>> ------------------------------------------------------------------------------
>
>> lrcalc weights 500Ko (100Ko of C code + administrative files +
>> mercurial repo). It's GLPV2+ with no dependencies. The code is quite
>> clean and so far proved to be portable: we used it in MuPAD-Combinat,
>> under MacOS, various flavors of Linux, and CYGWIN; tests on solaris
>> are welcome!
>
> One more argument for using it. Having it in standard Sage is a good step
> toward getting rid of Symmetrica which often causes problems and is no more
> maintained.
>
>> lrcalc will progressively become a key low-level component for Sage's
>> symmetric functions library. This evolution will be simpler if lrcalc
>> is always available.
>>
>> I therefore would like to cast a vote. Should lrcalc become:
>
> Therefore:
>
>> [X] A standard spkg
>> [ ] An optional spkg

[X] A standard spkg

Franco

--

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

gcc has always taken -On with n>3 to mean -O3. I'm pretty sure they won't break that anytime soon as its a pretty common (ab)use. Making first an optional package would be good for testing. If its quality code and obsoletes Symmetrica then go for it.




--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

On 06/28/11 05:45 PM, Benjamin Jones wrote:
> On Tue, Jun 28, 2011 at 9:29 AM, Nicolas M. Thiery
> <Nicolas.Thiery@u-psud.fr> wrote:
>> Dear Sage and Sage-Combinat developers,
>>
>> With Mike and Anne we are about to finalize an interface with lrcalc:
>>
>
> I've used lrcalc extensively in the past and I am very impressed with
> it. I vote:
>
> [ X ] A standard spkg
> [ ] An optional spkg
>
> --
> Benjamin Jones
>

I thought it had been agreed no package would be standard unless it is first
optional.

I tried compiling this on OpenSolaris. It builds with a couple of warnings about
variables set but never used. There's no test code in the source code, but I
tried a few of the examples in the README file and they gave the same output.

The authors are using the compiler flag -O6, with an obvious intension of
getting maximum optimisation. I'm not sure what happens in a case like that. It
is not a gcc supported option

http://gcc.gnu.org/onlinedocs/gcc-4.6.1/gcc/Optimize-Options.html#Optimize-Options

so it might break on future release of gcc if the GCC developers tighten up on
the compiler options, which they have done recently. Until gcc 4.6.0, the
compiler option -KPIC was ignored by gcc, as it's an option used by the Sun
compiler. But now gcc 4.6 actually exits with an error if that option is given.

It would certainly be worth discussing with the developers of the package why
they use -O6, when it's not supported by gcc.

Dave

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

On Tue, Jun 28, 2011 at 9:29 AM, Nicolas M. Thiery
<Nicolas.Thiery@u-psud.fr> wrote:
>        Dear Sage and Sage-Combinat developers,
>
> With Mike and Anne we are about to finalize an interface with lrcalc:
>

I've used lrcalc extensively in the past and I am very impressed with
it. I vote:

[ X ] A standard spkg
[ ] An optional spkg

--
Benjamin Jones

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: %auto does not work in notebook in there is descriptive text above the cell

On Jun 28, 10:32 am, Chris Seberino <cseber...@gmail.com> wrote:
> Rolf and I have had a thread going on sage-support about issues with
> %auto.
>
> Rolf found out that adding text above a cell with %auto makes that
> cell NOT be automatically run when worksheet is loaded.
>

I cannot replicate this in Sage 4.7. What do you mean by "adding
text"? Here is the beginning of a worksheet where this does not
happen, even after quitting and reloading. I used TinyMCE to add the
text, but I doubt that matters.

If you were adding # comments in the same cell I could imagine a
problem, though.

{{{id=45|

///
}}}

<p>Here is some text.</p>

{{{id=46|
%auto
f(x) = x^2
///
}}}

{{{id=47|
f(3)
///
9
}}}

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] Call for vote: lrcalc as standard or optional spkg?

Hi,

> With Mike and Anne we are about to finalize an interface with lrcalc:
>
> ------------------------------------------------------------------------------
> #10333: An interface to Anders Buch's Littlewood-Richardson Calculator lrcalc
>
> The "Littlewood-Richardson Calculator" is a C library for fast
> computation of Littlewood-Richardson (LR) coefficients and products of
> Schubert polynomials. It handles single LR coefficients, products of
> and coproducts of Schur functions, skew Schur functions, and fusion
> products. All of the above are achieved by counting LR (skew)-tableaux
> of appropriate shape and content by iterating through
> them. Additionally, lrcalc handles products of Schubert polynomials.
>
> The web page of lrcalc is: http://math.rutgers.edu/~asbuch/lrcalc/
> ------------------------------------------------------------------------------

> lrcalc weights 500Ko (100Ko of C code + administrative files +
> mercurial repo). It's GLPV2+ with no dependencies. The code is quite
> clean and so far proved to be portable: we used it in MuPAD-Combinat,
> under MacOS, various flavors of Linux, and CYGWIN; tests on solaris
> are welcome!

One more argument for using it. Having it in standard Sage is a good step
toward getting rid of Symmetrica which often causes problems and is no more
maintained.

> lrcalc will progressively become a key low-level component for Sage's
> symmetric functions library. This evolution will be simpler if lrcalc
> is always available.
>
> I therefore would like to cast a vote. Should lrcalc become:

Therefore:

> [X] A standard spkg
> [ ] An optional spkg

Cheers,

Florent

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: [sage-combinat-devel] Call for vote: lrcalc as standard or optional spkg?

I vote for this to be a standard spkg.

Anne

On 6/28/11 7:29 AM, Nicolas M. Thiery wrote:
> Dear Sage and Sage-Combinat developers,
>
> With Mike and Anne we are about to finalize an interface with lrcalc:
>
> ------------------------------------------------------------------------------
> #10333: An interface to Anders Buch's Littlewood-Richardson Calculator lrcalc
>
> The "Littlewood-Richardson Calculator" is a C library for fast
> computation of Littlewood-Richardson (LR) coefficients and products of
> Schubert polynomials. It handles single LR coefficients, products of
> and coproducts of Schur functions, skew Schur functions, and fusion
> products. All of the above are achieved by counting LR (skew)-tableaux
> of appropriate shape and content by iterating through
> them. Additionally, lrcalc handles products of Schubert polynomials.
>
> The web page of lrcalc is: http://math.rutgers.edu/~asbuch/lrcalc/
> ------------------------------------------------------------------------------
>
> lrcalc will progressively become a key low-level component for Sage's
> symmetric functions library. This evolution will be simpler if lrcalc
> is always available.
>
> I therefore would like to cast a vote. Should lrcalc become:
>
> [ ] A standard spkg
> [ ] An optional spkg
>
> lrcalc weights 500Ko (100Ko of C code + administrative files +
> mercurial repo). It's GLPV2+ with no dependencies. The code is quite
> clean and so far proved to be portable: we used it in MuPAD-Combinat,
> under MacOS, various flavors of Linux, and CYGWIN; tests on solaris
> are welcome!
>
> Thanks for your votes!
> Nicolas
> --
> Nicolas M. Thiéry "Isil"<nthiery@users.sf.net>
> http://Nicolas.Thiery.name/

--
You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group.
To post to this group, send email to sage-combinat-devel@googlegroups.com.
To unsubscribe from this group, send email to sage-combinat-devel+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/sage-combinat-devel?hl=en.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] %auto does not work in notebook in there is descriptive text above the cell

Rolf and I have had a thread going on sage-support about issues with
%auto.

Rolf found out that adding text above a cell with %auto makes that
cell NOT be automatically run when worksheet is loaded.

The temporary workaround is to add an additional blank cell between
descriptive text and a cell with %auto.

I have Sage 4.6.2.

cs

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Call for vote: lrcalc as standard or optional spkg?

Dear Sage and Sage-Combinat developers,

With Mike and Anne we are about to finalize an interface with lrcalc:

------------------------------------------------------------------------------
#10333: An interface to Anders Buch's Littlewood-Richardson Calculator lrcalc

The "Littlewood-Richardson Calculator" is a C library for fast
computation of Littlewood-Richardson (LR) coefficients and products of
Schubert polynomials. It handles single LR coefficients, products of
and coproducts of Schur functions, skew Schur functions, and fusion
products. All of the above are achieved by counting LR (skew)-tableaux
of appropriate shape and content by iterating through
them. Additionally, lrcalc handles products of Schubert polynomials.

The web page of lrcalc is: http://math.rutgers.edu/~asbuch/lrcalc/
------------------------------------------------------------------------------

lrcalc will progressively become a key low-level component for Sage's
symmetric functions library. This evolution will be simpler if lrcalc
is always available.

I therefore would like to cast a vote. Should lrcalc become:

[ ] A standard spkg
[ ] An optional spkg

lrcalc weights 500Ko (100Ko of C code + administrative files +
mercurial repo). It's GLPV2+ with no dependencies. The code is quite
clean and so far proved to be portable: we used it in MuPAD-Combinat,
under MacOS, various flavors of Linux, and CYGWIN; tests on solaris
are welcome!

Thanks for your votes!
Nicolas
--
Nicolas M. Thiéry "Isil" <nthiery@users.sf.net>
http://Nicolas.Thiery.name/

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] patchbot down?

I suspect that the slowness of trac might be fixed by adding some indexes to the trac database. Are there people who already looked at this?

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Sage Compile Error on LMDE x64

PATH=/home/roman/Software/sage-4.7:/home/roman/Software/sage-4.7/
local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games

Is there any reason for PATH having /usr/local ahead of the standard
stuff?
It can potentially happen that you have some stuff in /usr/local/lib
which interfers
with things. Indeed, -L/usr/local/lib is in the gcc call that
produces non-working crypt
module, and the only reason for it to be there is, I think, the
presense of /usr/local in your PATH.

Could you try removing this part from your PATH and re-running?

If this does not help, one should try to see what exactly happens when
one tries importing crypt.
Perhaps it is in a log file in SAGE_ROOT/spkg/build/

On Jun 27, 10:56 pm, Roman Sinayev <lqd...@gmail.com> wrote:
> The whole log is here:
>
> http://dl.dropbox.com/u/6726175/install.log

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] buildslave 'hawk' will be going offline for a few hours at least.

On 06/28/11 12:16 AM, Dr. David Kirkby wrote:
> Having suffered computer damage due to lightning twice now (once a
> couple of years ago, more recently a couple of weeks ago), I have
> decided to disconnect my computer hardware from the Internet during
> expected lightning storms. Such a storm is expected here soon, so I will
> disconnect the build slave hawk for at least 8 hours.
>
> Sorry for the inconvenience, but a couple of years ago I lost a lot of
> computer hardware, and more recently an ADSL modem.
>
> I've now found our our telephone provider has disconnected the earth
> connection from my telegraph poll. Why I will never know, but I suspect
> that has contributed to the lightning damage I have suffered in the
> past. Hence I'm taking no chances now.
>
> Dave

hawk is back up.

--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

วันจันทร์ที่ 27 มิถุนายน พ.ศ. 2554

Re: [sage-devel] what to do when the answer to a doctest changes with an optional spkg

On Mon, Jun 27, 2011 at 9:35 PM, Francois Bissey
<francois.bissey@canterbury.ac.nz> wrote:
> Hi all,
>
> in #11427 Mariah noticed that the result of test introduced in #10334
> are actually changing when you install an optional spkg.
>
> What would be the most sensible course of action ot solve this?
> Changing the tests - with one that doesn't depend on said spkg?
> Probably the best option provided that you can find one.
> Is it possible to have the result depend on an optional spkg?

One can tag tests as totally optional, i.e. they shouldn't be run
without a given spkg. However, for this case, the two answers are
equivalently correct (I would hope it is always so) and I think the
test should be re-written to not be dependent on arbitrary changes due
to installing an additional spkg.

- Robert

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] what to do when the answer to a doctest changes with an optional spkg

Hi all,

in #11427 Mariah noticed that the result of test introduced in #10334
are actually changing when you install an optional spkg.

What would be the most sensible course of action ot solve this?
Changing the tests - with one that doesn't depend on said spkg?
Probably the best option provided that you can find one.
Is it possible to have the result depend on an optional spkg?

Francois

Re: [sage-devel] patchbot down?

Currently, not without logging in as me. I plan to move it to the sage
math account, so anyone there can restart it. I'd also like to
decouple it from trac being so slow (which would also be nice to fix),
as this is the underlying problem.

On Mon, Jun 27, 2011 at 3:38 PM, David Roe <roed@math.harvard.edu> wrote:
> It seems to have frozen again.  Is there a way other people could restart
> it?
> David
>
> On Fri, Jun 24, 2011 at 10:30, Robert Bradshaw
> <robertwb@math.washington.edu> wrote:
>>
>> It often hangs when trying to scrape trac.sagemath.org. I've restarted
>> it. (If you have any tickets you're interested in, visit their pages
>> to make sure it has up-to-date information).
>>
>> On Fri, Jun 24, 2011 at 3:07 AM, David Roe <roed@math.harvard.edu> wrote:
>> > Yes, I was having a similar problem last night.
>> > David
>> >
>> > On Fri, Jun 24, 2011 at 11:43, Maarten Derickx
>> > <m.derickx.student@gmail.com>
>> > wrote:
>> >>
>> >> It seems that I can't reach it anymore by going
>> >> to http://sage.math.washington.edu:21100/
>> >> Do other people have the same problem
>> >>
>> >> --
>> >> To post to this group, send an email to sage-devel@googlegroups.com
>> >> To unsubscribe from this group, send an email to
>> >> sage-devel+unsubscribe@googlegroups.com
>> >> For more options, visit this group at
>> >> http://groups.google.com/group/sage-devel
>> >> URL: http://www.sagemath.org
>> >
>> > --
>> > To post to this group, send an email to sage-devel@googlegroups.com
>> > To unsubscribe from this group, send an email to
>> > sage-devel+unsubscribe@googlegroups.com
>> > For more options, visit this group at
>> > http://groups.google.com/group/sage-devel
>> > URL: http://www.sagemath.org
>> >
>>
>> --
>> To post to this group, send an email to sage-devel@googlegroups.com
>> To unsubscribe from this group, send an email to
>> sage-devel+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/sage-devel
>> URL: http://www.sagemath.org
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] buildslave 'hawk' will be going offline for a few hours at least.

Having suffered computer damage due to lightning twice now (once a couple of
years ago, more recently a couple of weeks ago), I have decided to disconnect my
computer hardware from the Internet during expected lightning storms. Such a
storm is expected here soon, so I will disconnect the build slave hawk for at
least 8 hours.

Sorry for the inconvenience, but a couple of years ago I lost a lot of computer
hardware, and more recently an ADSL modem.

I've now found our our telephone provider has disconnected the earth connection
from my telegraph poll. Why I will never know, but I suspect that has
contributed to the lightning damage I have suffered in the past. Hence I'm
taking no chances now.

Dave
--
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Re: [sage-devel] patchbot down?

It seems to have frozen again.  Is there a way other people could restart it?
David

On Fri, Jun 24, 2011 at 10:30, Robert Bradshaw <robertwb@math.washington.edu> wrote:
It often hangs when trying to scrape trac.sagemath.org. I've restarted
it. (If you have any tickets you're interested in, visit their pages
to make sure it has up-to-date information).

On Fri, Jun 24, 2011 at 3:07 AM, David Roe <roed@math.harvard.edu> wrote:
> Yes, I was having a similar problem last night.
> David
>
> On Fri, Jun 24, 2011 at 11:43, Maarten Derickx <m.derickx.student@gmail.com>
> wrote:
>>
>> It seems that I can't reach it anymore by going
>> to http://sage.math.washington.edu:21100/
>> Do other people have the same problem
>>
>> --
>> To post to this group, send an email to sage-devel@googlegroups.com
>> To unsubscribe from this group, send an email to
>> sage-devel+unsubscribe@googlegroups.com
>> For more options, visit this group at
>> http://groups.google.com/group/sage-devel
>> URL: http://www.sagemath.org
>
> --
> To post to this group, send an email to sage-devel@googlegroups.com
> To unsubscribe from this group, send an email to
> sage-devel+unsubscribe@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/sage-devel
> URL: http://www.sagemath.org
>

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Sage Compile Error on LMDE x64

The whole log is here:

http://dl.dropbox.com/u/6726175/install.log

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

[sage-devel] Re: Sage Compile Error on LMDE x64

Okay...

building 'crypt' extension
gcc -pthread -fPIC -fno-strict-aliasing -g -O2 -DNDEBUG -g -O3 -Wall -
Wstrict-prototypes -I. -I/home/roman/Software/sage-4.7/spkg/build/
python-2.6.4.p11/src/./Include -I. -IInclude -I./Include -I/home/roman/
Software/sage-4.7/local/include -I/usr/local/include -I/home/roman/
Software/sage-4.7/spkg/build/python-2.6.4.p11/src/Include -I/home/
roman/Software/sage-4.7/spkg/build/python-2.6.4.p11/src -c /home/roman/
Software/sage-4.7/spkg/build/python-2.6.4.p11/src/Modules/
cryptmodule.c -o build/temp.linux-x86_64-2.6/home/roman/Software/
sage-4.7/spkg/build/python-2.6.4.p11/src/Modules/cryptmodule.o
gcc -pthread -shared -L/home/roman/Software/sage-4.7/local/lib -I. -
IInclude -I./Include -I/home/roman/Software/sage-4.7/local/include
build/temp.linux-x86_64-2.6/home/roman/Software/sage-4.7/spkg/build/
python-2.6.4.p11/src/Modules/cryptmodule.o -L/home/roman/Software/
sage-4.7/local/lib -L/usr/local/lib -L. -lpython2.6 -o build/lib.linux-
x86_64-2.6/crypt.so
*** WARNING: renaming "crypt" since importing it failed: build/
lib.linux-x86_64-2.6/crypt.so: undefined symbol: crypt
building '_csv' extension


The other weird thing is that I get the following permission denied:


make[1]: Entering directory `/home/roman/Software/sage-4.7/spkg'
/home/roman/Software/sage-4.7/spkg/pipestatus "sage-spkg $
{SAGE_SPKG_OPTS} python-2.6.4.p11 2>&1" "tee -a /home/roman/Software/
sage-4.7/spkg/logs/python-2.6.4.p11.log"
Warning: Attempted to overwrite SAGE_ROOT environment variable
python-2.6.4.p11
Machine:
Linux lmde64 2.6.38-2-amd64 #1 SMP Thu Apr 7 04:28:07 UTC 2011 x86_64
GNU/Linux
Deleting directories from past builds of previous/current versions of
python-2.6.4.p11
rm: cannot remove `python-2.6.4.p10/.hg': Permission denied
rm: cannot remove `python-2.6.4.p10/src/Makefile.pre.in': Permission
denied
rm: cannot remove `python-2.6.4.p10/src/Objects/floatobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/boolobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/codeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/funcobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/abstract.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/tupleobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/boolobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/unicodeobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/setobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/dictobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/stringobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/rangeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/methodobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/stringobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/bytearrayobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/exceptions.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/longobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/listsort.txt':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/fileobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/tupleobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/frameobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/unicodeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/iterobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/bufferobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/structseq.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/moduleobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/typeobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/genobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/weakrefobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/fileobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/floatobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/enumobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/enumobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/genobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/abstract.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/intobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/intobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/obmalloc.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/unicodectype.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/dictnotes.txt':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/classobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/rangeobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/bytearrayobject.c':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/typeobject.o':
Permission denied
rm: cannot remove `python-2.6.4.p10/src/Objects/listobject.c':
Permission denied
... etc


what is going on here?


On Jun 27, 9:19 am, Dima Pasechnik <dimp...@gmail.com> wrote:
> On Jun 26, 10:17 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
> > I basically swapped the python-2.6.4.p11.spkg file in /sage-4.7/spkg/
> > standard with the patched one and got the same error.
> > Am I doing something wrong?
>
> hmm, hard to say.
> IMHO, you need to post the truly relevant part of install.log, where
> the
> attempt to build the crypt module is being made.
> (what you posted just says that it has failed, for a reason we can
> only guess)
>
>
>
>
>
>
>
>
>
> > On Jun 26, 12:08 pm, Dima Pasechnik <dimp...@gmail.com> wrote:
>
> > > On Jun 25, 10:20 pm, Roman Sinayev <lqd...@gmail.com> wrote:
>
> > > > I have that package installed already =/
>
> > > you probably need to install the patches onhttp://trac.sagemath.org/sage_trac/ticket/11447
>
> > > > On Jun 25, 4:26 pm, Volker Braun <vbraun.n...@gmail.com> wrote:
>
> > > > > I haven't encountered that myself but I think you need openssl development
> > > > > packages installed. Might be called libssl-dev in debian.

--
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to sage-devel+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org