[sage-devel] Re: multi_polynomial_element add/sub slower than mul?!?

2007-05-03 Thread Oliver Wienand (TU Kaiserslautern, Singular Team)

I am a member of the Singular group and working on standard bases over
rings. Therefore as a test case we have implemented standard bases for
Z/2^n[x_1,...x_k] and the corresponding polynomial arithmetic.


As we plan to allow this computations for Z/n[x_1,...,x_k], we will
implement corresponding polynomial arithmetic. If this is of interest
for you, I can bring forward this implementation in the schedule. It
is not really difficult, as Z/2^n is present. The minor points are
handling division, gcd and lcm. At the moment, we allow division by
zero divisors, if possible, even if it may not be unique.

... Oliver Wienand


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE-2.5 alpha 2

2007-05-03 Thread mabshoff


William Stein wrote:
 Hi,

 I've posted sage-2.5 alpha 2 at


Did I miss alpha 1 or did you not announce it publically?

 I haven't tried building on cygwin yet.  Feedback welcome.


I am currently building on cygwin. It is still building, but I need
the following two patches:

http://fsmath.mathematik.uni-dortmund.de/~mabshoff/patches/sage-2.5.0-alpha2-fix-gdmodule-on-cygwin.patch

This one fixes the detection code in spkg-install for cygwin and also
adds fontconfig to the lists of libraries for cygwin.

http://fsmath.mathematik.uni-dortmund.de/~mabshoff/patches/sage-2.5.0-alpha2-fix-sqlite-on-cygwin.patch

Uncomments two lines in Makefile.in - I didn't test that one on other
platforms, but it should work. This way we avoid building sqlite3.c,
which is only needed for tcl (which we disable anyway)

I will update you once I am done with the tests or run into another
problem that I cannot fix.

Cheers,

Michael


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE-2.5 alpha 2

2007-05-03 Thread Joel B. Mohler

Alpha 2 builds fine on x86 Gentoo, but it has a whole bunch of make test 
errors.  
The entire list of files is below.  The ones I reran and looked at individually 
all seem to be related to singular.  I know basically nothing about interacting 
with singular aside from through sage so I don't really know how to debug any 
further than a cursory inspection.

--
Joel

The following tests failed:
sage -t  devel/sage-main/sage/ext/interactive_constructors_c.pyx
sage -t  devel/sage-main/sage/interfaces/singular.py
sage -t  devel/sage-main/sage/interfaces/gap.py
sage -t  devel/sage-main/sage/libs/cf/cf.pyx
sage -t  devel/sage-main/sage/rings/homset.py
sage -t  devel/sage-main/sage/rings/quotient_ring.py
sage -t  devel/sage-main/sage/rings/quotient_ring_element.py
sage -t  devel/sage-main/sage/rings/multi_polynomial_ideal.py
sage -t  devel/sage-main/sage/rings/morphism.py
sage -t  devel/sage-main/sage/rings/polynomial_singular_interface.py
sage -t  devel/sage-main/sage/rings/power_series_ring_element.pyx
sage -t  devel/sage-main/sage/rings/multi_polynomial_libsingular.pyx
sage -t  devel/sage-main/sage/rings/groebner_fan.py
sage -t  devel/sage-main/sage/rings/ring.pyx
sage -t  devel/sage-main/sage/schemes/generic/algebraic_scheme.py
sage -t  devel/sage-main/sage/schemes/generic/affine_space.py
sage -t  devel/sage-main/sage/schemes/generic/morphism.py
sage -t  devel/sage-main/sage/schemes/generic/divisor.py
sage -t  devel/sage-main/sage/schemes/generic/projective_space.py
sage -t  devel/sage-main/sage/schemes/plane_curves/projective_curve.py
sage -t  devel/sage-main/sage/schemes/plane_curves/curve.py
sage -t  devel/sage-main/sage/schemes/plane_curves/affine_curve.py
sage -t  devel/sage-main/sage/schemes/plane_curves/constructor.py
sage -t  devel/sage-main/sage/structure/element.pyx
sage -t  devel/sage-main/sage/calculus/calculus.py
sage -t  devel/sage-main/sage/functions/functions.py
sage -t  devel/sage-main/sage/functions/constants.py
Total time for all tests: 1431.5 seconds

On Wed, May 02, 2007 at 08:19:15PM -0700, William Stein wrote:
 
 Hi,
 
 I've posted sage-2.5 alpha 2 at
 
 http://sage.math.washington.edu/home/was/sage2.5/
 
 as
 
 http://sage.math.washington.edu/home/was/sage2.5/sage-2.5.alpha2.tar
 
 Please build it, and if that works do make test, and report what
 happens to sage-devel.
 Thanks!
 
 The plan is to release sage-2.5 on Friday night, if possible.  The
 main thing to do
 before then is lots of build testing and doc testing.
 
 NOTE: I think it fails to build on PowerPC OSX -- if you have such a machine,
 please try to build and report back, and if you're Justin Walker try to fix
 the problem :-).
 
 I haven't tried building on cygwin yet.  Feedback welcome.
 
 -- 
 William Stein
 Associate Professor of Mathematics
 University of Washington
 http://www.williamstein.org
 
 

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE-2.5 alpha 2

2007-05-03 Thread Joel B. Mohler

On Thu, May 03, 2007 at 11:33:03AM -0400, Joel B. Mohler wrote:
 
 Alpha 2 builds fine on x86 Gentoo, but it has a whole bunch of make test 
 errors.  
 The entire list of files is below.  The ones I reran and looked at 
 individually 
 all seem to be related to singular.  I know basically nothing about 
 interacting 
 with singular aside from through sage so I don't really know how to debug any 
 further than a cursory inspection.

To reply to myself, I just tried to run 'singular' from the bash prompt, and it 
just sits.  I get no singular prompt (as I might expect).  Ctrl+C gets me a 
bash 
prompt again, but I get no output from singular whatsoever.  Like I said, I'm 
clueless about singular so if someone wants to wants to clue me in about 
something else to check, I'm willing.

--
Joel

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage download stats

2007-05-03 Thread William Stein

On 5/3/07, Hamptonio [EMAIL PROTECTED] wrote:
 I gave a talk to my department about SAGE on April 19th.  I know at
 least a few people downloaded it here after that.

Thanks!

 I had some explicit interest from our statistics folks on getting R
 incorporated.  I tried to install R and rpy on my mac pro (i.e. intel
 os X) and had the same problems I had on an os X ppc - some sort of
 linking problem.  I will continue to try.

Thanks!  Report anything here.

 I was also asked if SAGE had linear programming functions.  I know
 that there is one included with cddlib, which is added as part of
 polymake - is there another that is easier to use?

No, there's nothing that is easy to use yet, that I'm aware of.
It would be if either somebody made a SageX interface to
cddlib, or investigated other options (e.g., does GSL do
anything?).

 -Marshall Hampton

 On May 1, 11:36 pm, William Stein [EMAIL PROTECTED] wrote:
  By the way, here are some download stats for SAGE fromwww.sagemath.org(the
  master site).  These measure only the *unique* IP addresses that actually
  downloaded the indicated item in the given period (see below).
 
  Summary: The total number of downloads during April 2007 was 829,
  divided up as follows:
   Window/Cygwin Binary: 208   (!!)
   Source: 203
   Linux Binary: 174
   VMware:  145
   OS X Binary: 99
 
  Regarding the mailing lists:
   sage-devel has 128 members; there were 401 posts in March and 286 in 
  April.
   sage-forum has 106 members
   sage-support has 88 members
 
  
 
  Here are some more refined recent download statistics by date:
 
  The last 2.5 days:
  Windows Binary  (this is the Cygwin version)
  41
  Linux Binary
  31
  OS X Binary
  35
  Source
  20
  VMware
  22
 
  The week starting April 22:
  Windows Binary
  30
  Linux Binary
  31
  OS X Binary
  15
  Source
  41
  VMware
  25
 
  The week starting April 15:
  Windows Binary
  37
  Linux Binary
  42
  OS X Binary
  15
  Source
  49
  VMware
  28
 
  The week starting April 8:
  Windows Binary
  49
  Linux Binary
  31
  OS X Binary
  11
  Source
  47
  VMware
  30
 
  The week starting April 1:
  Windows Binary
  51
  Linux Binary
  39
  OS X Binary
  23
  Source
  46
  VMware
  40
 
  
 
  I created these using this shell script.
 
  echo Windows Binary
  zgrep sage.*tar.gz H $1 | grep -i windows | awk '{ print $1 }' |sort
  |uniq|wc -l
  echo Linux Binary
  zgrep sage.*tar.gz H $1 | grep -i linux | awk '{ print $1 }' |sort 
  |uniq|wc -l
  echo OS X Binary
  zgrep sage.*tar.gz H $1 | grep -i osx | awk '{ print $1 }' |sort |uniq|wc 
  -l
  echo Source
  zgrep sage.*tar H $1 | awk '{ print $1 }' |sort |uniq|wc -l
  echo VMware
 
  --
  William Stein
  Associate Professor of Mathematics
  University of Washingtonhttp://www.williamstein.org


 



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: multi_polynomial_element add/sub slower than mul?!?

2007-05-03 Thread Oliver Wienand (TU Kaiserslautern, Singular Team)

Okay, I looked into the issue. In the top version from Singular of the
repository now has a not yet fully tested polynomial arithmetic for Z/
n with the following functions:

1) +, -, * of polynomials and numbers
2) where possible / and inverses of numbers (polynomials by monomials
just a matter of a few adaptions)
(div by zero divisors is allowed, as long as possible)
3) gcd, lcm of numbers (in Z/n)

Uses the same API as arithmetic for polynomials over fields. If
somebody has access to the repository version, you need to compile
Singular with

#define HAVE_RING2TOM
#define HAVE_RINGMODN

in mod2.h. You can use the new coefficients with:

ring r = (modnat, 200), x, dp;
== Z/200[x]
or
ring r = (modpow, 2, 13), x, dp;
== Z/2^13[x]

... Oliver


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: sage download stats

2007-05-03 Thread mabshoff



On May 2, 6:36 am, William Stein [EMAIL PROTECTED] wrote:
 By the way, here are some download stats for SAGE fromwww.sagemath.org(the
 master site).  These measure only the *unique* IP addresses that actually
 downloaded the indicated item in the given period (see below).

 Summary: The total number of downloads during April 2007 was 829,
 divided up as follows:
  Window/Cygwin Binary: 208   (!!)
  Source: 203
  Linux Binary: 174
  VMware:  145
  OS X Binary: 99

SNIP

I am quite curious about this week's download statistics. The day
after the sage link did show up on that slashdot story I had ~40
downloads of binary sage which was roughly double the number of binary
downloads for the whole last month from the cocoa.mathematik mirror.
Of those 36 were for cygwin, which I would not expect from the
slashdot crowd. Maybe somebody should submit the release announcement
for sage 2.5 to digg and slashdot once the release has been made.

Cheers,

Michael


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



[sage-devel] Re: multi_polynomial_element add/sub slower than mul?!?

2007-05-03 Thread Nick Alexander

Oliver Wienand (TU Kaiserslautern, Singular Team)
[EMAIL PROTECTED] writes:

 Okay, I looked into the issue. In the top version from Singular of the
 repository now has a not yet fully tested polynomial arithmetic for Z/
 n with the following functions:

Thank you, Singular Team!  I will use this in the somewhat-near future.

Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] 'sage -t' stops

2007-05-03 Thread Justin C. Walker

Hi,

I haven't seen a comment about this on the list, but maybe I missed it.

When I run sage -t, it comes to a halt early on, after spinning off  
'wish' and displaying a graph.  It seems that this window needs to be  
explicitly dismissed (closed) before sage continues.  It does this  
3-4 times before continuing without hand-holding.

Is this expected?

I'm running 2.5-alpha2.

Justin

--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: 'sage -t' stops

2007-05-03 Thread William Stein

On 5/3/07, Justin C. Walker [EMAIL PROTECTED] wrote:
 I haven't seen a comment about this on the list, but maybe I missed it.

 When I run sage -t, it comes to a halt early on, after spinning off
 'wish' and displaying a graph.  It seems that this window needs to be
 explicitly dismissed (closed) before sage continues.  It does this
 3-4 times before continuing without hand-holding.
 Is this expected?

This is definitely not expected.  Probably somebody put some
weird doctest in that I missed (I don't know how).
Which file has this doctest in it?

 I'm running 2.5-alpha2.

 Justin

 --
 Justin C. Walker, Curmudgeon-at-Large
 () The ASCII Ribbon Campaign
 /\ Help Cure HTML Email




 



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://www.williamstein.org

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



[sage-devel] Re: 'sage -t' stops

2007-05-03 Thread Justin C. Walker


On May 3, 2007, at 12:19 , William Stein wrote:


 On 5/3/07, Justin C. Walker [EMAIL PROTECTED] wrote:
 I haven't seen a comment about this on the list, but maybe I  
 missed it.

 When I run sage -t, it comes to a halt early on, after spinning off
 'wish' and displaying a graph.  It seems that this window needs to be
 explicitly dismissed (closed) before sage continues.  It does this
 3-4 times before continuing without hand-holding.
 Is this expected?

 This is definitely not expected.  Probably somebody put some
 weird doctest in that I missed (I don't know how).

May be that (e.g., if you tested on zippo) you weren't using a GUI,  
so the test might have worked differently.

 Which file has this doctest in it?

I've dismissed them all now, but it might have been in const/ 
const.tex.

While we're at it, why am I testing old_cygwin_stuff?  It fails :-}

And: now, I seem to be stuck in a standoff with maxima:  
sage.interfaces.maxima.tex hasn't moved in a while, and there's no  
CPU activity to speak of (on the MacBook Pro).  There is a maxima  
process extant (lisp.run), but showing no activity

Justin

--
Justin C. Walker, Curmudgeon at Large
Institute for the Absorption of Federal Funds
---
I'm beginning to like the cut of his jibberish.
---




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: 'sage -t' stops

2007-05-03 Thread William Stein

On 5/3/07, Justin C. Walker [EMAIL PROTECTED] wrote:
 On May 3, 2007, at 12:19 , William Stein wrote:
  On 5/3/07, Justin C. Walker [EMAIL PROTECTED] wrote:
  When I run sage -t, it comes to a halt early on, after spinning off
  'wish' and displaying a graph.  It seems that this window needs to be
  explicitly dismissed (closed) before sage continues.  It does this
  3-4 times before continuing without hand-holding.
  Is this expected?
 
  This is definitely not expected.  Probably somebody put some
  weird doctest in that I missed (I don't know how).

 May be that (e.g., if you tested on zippo) you weren't using a GUI,
 so the test might have worked differently.

  Which file has this doctest in it?

 I've dismissed them all now, but it might have been in const/
 const.tex.

Now I see the problem.  You should not do sage -t in SAGE_ROOT!
You should only do sage -t in SAGE_ROOT/devel/sage
and in SAGE_ROOT/devel/doc/tut.tex and SAGE_ROOT/devel/doc/const.tex.
The later two latex files could display some interactive graphics as
you describe.

The best thing to do is make test in SAGE_ROOT, which basically
just does sage -t in SAGE_ROOT/devel/sage, plus it (will) do some
dsage unit testing, and in the future other testing.


 While we're at it, why am I testing old_cygwin_stuff?  It fails :-}

 And: now, I seem to be stuck in a standoff with maxima:
 sage.interfaces.maxima.tex hasn't moved in a while, and there's no
 CPU activity to speak of (on the MacBook Pro).  There is a maxima
 process extant (lisp.run), but showing no activity

Stop testing every random thing under SAGE_ROOT. Just type
make test in SAGE_ROOT.

William

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: 'sage -t' stops

2007-05-03 Thread Justin C. Walker


On May 3, 2007, at 14:47 , William Stein wrote:


 On 5/3/07, Justin C. Walker [EMAIL PROTECTED] wrote:
 On May 3, 2007, at 12:19 , William Stein wrote:
 On 5/3/07, Justin C. Walker [EMAIL PROTECTED] wrote:
[snip]
 I've dismissed them all now, but it might have been in const/
 const.tex.

 Now I see the problem.  You should not do sage -t in SAGE_ROOT!
 You should only do sage -t in SAGE_ROOT/devel/sage
 and in SAGE_ROOT/devel/doc/tut.tex and SAGE_ROOT/devel/doc/const.tex.

D'oh!

That was a typo :-}  In the past, I've always used 'make test'.

Sheesh...

Justin

--
Justin C. Walker, Curmudgeon-at-Large
() The ASCII Ribbon Campaign
/\ Help Cure HTML Email




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: SAGE-2.5 alpha 2

2007-05-03 Thread Joel B. Mohler

On Thursday 03 May 2007 12:57, Martin Albrecht wrote:
 Got it. I kind of messed up in the Makefile.in such that LIB doesn't link
 to lib but to

  LIB -
 /tmp/sage-2.5.alpha2/spkg/build/singular-3-0-2-20070424/Singular/LIB

 . Also, the *.lib scripts didn't get installed.

  Maybe replacing install-nolns in the Makefile.in by:

 installslib-nolns: LIB
         test -d ${slibdir} || ${INSTALL} -d `pwd`/LIB ${slibdir}
         ${INSTALL} `pwd`/LIB/*.lib ${slibdir}
         ${MKINSTALLDIRS} ${slibdir}/gftables
         ${INSTALL} `pwd`/LIB/gftables/* ${slibdir}/gftables/

I'm not sure if I'm being thickheaded, but these directions didn't work for me 
and I was sufficiently confused about them that I couldn't debug them.

Here's what I did:
1)  REMOVED my install-nolns and replaced withthe installslib-nolns as above
2)  Rebuilt by running ./spkg-install in the singular build directory
3)  Received a make error about not having install-nolns
4)  I changed the spkg-install to reference the new installslib-nolns
5)  Got an error about not knowing how to make target LIB
6)  I wasn't sure if I should be making LIB manually or what

Maybe you have this all figured out and don't need me to debug (i.e. -- I'll 
happily be patient until a fixed alpha/beta comes out).  Let me know if there 
is something else I should be trying.

--
Joel

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
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://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---