Le 04/07/2013 19:07, Andrey Novoseltsev a écrit :
On Thursday, 4 July 2013 10:44:40 UTC-6, Snark wrote:
Le 04/07/2013 17:04, Andrey Novoseltsev a �crit :
> Regarding PALP breaking or not - it has different speed and
capabilities
> depending on compile-time limits. Sage package actually compiles
several
> versions of it and adds maximum dimension to executable file
names. It
> is probably quite incompatible with what any distribution does.
I know. But testing deliberately compiling something with a
parameter in
one place (the palp spkg) and testing that it breaks at parameter+1 in
another place (the sage lib) is just weird: what is the point!?
To document this behaviour, show a workaround and make sure that using
PALP compiled for different dimensions works?
I don't find the comments enlightening...
It is not OK to just use
system PALP compiled for dimension 11 or whatever always, e.g. Hodge
number computations will not work in any version but for top dimension
4.
Ah. That is very interesting for two reasons:
(1) My debian package only ships the dimension 11-enabled executables ;
and my pruner script just symlinks for the other versions (it really is
a big hack...), so what you say means I should definitely modify my
package to give the various versions.
(2) The current doctests detect that the default executable is compiled
with a higher POLY_Dmax, but do not detect that the executables return
wrong results below, so what you say means sage's doctesting should
definitely be improved too!
Maybe it is not quite clear from doctests, but it is really nice that
Sage this ability of quickly choosing which dimension you need, I
definitely used it and Volker too, I imagine, since he implemented this
in spkg.
I'll work on a better debian palp package when I'll have more time (next
week probably).
Snark on #sagemath
--
You received this message because you are subscribed to the Google Groups
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/groups/opt_out.