[sage-devel] Re: 2.5.9alpha2: libsingular w/ cygwin compile failure
Oh well, I am an idiot. I added ../kernel/htmlhelp.lib for the missing help symbol and instead of "--export-symbol" I switched the flags to "--shared". That way the probelm with [EMAIL PROTECTED] goes away. In line 968 I uncommneted heOpenWinHtmlHelp(keyw,helppath); - so far I have been unable to find the location where it is defined. The symbol is present in Singular.exe, so there must be a way. Oliver, do you have a clue? There is also some work needed on Makefile.in because I did the work on the console. Here we go: [EMAIL PROTECTED] /sage-2.5.alpha2/spkg/build/ singular-3-0-2-20070424-2/Sin gular $ g++ -shared -o libsingular.so libsingular-tesths.o iparith.o mpsr _Tok.o claptmpl.o grammar.o scanner.o attrib.o eigenval_ip.o extra.o fehelp.o f eOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o lists.o sdb.o fgl m.o interpolation.o silink.o subexpr.o janet.o wrapper.o libparse.o gms.o pcv. o maps_ip.o walk.o walk_ip.o cntrlc.o misc.o Singular_res.o slInit_Static.o mp sr_Put.o mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o mps r_Error.o ndbm.o sing_dbm.o sing_win.o ../kernel/htmlhelp.lib -lkernel -L../ker nel -L../factory -L../libfac -L/sage-2.5.alpha2/local/lib -lsingfac - lsingcf -l ntl -lreadline -lgmp -lomalloc_ndebug ../kernel/mmalloc.o Info: resolving _rl_line_buffer by linking to __imp__rl_line_buffer (auto-import ) Info: resolving _rl_readline_name by linking to __imp__rl_readline_name (auto-im port) Info: resolving _rl_attempted_completion_function by linking to __imp__rl_attemp ted_completion_function (auto-import) Info: resolving _rl_outstream by linking to __imp__rl_outstream (auto- import) [EMAIL PROTECTED] /sage-2.5.alpha2/spkg/build/ singular-3-0-2-20070424-2/Sin gular $ ls -al *.so -rwxr-xr-x 1 Administrator Kein 3831242 May 5 01:06 libsingular.so 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: 2.5.9alpha2: libsingular w/ cygwin compile failure
Sorry to reply to myself so quickly, but check out http://curl.haxx.se/mail/archive-2003-01/0056.html Another interesting one is http://cygwin.com/ml/cygwin/2003-04/msg01686.html This indicates that the problem might be related to libtool :( Bye, 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] 2.5.9alpha2: libsingular w/ cygwin compile failure
Hello folks, there are two problems with singular in 2.5.0alpha2: The first one is that the current package is missing Singular/ Singular.rc.in despite William adding it a while back (from SAGE.txt): * 20070105 William Stein + included Singular/Singular.rc.in which was missing for some reason and is needed by the cygwin build. That is obviously fixed by trowing a copy in the spkg again ;) The next one occurs when attempting to link libsingular.so: g++ -export-dynamic -o libsingular.so \ libsingular-tesths.o iparith.o mpsr_Tok.o claptmpl.o \ grammar.o scanner.o attrib.o eigenval_ip.o extra.o fehelp.o feOpt.o ip assign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o lists.o sdb.o fglm.o interp olation.o silink.o subexpr.o janet.o wrapper.o libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o misc.o Singular_res.o slInit_Static.o mpsr _Put.o mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o mpsr_Er ror.o ndbm.o sing_dbm.o -lkernel -L../kernel -L../factory -L../libfac - L/sage-2. 5.alpha2/local/lib -lsingfac -lsingcf -lntl -lreadline -lgmp - lomalloc_ndebug .. /kernel/mmalloc.o sing_win.o:sing_win.cc:(.text+0x91): undefined reference to [EMAIL PROTECTED]' /usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../libcygwin.a(libcmain.o): (.text+0xab): undefined reference to [EMAIL PROTECTED]' Info: resolving _rl_line_buffer by linking to __imp__rl_line_buffer (auto-import ) Info: resolving _rl_readline_name by linking to __imp__rl_readline_name (auto-im port) Info: resolving _rl_attempted_completion_function by linking to __imp__rl_attemp ted_completion_function (auto-import) Info: resolving _rl_outstream by linking to __imp__rl_outstream (auto- import) collect2: ld returned 1 exit status make[3]: *** [libsingular] Error 1 make[3]: Leaving directory `/sage-2.5.alpha2/spkg/build/ singular-3-0-2-20070424/ Singular' make[2]: *** [libsingular] Error 2 make[2]: Leaving directory `/sage-2.5.alpha2/spkg/build/ singular-3-0-2-20070424' Unable to build Singular. The issues is "undefined reference to [EMAIL PROTECTED]'". To quote http://www.cryer.co.uk/brian/mswinswdev/msdev_lnk2001ueswm.htm : "The linker is looking for the entry point for a console application, but the application is being compiled and linked as a windows application (i.e. not a console application)." The issues on that webpage is related to MSVC, but also applies to gcc under cygwin. I read somewhere that Windows doesn'T look for main, but the linker renames that function for some idiotic reason (feel free to correct me) I am not quite sure how to fix this, maybe Martin has an answer once he is home again. I am going to bed now and hopefully the issues has been resolved in the morning. 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] latex output
When sage converts a long list to a latex string, it inserts '\\' as a separator. Is this desired behavior? In many tex situations this does nothing, and in other situations it causes problems. To me, it seems that the only situation where this behavior is desired is covered by EMBEDDED_MODE (whatever that is) which wraps the list with an array environment. If this is not the desired behavior, perhaps I will submit a patch to fix it, or else, since the change is just one line, perhaps I might just leave it by saying: Changing line 67 of sage/misc/latex.py (in function list_function(x)) from sep = ', \n' to sep = ', \n ' solves the problem, if this is indeed a problem. An example follows: sage: a = [1/2 for i in range(20)] sage: latex(a) \left[\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}, \\\frac{1}{2}\right] sage: sage.misc.latex.EMBEDDED_MODE=True sage: latex(a) \begin{array}{l}[\frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2},\\ \frac{1}{2}],\\ \end{array} sage: --~--~-~--~~~---~--~~ 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: FReeMat
On May 1, 2007, at 21:25 , William Stein wrote: > This GPL'd program called FreeMAT was mentioned in the recent > slashdot thing > on Mathematica 6.0: At first blush, the app is in its early stages, and the developer(s) seem to have given much weight to infrastructure: there are basics for doing calculator-style operations, some debugging support, documentation support, all 'integrated' with a GUI (platform- specific). This part seems solid and well-designed. There seems to be little "domain-specific" support, but a lot of built-in functions, support for simple data types (arrays, matrices, ints, reals, chars, strings), and function declarations. I have not spent much time with this, but on the face of it, I'm not sure that as it is, there is much here for SAGE: it has its own interpreter, its unclear how it performs, and I can't tell the extent to which you can add to the system from scripts (e.g., define new operations or new data types). It appears that scripts are interpreted, not 'compiled', but I didn't spend much time on it. The GUI for Mac OS X (which seems homegrown, and similar to that for the other platforms) seems nice. You get a main window for entering expressions, an editor window to create 'scripts' (.m files); and documentation windows with index/search/TOC tabs. It seems well done. Perhaps there is something to be learned from the approach, particularly the GUI. For math content, it's pretty light, but if it catches on, or if the developer(s) have a lot of energy, that can change. Justin -- Justin C. Walker, Curmudgeon-At-Large Institute for the Absorption of Federal Funds Men are from Earth. Women are from Earth. Deal with it. --~--~-~--~~~---~--~~ 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?!?
"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: Hi Oliver, Where is the Singular repo? I can't find a CVS head anywhere on the site. Is it private? (gasp!) 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] Re: FReeMat
Here is a very short review. In the documentation, it is warned that building from source is rather difficult due to "esoteric dependencies". It is written in C++, pretty well commented. It is very much like IDL and matlab. From a very quick look, it seems the strengths are numerical linear algebra and visualization. I am not sure there is much functionality that is not included already in numpy, scipy, and matplotlib, although it is well integrated. It looks like support for MPI is being added, but the documentation hasn't been written yet. The documentation is quite good, hundreds of pages. I get the sense that this is currently written almost entirely by one person, Samit Basu. There is a Google group for freemat, and he/she seems to respond pretty well to requests. I guess that's all my impressions. Marshall Hampton On May 1, 11:25 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Hi, > > This GPL'd program called FreeMAT was mentioned in the recent slashdot thing > on Mathematica 6.0: > >http://freemat.sourceforge.net/wiki/index.php/Main_Page > > If anybody feels like trawling their site, trying out their program, > etc., to check > to see if FreeMat might have anything to offer SAGE, some sort of report to > sage-devel would be very much welcome. > > -- > William Stein > Associate Professor of Mathematics > University of Washingtonhttp://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 -- morphisms between curves
On 5/4/07, Nick Alexander <[EMAIL PROTECTED]> wrote: > Hello William, > > I can't figure out how to create maps between curves. For example, > I'd really like to be able to write a Frobenius morphism for an EC. > Or I'd like to hand-write an isogeny E -> E_1. Could you help me > create a map of curves in SAGE defined by polynomial equations? That's not implemented yet. Would anybody be interested in helping to implement morphisms of elliptic curves? Or, even just making a few random remarks about what to do and not do when implementing morphisms between elliptic curves. 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: Fwd: SAGE
On May 4, 5:31 pm, "William Stein" <[EMAIL PROTECTED]> wrote: > Michael, > > When we create the SAGE windows installer, keep this email in mind > as our "target audience". :-) > Oh well, just using zips would probably solve that problem. How dare you to use something else than zip ;) I am quite sure that I will not mention my personal EMail-address in the installer, otherwise I would have to bounce all email regarding the installer to sage-support. This following email is probably the wrong incentive to get me to work, maybe it is time to develop amnesia :) > -- Forwarded message -- > From: Jenny > Date: May 4, 2007 1:14 AM > Subject: SAGE > To: [EMAIL PROTECTED] > > Hi there! > > I've just downloaded the sage software for Windows (I'm using XP), and > I have a problem in that I can't find the install file. I have version > 2.4.1.2 and I have 18M file that's listed above it. > Which 18MB file? The tar.gz for cygwin is roughly 155MB in size. > Really, I have no idea what I'm doing. > > Cheers, > > Jenny I used to work in a small computer support shop doing mostly small business support on everything from Netware 3.x to Windows NT 4 (it has been a while) and I could tell you quite a number of stories ... but that would get me way OT and I tend to rant about that topic. 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: [Fwd: [Maxima] announcement: Maxima 5.12.0 release]
Thanks. Maxima-5.12.0 will be in SAGE-2.5 (I just packaged it up for SAGE last night.). Also, you should probably be able to do a sage -i maxima-5.12.0 and test it out right now. It has numerous new features and bug fixes... William On 5/4/07, Jaap Spies <[EMAIL PROTECTED]> wrote: > > > > Original Message > Subject: [Maxima] announcement: Maxima 5.12.0 release > Date: Thu, 3 May 2007 19:45:21 -0600 > From: Robert Dodier <[EMAIL PROTECTED]> > To: Maxima Mailing List <[EMAIL PROTECTED]> > > Please redistribute this notice as you see fit. > Robert Dodier > > > Announcing Maxima 5.12.0 > > Maxima is a GPL'd branch of Macsyma, the venerable symbolic > computation system. Maxima 5.12.0 is a bug fix and feature > enhancement release. > > Maxima has functions to work with polynomials, matrices, finite sets, > integrals, derivatives and differential equations, linear algebra, > plotting, arbitrary-precision arithmetic, etc. > > Maxima can run on MS Windows and various flavors of Unix, > including MacOS X. > There is a precompiled executable installer for Windows, > source and binary RPM's for Linux, and tar.gz containing > the source distribution. > > Maxima is implemented in Common Lisp; several Lisps can compile > and run Maxima, including CMUCL, SBCL, Clisp, and GCL. > > The Maxima project welcomes new participants. You can contribute > in several ways: reporting bugs, fixing bugs, writing new add-on > packages, revising core functions, user interfaces, documentation, > Why not see what's happening on the mailing list and consider how > you might contribute to the project. > > Regards, > Robert Dodier > Maxima developer and 5.12.0 release manager > > Project page: > http://sourceforge.net/projects/maxima > > Documentation: > http://maxima.sourceforge.net/docs.shtml > > Bug reports. Please create a Sourceforge login > before filing a bug report. > http://sourceforge.net/tracker/?group_id=4933&atid=104933 > > Mailing list. Please sign up before posting a message. > http://maxima.sourceforge.net/maximalist.html > > Download page: > http://sourceforge.net/project/showfiles.php?group_id=4933 > > Ports page: > http://maxima.sourceforge.net/wiki/index.php/Maxima%20ports > > Project home page: > http://maxima.sourceforge.net > > Change log: > http://maxima.cvs.sourceforge.net/*checkout*/maxima/maxima/ChangeLog-5.12.0 > > Short change log: > > * New lapack package (BLAS and LAPACK functions) > > * Bug fixes and enhancements to plotting code > > * Bug fixes and enhancements to Xmaxima user interface > > * Revise Maxima reference manual (all languages) > > * Some new add-on packages > > * Several minor improvements > > * Many bug fixes > ___ > Maxima mailing list > [EMAIL PROTECTED] > http://www.math.utexas.edu/mailman/listinfo/maxima > > > > > > -- 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] Fwd: SAGE
Michael, When we create the SAGE windows installer, keep this email in mind as our "target audience". :-) -- Forwarded message -- From: Jenny Date: May 4, 2007 1:14 AM Subject: SAGE To: [EMAIL PROTECTED] Hi there! I've just downloaded the sage software for Windows (I'm using XP), and I have a problem in that I can't find the install file. I have version 2.4.1.2 and I have 18M file that's listed above it. Really, I have no idea what I'm doing. Cheers, Jenny --~--~-~--~~~---~--~~ 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] [Fwd: [Maxima] announcement: Maxima 5.12.0 release]
Original Message Subject: [Maxima] announcement: Maxima 5.12.0 release Date: Thu, 3 May 2007 19:45:21 -0600 From: Robert Dodier <[EMAIL PROTECTED]> To: Maxima Mailing List <[EMAIL PROTECTED]> Please redistribute this notice as you see fit. Robert Dodier Announcing Maxima 5.12.0 Maxima is a GPL'd branch of Macsyma, the venerable symbolic computation system. Maxima 5.12.0 is a bug fix and feature enhancement release. Maxima has functions to work with polynomials, matrices, finite sets, integrals, derivatives and differential equations, linear algebra, plotting, arbitrary-precision arithmetic, etc. Maxima can run on MS Windows and various flavors of Unix, including MacOS X. There is a precompiled executable installer for Windows, source and binary RPM's for Linux, and tar.gz containing the source distribution. Maxima is implemented in Common Lisp; several Lisps can compile and run Maxima, including CMUCL, SBCL, Clisp, and GCL. The Maxima project welcomes new participants. You can contribute in several ways: reporting bugs, fixing bugs, writing new add-on packages, revising core functions, user interfaces, documentation, Why not see what's happening on the mailing list and consider how you might contribute to the project. Regards, Robert Dodier Maxima developer and 5.12.0 release manager Project page: http://sourceforge.net/projects/maxima Documentation: http://maxima.sourceforge.net/docs.shtml Bug reports. Please create a Sourceforge login before filing a bug report. http://sourceforge.net/tracker/?group_id=4933&atid=104933 Mailing list. Please sign up before posting a message. http://maxima.sourceforge.net/maximalist.html Download page: http://sourceforge.net/project/showfiles.php?group_id=4933 Ports page: http://maxima.sourceforge.net/wiki/index.php/Maxima%20ports Project home page: http://maxima.sourceforge.net Change log: http://maxima.cvs.sourceforge.net/*checkout*/maxima/maxima/ChangeLog-5.12.0 Short change log: * New lapack package (BLAS and LAPACK functions) * Bug fixes and enhancements to plotting code * Bug fixes and enhancements to Xmaxima user interface * Revise Maxima reference manual (all languages) * Some new add-on packages * Several minor improvements * Many bug fixes ___ Maxima mailing list [EMAIL PROTECTED] http://www.math.utexas.edu/mailman/listinfo/maxima --~--~-~--~~~---~--~~ 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
> > ifeq ($(SINGUNAME),ppcMac-darwin) > > SO_SUFFIX= dylib > > LIBSINGULAR_FLAGS = -singule_module > > LIBSINGULAR_LD = $(LD) > > endif > > It's often A Bad Idea to invoke 'ld' directly on Mac OS X: the rules > are pretty snarky. Is this the way it comes from the factory? It is definitely my fault - if there is any. The SINGULAR people are not to blame for any build issues. But actually libtool is invoked, is that the way to go? Martin -- name: Martin Albrecht _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 _www: http://www.informatik.uni-bremen.de/~malb _jab: [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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/ -~--~~~~--~~--~--~---