[sage-support] Re: sage with tkinter (or some graphics backend?) on Mac OS X

2009-05-22 Thread mabshoff



On May 22, 7:30 am, Adam keflav...@gmail.com wrote:

Hi Adam,

 Thanks Michael.  I've tried doing as you said, but still no luck.

 export SAGE_MATPLOTLIB_GUI=yes
 ./sage -f python-2.5.2.p9 matplotlib-0.98.5.3rc0-svn6910.p3

 but I get the same error.  Any idea what else I should try?

See http://trac.sagemath.org/sage_trac/ticket/4970 - I still have to
touch the python.spkg for 4.0, so I might find time to integrate the
fix. No promises, but a reminder in a couple days might help ;)

 Thanks,
 Adam

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage with tkinter (or some graphics backend?) on Mac OS X

2009-05-20 Thread mabshoff



On May 20, 7:48 pm, Adam keflav...@gmail.com wrote:
 The problem is that I can't import pylab because _tkinter isn't
 recognized:
 sage: import pylab
 lots of stuff chopped out
 ImportError: No module named _tkinter

 Adam

We disable the tk backend in MPL on all platforms. To work around this
set

  SAGE_MATPLOTLIB_GUI

to something not no in the shell and force a rebuild of the
matplotlib.spkg.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Error on CentOS

2009-05-18 Thread mabshoff



On May 18, 4:16 am, Kylin kylin...@gmail.com wrote:

Hi,

 When try to run the downloaded binary sage-3.4.2-linux-
 CentOS_release_5.2_Final-sse2-i686-Linux by typing:

 ./sage

 in the unzipped folder, I got such an error absulotepath2myhome/progs/
 tools/sage342/local/bin/sage-sage: line 198: 28179 Illegal
 instruction     sage-ipython $@ -i

 I am using CentOS 5.3 final.

 Could anyone help me solve this problem?

Run ./sage -gdb

It should fail and drop you to the gdb prompt:

(gdb)

Then punch in bt (no quotes) and you will see a backtrace. This
might exceed the length of the screen, so there might be another
prompt to continue. Copy and paste the backtrace. Then hit enter until
you get a prompt again.

enter disassemble $pc-32,$pc+32 and copy and paste the output.

To work around this for now you need to build from sources. The
problem is currently that MPIR contains advanced instructions (not
SSE2) that cause this problem and the issue will be resolved in
binaries for Sage 4.0 which ought to appear toward the end of the
week.

 Thanks!

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Building Sage 3.4.2 under Arch Linux, 32 bit intel atom

2009-05-18 Thread mabshoff



On May 18, 12:05 pm, prhlava prhl...@googlemail.com wrote:
 Hello,

Hi Vlad,

 The build of Sage 3.4.2 under Arch Linux 32 bit, running on intel atom
 fails with an errod (from install.log):

SNIP

 The gcc version is:

 gcc (GCC) 4.4.0

 I know that Arch Linux is not officialy supported

Well, we don't build binaries but I am happy to fix *any* problem you
might hit.

 but I have build
 Sage version 3.4.1 on this system a while back without a problem.

The issue is gcc 4.4.0, but that and all other gcc 4.4.0 specific
problems have been fixed in Sage 4.0.alpha0 available at

   
http://sage.math.washington.edu/home/mabshoff/release-cycles-4.0/sage-4.0.alpha0.tar

4.0.rc0 should happen tonight and the final 4.0 ought to be out before
the week is over. 4.0.a0 has some small issue that 4.0.rc0 will fix,
but I would run 4.0.a0 before running 3.4.2 anyway ;)

 Any ideas what to investigate next or how to fix it?

Just use 4.0.a0 or later ;)

 Kind regards,

 Vlad

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Building Sage 3.4.2 under Arch Linux, 32 bit intel atom

2009-05-18 Thread mabshoff



On May 18, 12:21 pm, prhlava prhl...@googlemail.com wrote:
 Hello Michael,

Hi Vlad,

 Thank you for the prompt reply,

No problem.

 snip

  The issue is gcc 4.4.0, but that and all other gcc 4.4.0 specific
  problems have been fixed in Sage 4.0.alpha0 available at

     http://sage.math.washington.edu/home/mabshoff/release-cycles-4.0/sage...

  4.0.rc0 should happen tonight and the final 4.0 ought to be out before
  the week is over. 4.0.a0 has some small issue that 4.0.rc0 will fix,
  but I would run 4.0.a0 before running 3.4.2 anyway ;)
  Just use 4.0.a0 or later ;)

 Cheers, I will wait for 4.0 and sorry for the noise ;-).

Cool. I hadn't known that Arch switched to gcc 4.4.0 a couple weeks
ago, i.e. right when it got released since I had fixes for all the gcc
4.4.0 issues in Sage 3.1.2, but I had been busy with other things. My
main motivation to finally merge all those fixes was that people
started complaining about Sage not working on FC 11-Beta, so it looks
like I merged them just in time ;)

Note that once gcc 4.5 matures a little more I will build Sage with it
and merge the patches early this time so this shouldn't happen again.

 Kind regards,

 Vlad

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Running sage from another computer on the network

2009-05-17 Thread mabshoff



On May 17, 1:24 pm, paul pmen...@gmail.com wrote:
 Ok, for those of you who saw my recent message about the illegal
 instruction ... I think I now know why that doesn't work. I think it
 is that the latest sse2-3.4.2 virtual machine does not support my
 processor (AMD Athlon 64 3000). I don't know why, since this cpu does
 support sse2, but perhaps one sse3 instruction is used somewhere and
 the Athlon does not support sse3, and thus it crashes.

No, the problem is not SSE3, but certain advanced instructions used in
MPIR. This will be fixed in Sage 4.0.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Simplification

2009-05-14 Thread mabshoff



On May 14, 3:57 am, Laurent moky.m...@gmail.com wrote:
 Hello

Hi Laurent,

 

 x,y=var('x,y')
 s = x*y2 + x*(-y2 - x2 + 1) + x3 - x
 print simplify(s)

 Answer :

                            2         2    2         3
                         x y  + x (- y  - x  + 1) + x  - x

 +

 I'm quite disappointed that Sage do not notice that s=0. Do I miss
 something ?
 Btw, the function simplify_full does not exist ... so I suppose that I
 *do* miss something.

Yes, it does exist for me :)

--
| Sage Version 3.4.2, Release Date: 2009-05-04   |
| Type notebook() for the GUI, and license() for information.|
--
sage: x,y=var('x,y')
sage: s = x*y^2 + x*(-y^2 - x^2 + 1) + x^3 - x; s
x*y^2 + x*(-y^2 - x^2 + 1) + x^3 - x
sage: s.simplify()
x*y^2 + x*(-y^2 - x^2 + 1) + x^3 - x
sage: s.simplify_full()
0


 My version is extracted from the tar.gz downloaded from the website :

 | Sage Version 3.4.1, Release Date: 2009-04-21                       |
 | Type notebook() for the GUI, and license() for information.        |
 --

 Should I install some additional proposed packages 
 ?http://www.sagemath.org/download-packages.html

 Thanks
 Laurent

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] (most) Sage 3.4.2 binaries posted

2009-05-14 Thread mabshoff

Hello folks,

most 3.4.2 binaries are up on sagemath.org and being mirrored out.
From the usual suspects some are still missing, i.e.

 * Fedora Core 10 32 bit
 * Atom
 * RHEL 5.2/SLES 10 Itanium
 * OSX 10.4 Intel

Most of the missing binaries will show up in the next 24 hours. We
also have some new ones that are not regularly posted:

 * Solaris 10/x86 (two trivial failures for long doctests)
 * Solaris 10/sparc (two trivial failures for long doctests)
 * OSX 10.5 MacIntel 64 bit (passes all long doctests)

Those three above have selected fixes from 4.0.a0 and all three
binaries should work and pass all doctests out of the box once Sage
4.0 is out early next week.

Let us know if you find any problem.

Cheers,

Michael


--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: matrix times variable

2009-05-13 Thread mabshoff



On May 13, 4:12 am, simon.k...@uni-jena.de wrote:
 Dear Laurent,

 please do not use an existing thread for asking a completely different
 question. Better open a new thread.

Yep. Also do not open a thread by replying to an email from sage-devel
by changing the subject since the Groups figure out what you replied
to.

 On May 13, 12:55 pm, Laurent moky.m...@gmail.com wrote:

  +++
  $ sage
  --
  | SAGE Version 3.0.5, Release Date: 2008-07-11                       |
  | Type notebook() for the GUI, and license() for information.        |
  --

 I am not an expert for the maxima interface, but I am sure that *much*
 happened with it since
 Sage-3.0.5. So, I would recommend that you upgrade to Sage-3.4.2 and
 try if the problem persists -- unless other people on that list have a
 better hint.

This is likely the version in the Ubuntu 9.04 repo. Maxima in that
release is *completely* broken - don't use that version. As Simon
suggested either upgrade to the binary provided by Sage or build from
source.

 Best regards,
      Simon

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage inside MediaWiki

2009-05-12 Thread mabshoff



On May 12, 3:05 pm, kilucas kevin.lu...@concave.co.uk wrote:
 On May 12, 8:39 pm, David Joyner wdjoy...@gmail.com wrote:

SNIP

 Conversely, I've also since spotted reference to MoinMoin within Sage.
 I've not yet explored what benefits this might confer but, once I
 know, I might then  be interested to know if I could easily replace
 MoinMoin by MediaWiki in that context too.

Sage doesn't work as an extension of MoinMoin, it just provides the
bits and pieces to run MoinMoin from within Sage. Sorry.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: dependency (libgd2-noxpm)

2009-05-10 Thread mabshoff



On May 10, 7:24 am, pepe balazovic.pe...@gmail.com wrote:
 Hello all,

Hi,

 I am trying to install sagemath-3.0.5dfsg (i386) from repository. I am
 running Kubuntu 9.04.
 I am getting dependency resolution failed and it directs me to
 remove libgd2-noxpm module. KPackageKit is not progressing in
 installation process due to this issue. Is there any workaround to
 install sagemath even I get this issue?

Sage packaged by Ubuntu is way out of date, so the recommended way at
the moment until Sage is updated in Debian experimental is to install
the Ubuntu binary from sagemath.org. We don't have 9.04 binries yet,
but we should have in a couple weeks.

 Regards,
 Peter

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Upgrading Sage Notebook

2009-05-08 Thread mabshoff



On May 8, 4:00 pm, William Stein wst...@gmail.com wrote:
 On Fri, May 8, 2009 at 11:55 AM, IanSR ijsto...@alumni.uwaterloo.ca wrote:

  How do I copy users from one sage Notebook to another Sage Notebook?

 Sage-4.0 will support download/upload all worksheets to a zip file
 functionality.

That patch was merged in Sage 3.4.2, but it is only active when the
creation of accounts is disabled.

  Once I have done this, can I just copy the worksheets directory over
  to get access to all the old worksheets?

  Ian

 --
 William Stein
 Associate Professor of Mathematics
 University of Washingtonhttp://wstein.org

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-07 Thread mabshoff



On May 7, 4:24 pm, Mike Hansen mhan...@gmail.com wrote:
 On Thu, May 7, 2009 at 4:15 PM, mabshoff

 michael.absh...@mathematik.uni-dortmund.de wrote:
  Thanks for dong this work so far.

  Did you ever figure out if libintl was now mandatory?

 Wasn't it libiconv?

Yep, just checked and you are right. But I did not check if 2.9
mandated it.

 --Mike

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: click on Sage icon to get terminal session

2009-05-04 Thread mabshoff



On May 4, 12:40 am, Minh Nguyen nguyenmi...@gmail.com wrote:
 Hi folks,

 I received the following question from my blog post at

 http://mvngu.wordpress.com/2009/03/22/clickable-mac-os-x-app-for-sage...

 I thought it's more appropriate as a sage-support question.

  I have built the dmg package as described. Everything is ok. When I double 
  click on
  sage icon opens the notebook. It is possible to click on sage icon and run 
  sage on Terminal?
  Thank you for your attention.

It isn't possible at the moment since we made the decision to start
the notebook per default. The script that creates the app bundle can
be changed to execute Sage in a terminal though.

Cheers,

Michael

 --
 Regards
 Minh Van Nguyen
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread mabshoff



On May 4, 2:16 am, chand sarat chandcsa...@gmail.com wrote:
 Dear All,

Hi,

 It is a fact that for a number of scientific packages, Ubuntu does offer
 fairly outdated packages:
 1. Current Sage package: 3.4.1 and the version offered by Ubuntu 9.04 is
 Sage 3.0.5.

Help is on the way: Debian experimental should soon have Sage 4.0.x -
see http://wiki.sagemath.org/debian/sage-4.0.x-in-experimental - that
won't help Ubuntu 9.04, but I seriously doubt that either Debian or
Ubuntu will ever ship the current stable Sage release.

We provide binaries, but not debs for various Debian and Ubuntu
releases. But I don't see them being integrated in any clean way into
the system, i.e. if we provide Ubuntu deb packages they would install
into /opt and not use anything from the system.

 2. Current Maxima package: 5.18. and the version offered by Ubuntu 9.04 is
 Maxima 5.13.

This isn't the problem of the Sage project and out of scope.

 3. Current Texlive package: 2008 and the version offered by Ubuntu 9.04 is
 Texlive 2007.

That is not our concern and has nothing to do with Sage.

 It seems to be that Canonical's key focus is to provide a set of up to date
 packages including office packages (openoffice.org), web browser (firefox)
 etc. while the up-tpdateness of scientific packages are more volunteer
 dependent.

Well, complain to the Ubuntu people :)

 In the case of Maxima, Istvan Blahota 
 (http://zeus.nyf.hu/~blahota/maxima/jaunty/) has compiled deb packages for
 Ubuntu 9.04 conforming to the the latest version of Maxima namely 5.18 for
 both i386 and amd64 architectures; moreover each of them has been compiled
 with both CLisp and SBCL.
 It would be great if someone from the Sage team can do the same for Ubuntu
 i.e. provide deb packages of the latest version of Sage for both i386 and
 amd64 architectures.

I would suggest you complain in the Maxima group to have them take a
stake into packaging current Maxima releases for Debian/Ubuntu. AFAIK
the Maxima maintainer for Debian isn't exactly underworked, so I am
sure he could use some help.

 Yours,
 C. Saratchand

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: outdated version of Sage in Ubuntu 9.04

2009-05-04 Thread mabshoff



On May 4, 2:51 am, ma...@mendelu.cz ma...@mendelu.cz wrote:
 On 4 Kvě, 11:29, mabshoff michael.absh...@mathematik.uni-dortmund.de
 wrote:

Hi,



  I would suggest you complain in the Maxima group to have them take a
  stake into packaging current Maxima releases for Debian/Ubuntu. AFAIK
  the Maxima maintainer for Debian isn't exactly underworked, so I am
  sure he could use some help.

 Hello, not related to Sage, but if I remember correctly, newer Maxima
 is in Debian Sid (compiled with GCL). This Sid version is slower than
 5.13 (with GCL also).

Do you have any idea why that is and how much slowdown there is? What
specifically is slower? Might this be due to the rather small RAM
footprint of the server?

The reason Sage did not upgrade to Maxima 5.17.x was due to various
new problems that cropped up in that Maxima release. I am not sure how
5.18.x fares, but AFAIK the current ecl release has test suite
failures due to disagreements about float behavior (according to the
emails I read on the Maxima list), but my memory could be wrong here.
In either case, if Maxima 5.18.1 does not pass its test suite with the
current ecl release Sage will not upgrade.

 New version can be compiled and installed using checkinstall also from
 sources easily (tested on debian with cmuml and clisp - again much
 slower than maxima 5.13 - tested on a very small server with 125 MB
 RAM)

 You can install this Sid package also into Lenny.

 see alsohttp://packages.debian.org/cs/sid/i386/maxima

 Robert

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-05-04 Thread mabshoff



On May 4, 10:11 am, Iwan Lappo-Danilewski ivanjazz...@gmail.com
wrote:
 Is there a chance that there will be executables that run on my work
 machine with the next release?

No, 3.4.2 won't have the fix, but 4.0 will in roughly two weeks.

 Or should I start compiling right now
 and maybe move to some SVN kind of thing?

I don't know what you mean? You can upgrade from sage release to sage
release, but there is no such thing as all the sources in some repo.
Various bits and pieces of Sage are under version control.

SNIP

 Program received signal SIGILL, Illegal instruction.
 [Switching to Thread 0xb7dd28d0 (LWP 9733)]
 0xb78e4542 in __gmpz_set_str ()
    from /home/ivan/aps/sage-3.4.1-linux-Ubuntu_8.10-sse2-i686-Linux/
 local/lib/libgmp.so.3
 Current language:  auto; currently asm
 (gdb)

Ok, you left out what I truly cared about, i.e. the output from

   disassemble $pc+32,$pc-32

I was already pretty sure that MPIR/GMP was the issue here. In Sage
4.0 we will build MPIR for generic P4 CPUs so that the problem you ran
into won't happen again.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: using len invokes bad division

2009-05-04 Thread mabshoff



On May 4, 11:01 am, Robert Bradshaw rober...@math.washington.edu
wrote:
 On May 4, 2009, at 10:53 AM, William Stein wrote:

SNIP

 Good point, I hadn't though about that. We could introduce a size()  
 or cardinality() method that returns an Integer, or possibly infinity.

Combinat already uses cardinality() since they need lists to be longer
than a C long or even infinity.

 - Robert

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problem with sage-vmware 3.4.1 on windows xp

2009-05-04 Thread mabshoff



On May 4, 12:49 pm, Alessandro Torre adessobastadavv...@gmail.com
wrote:
 Hi.Here is the requested output
 (http://groups.google.com/group/sage-support/browse_thread/thread/df50...
 )

 Good Work.
 Alessandro

Hi Alessandro,

in the subsequent email you disassembled the whole file. What I wanted
was the output from

   disassemble $pc+32,$pc-32

That will make it a lot less cumbersome to determine what the problem
is. You should also send that output inline and not attach small text
files to emails IMHO :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: installing binary of sage-3.4.1 OSX10.4 on G4

2009-05-04 Thread mabshoff



On May 4, 4:25 pm, gsw georgswe...@googlemail.com wrote:
 Hi all,

Hi Georg,

 after several attempts I was able to produce a Sage-3.4.1dmg the
 contents of which are drag-and-droppable, and the issue should not
 arise again (knock on wood) for future versions of Sage.

Well, since it always worked for me AFAIK I am curious what the
problem was.

  Sorry for
 that! I expect Sage 3.4.2 to be out before the end of the week, so you
 might want to wait for this one. I don't know if the re-made
 Sage-3.4.1dmg will make it to the official Sage download page,
 poke me if you need it.

3.4.2 is basically done and the last 3.4.2 tarball + the patch at
#5981 will be it unless we run into some other issue. I am about to
check all my build logs, so we ought to know shortly.

Just ping me if/when you have 10.4 binaries and I will at least
download and drag  drop them this time. Thanks for providing those
since we seem to be lacking 10.4 access, especially on G4 otherwise.

 Cheers,
 gsw

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-05-03 Thread mabshoff



On May 3, 12:28 am, simon.k...@uni-jena.de wrote:

Hi,

Is there any reason you opened a new ticket and did not use #5949 as
mentioned above?

 PS:

  One can then do
    sage: for p in primes(2,100):
    :     R.x,y,z = GF(p)[]
    sage: get_memory_usage()
    778.35546875

 And:
 sage: len(sage.rings.polynomial.polynomial_ring_constructor._cache)
 34

 Hence, indeed, some rings were garbage collected.

I am not sure this fixes the problem mentioned above, but I am still
testing. It might reduce the memory used already, but I won't know for
a while.

 Cheers,
       Simon

As is this patch breaks badly:

sage -t -long devel/sage/sage/rings/number_field/
number_field.py # Segfault
sage -t -long devel/sage/sage/rings/tests.py # Segfault
sage -t -long devel/sage/sage/rings/number_field/
number_field_rel.py # Segfault
sage -t -long devel/sage/sage/rings/number_field/
number_field_element.pyx # Segfault
sage -t -long devel/sage/sage/rings/residue_field.pyx #
Segfault
sage -t -long devel/sage/sage/rings/number_field/
number_field_ideal_rel.py # Segfault
sage -t -long devel/sage/sage/rings/number_field/morphism.py #
Segfault
sage -t -long devel/sage/sage/rings/polynomial/
polynomial_singular_interface.py # Segfault
sage -t -long devel/sage/sage/rings/number_field/unit_group.py
# Segfault
sage -t -long devel/sage/sage/rings/number_field/
small_primes_of_degree_one.py # Segfault
sage -t -long devel/sage/doc/en/bordeaux_2008/nf_orders.rst #
Segfault
sage -t -long devel/sage/sage/rings/number_field/maps.py #
Segfault
sage -t -long devel/sage/sage/schemes/generic/affine_space.py
# Segfault

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: installing binary of sage-3.4.1 OSX10.4 on G4

2009-05-03 Thread mabshoff



On May 3, 1:01 am, curious davidgal...@gmail.com wrote:

Hi David,

 Mea culpa maxima. The folder /sage/spkg in the .dmg (and its contents)
 are uncopyable.
 Keepers of the oracle, is something going to be done about this? The
 problem is not
 present with the intel version.

Interesting, thanks for tracking this down.

Georg: Since I believe you packaged this version: How could this have
gone wrong? Do you have an updated version that fixes this issue?

 David Galant

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-05-03 Thread mabshoff



On May 3, 1:20 am, Robert Bradshaw rober...@math.washington.edu
wrote:
 On May 3, 2009, at 1:04 AM, mabshoff wrote:

SNIP

  As is this patch breaks badly:

 Yep, see

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

 - Robert

Do you mean we need an analog fix? I have always been mistrustful of
weak references, especially in Cython, since they seem to involve hard
to debug Heisenbugs in the code :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: problem with sage-vmware 3.4.1 on windows xp

2009-05-03 Thread mabshoff



On May 3, 12:54 am, Alessandro Torre adessobastadavv...@gmail.com
wrote:
 On 2 Mag, 23:29, mabshoff michael.absh...@mathematik.uni-dortmund.de

SNIP

 So far no one has provided information to what is wrong, i.e. which
 instruction[s] in what library causes this, so I cannot even start to
 fix this.

 Can I help somehow?

Absolutely :). I posted this in some other thread, but cannot find it
at the moment.

I do not believe gdb is installed as is in the VMWare image and since
that version of Ubuntu is no longer supported it really ought to be
updated and gdb installed per default. It won't make much of a
difference size wise and for debugging problems like this is is rather
helpful since otherwise we are otherwise poking around in the dark.
Assuming you have gdb run

./sage -gdb

It should fail due to illegal instruction and drop you to the gdb
prompt:

(gdb)

Then punch in bt (no quotes) and you will see a backtrace. This
might exceed the length of the screen, so there might be another
prompt to continue. Copy and paste the backtrace (I assume only the
first 20 lines will be of interest, but to be safe take the whole
first page). Then hit enter until you get a prompt again.

enter disassemble $pc+32,$pc-32 at the gdb prompt and copy and paste
the output.

Mail all of the above to the list and we will fix the problem :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-05-03 Thread mabshoff

FYI: Simon's patch doesn't make any difference for the amount of
memory used for


sage: while p2^20:
: p=next_prime(p)
: g=FindGroupOrder(p,11)
:

In both cases about 2046MB more were used after the loop :(. Simon:
Run

init_mem=get_memory_usage()

before you do anything, run the computation and then once you are done
run

   get_memory_usage()-init_mem

and compare the different to before the patch. I assume Alex's script
he attached to the ticket does something similar.

It might be a good idea to create some constant at the very end of
all.py that sets the initial amount of memory used so it is trivially
invokable because once you have hit a leak it is too late anyway :(

Not that the patch will fix some other issues, but the picture seems
to be more complex. I am sure we will get to the bottom of it :).

Cheers,

Michael

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-05-03 Thread mabshoff



On May 3, 1:54 am, Alex Ghitza aghi...@gmail.com wrote:
 On Sun, May 3, 2009 at 6:33 PM, mabshoff

 michael.absh...@mathematik.uni-dortmund.de wrote:

  FYI: Simon's patch doesn't make any difference for the amount of
  memory used for

  sage: while p2^20:
  :     p=next_prime(p)
  :     g=FindGroupOrder(p,11)
  :

  In both cases about 2046MB more were used after the loop :(.

 Note however that running just a loop where the polynomial ring is
 created does benefit from the change in Simon's patch: doing it for p
 up to 2^17, this used to eat up 272MB, and after the patch it's only
 taking 10MB.

Cool, that matches with my experience, so it is part of the solution
to get the initial problem fixed.

 I did experience the same phenomenon that Michael is describing when
 running loops where elliptic curves (or even just plane curves) are
 created.  The patch seems to have no effect on those loops.

Yep. I would not be surprised if Simon's patch just exposes the next
problem - oh well, fixing leaks is an eternal game of whack-a-mole ;).
I am all in favor on adding some looping tests that measure memory
consumption and that would fail if repeated runs start to leak memory
(again) once they are fixed.

 Alex

Cheers,

Michael

 --
 Alex Ghitza -- Lecturer in Mathematics -- The University of Melbourne
 -- Australia --http://www.ms.unimelb.edu.au/~aghitza/
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-05-03 Thread mabshoff



On May 3, 2:00 am, simon.k...@uni-jena.de wrote:
 Hi Michael,

 On 3 Mai, 10:04, mabshoff michael.absh...@mathematik.uni-dortmund.de
 wrote:

  Is there any reason you opened a new ticket and did not use #5949 as
  mentioned above?

 Yes. I did the patch before breakfast :)

:)

Overall it seems to be good luck that this is on another ticket since
it seems to be part of the problem, but doesn't fix the issue in
question at the start of the thread.

 If it is true that there is a problem with weak references in Cython
 (what are they?) then there will be no chance for my patch to work, I
 guess.

It can be fixed - see the ticket RobertWB mentioned earlier in this
thread.

 Best regards,
    Simon

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage in Ubunyu 9.04

2009-05-03 Thread mabshoff



On May 3, 10:31 pm, saratchand chandcsa...@gmail.com wrote:
 Dear Sage Community,

Hi,

 You are aware that Sage has been included in Ubuntu 9.04. I have
 created a
 Ubuntu community documentation page for Sage 
 at:https://help.ubuntu.com/community/SAGE
 It was a rush job at best, by someone whose interest in Sage sprung
 from the
 possibility of using Sage to run Maxima.
 I request someone from the Sage team to clean up the Ubuntu community
 documentation page for Sage and also make it known widely that Sage is
 available from Ubuntu 9.04; in case this has not been done as yet.
 Yours,
 C. Saratchand

Thanks for the heads up and creating the page. Note that the Sage
version in Ubuntu (and Debian in general is rarher outdated - you do
mention the current version 3.4.1), but the version in Debian should
be updated in about a month to 4.0.x, see

http://wiki.sagemath.org/debian/sage-4.0.x-in-experimental

That won't help Ubtunu 9.04 too much, but I am hoping it will make it
into 9.10.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: GAP still doesn't start in sage-3.4.1...

2009-05-02 Thread mabshoff



On May 2, 1:29 am, William Stein wst...@gmail.com wrote:
 On Sat, May 2, 2009 at 1:27 AM, Johan Oudinet johan.oudi...@gmail.com wrote:

SNIP

  $ mount
  /dev/hda1 on / type ext3 (rw,errors=remount-ro)
  tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
  proc on /proc type proc (rw,noexec,nosuid,nodev)
  sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
  udev on /dev type tmpfs (rw,mode=0755)
  fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
  automount(pid2614) on /local type autofs
  (rw,fd=4,pgrp=2614,minproto=2,maxproto=4)
  automount(pid2642) on /users type autofs
  (rw,fd=4,pgrp=2642,minproto=2,maxproto=4)
  automount(pid2872) on /tmpsim type autofs
  (rw,fd=4,pgrp=2872,minproto=2,maxproto=4)
  automount(pid2962) on /special type autofs
  (rw,fd=4,pgrp=2962,minproto=2,maxproto=4)
  netapp2:/vol/Logiciels/Fortesse on /special/fortesse type nfs
  (rw,intr,soft,addr=129.175.1.2)
  netapp-11:/vol/Equipe_asspro/asspro on /users/asspro type nfs
  (rw,nosuid,intr,hard,tcp,timeo=600,retrans=2,addr=129.175.1.7)

  And I try to run Sage from /users/asspro

Ok.

 Is there enough space so you could try doing everything in /tmp or
 /local or some other *non*-NSF local partition?

Gonzalo had the exact same problem about GAP not starting up when he
was playing around with a Debian chroot env and it turned out that he
needed to mount devpts. According to the output above that (pseudo)
filesystem is not mounted, so before trying anything else I would
recommend to mount it. The kernel might or might not support it out of
the box (since it is a Debian kernel it should). devpts should be
mounted by udev it seems per default, but check out

   http://linux.derkeiler.com/Newsgroups/comp.os.linux.setup/2005-03/0473.html

on how to mount it.  If this turns out to the cause it seems well
worth an entry in the FAQ as well as README.txt since this is a rather
obscure problem. Even adding a check in Sage somewhere to verify that
the devpts is mounted on startup of Sage might be worth it.

 william

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: [help!] problem with sage-vmware 3.4.1 on windows xp

2009-05-02 Thread mabshoff



On May 2, 2:04 pm, William Stein wst...@gmail.com wrote:
 On Sat, May 2, 2009 at 8:53 AM, Alessandro Torre

SNIP

  Is it possible that my processor is obsolete for this version of Sage?

 Yes.

 What is the output of

    cat /proc/cpuinfo

I doubt this will be helpful. Having thought about this for a while my
guess is that some of the instructions used in MPIR might cause this.
When I wrote a script to detect advanced instructions I only
concentrated on SSE instructions since back then it was the major (and
only known) problem. If gdb is installed in the VMWare image we can
start Sage under gdb, get a back trace (to figure out which library it
is) and then disassemble around the current pc so that I can fix
this :)

So far no one has provided information to what is wrong, i.e. which
instruction[s] in what library causes this, so I cannot even start to
fix this.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Update R to the 2.9 release with milestone Sage 4.0

2009-05-02 Thread mabshoff



On May 2, 3:27 pm, Rolandb rola...@planet.nl wrote:
 Release 4.0 is soon. So I suggest we split the work.

 1) Update R to the latest 2.9 release (ticket #3086)
 I have no development experiences, but I assume that updating is a
 straightforward activity (but maybe I'm wrong).

I doubt it will be straightforward - nothing ever is :). R has
suggested in 2.6 that some time in the future libintl will be
mandatory. If that is the case we will have problems.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-05-01 Thread mabshoff



On May 1, 2:02 am, John Cremona john.crem...@gmail.com wrote:

Hi John,

 The actual cardinality is computed using the pari library (since the
 field is a prime field and p10**18).  I the leak is in libsingular it
 must come from constructing the curve, not from computing the
 cardinality.  So it would be worth testing the loop with a new
 function which constructs the curve and returns nothing.

Ok, this seems to indicate for me that maybe Coercion could be
involved here in some shape or form since it seems that for every
prime we iterate over we create/leak a new mv ring in libSingular. And
that cannot be a good thing :)

No that I have a clue how to debug this, so I will poke RobertWB - I
am sure he has nothing better to do that to dive into this problem and
will be happy to debug this ;)

 John

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-05-01 Thread mabshoff



On May 1, 12:12 pm, Robert Bradshaw rober...@math.washington.edu
wrote:

SNIP

  No that I have a clue how to debug this, so I will poke RobertWB - I
  am sure he has nothing better to do that to dive into this problem and
  will be happy to debug this ;)

 Yep, I bet coercion is leaking rings. I'll look at this during Sage  
 days, if not sooner.

Thanks, I ought to look over your shoulder to get an idea on how to
attack those leaks in the future :)

 - Robert

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: installing binary of sage-3.4.1 OSX10.4 on G4

2009-05-01 Thread mabshoff



On May 1, 12:06 pm, nickname bru...@fordham.edu wrote:

Hi,

 I wonder if the new binary  of sage-3.4.1 OSX10.4  for MAC G4 is
 correct. or if I am doing something wrong.

I have not verified it to work, but I assume it has been well tested
by the packager. His builds have worked in the past.

 The sage folder in the .dmg  cannot be moved to my User Account as in
 the previous version. According  to the Read-me file, it seems
 possible that it really is an Intel version.

It is still possible. What exactly is the problem you see?

 Please help.

 Thank you

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: GAP still doesn't start in sage-3.4.1...

2009-05-01 Thread mabshoff



On May 1, 5:48 am, Johan Oudinet johan.oudi...@gmail.com wrote:
 On Fri, May 1, 2009 at 2:24 AM, mabshoff

SNIP

Hi Johan,

  Can you give a little more detail? By sheer accident it was just

 Well, this is exactly what I've done:
 0) ssh to the server as a normal user.
 1) download 
 sage-3.4.1-linux-Debian_GNU_Linux_5.0_lenny-sse2-x86_64-Linux.tar.gz
 from France mirror
 2) decompress it (tar xzf)
 3) cd sage-3.4.1-linux-Debian_GNU_Linux_5.0_lenny-sse2-x86_64-Linux
 4) ./sage

Ok. Does gap start by itself, i.e. ./sage -gap?

 What more detail can I give you?
 $ uname -a
 Linux serveur-fortesse 2.6.24-22-xen #1 SMP Mon Nov 24 21:35:54 UTC
 2008 x86_64 GNU/Linux

  revealed in IRC that inside a chroot env without the pty dev
  filesystem mounted pexpect obviously doesn't work. Any chance this is
  something that could have happened to you?

 I don't think so... AFAIK, I didn't run sage from a chroot env. But I
 don't know if 'pty dev filesystem' was mounted. What should I do to
 verify this?

Please post the output of mount. I am not sure what else related to
xen could be a factor here. Have you used and/or installed another
version of GAP independently of Sage? Is there any Sage release that
ever worked on your platform?

 --
 Johan

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage-python

2009-05-01 Thread mabshoff



On May 1, 10:54 am, Mikie thephantom6...@hotmail.com wrote:
 Is it possible to do something like this at the command prompt

 #!/usr/bin/env sage
 import sys
 from sage.all import*
 factorial(10)

 and have sage calculate 10!

 When I do it from the cp nothing happens.  When I save the file I get
 sage.all not found.

What is cp?

 python ?.py

 Does sage-python run sage's python.  Can't get this to work.

sage is a script.

 I see many posts on this topic, but no help.  Is there a tutorial?

I have seen some documentation, but I don't know where or if it is in
the manual.

 I want to use the sage.all module using python

 Thanks

This works:

mabsh...@sage:/scratch/mabshoff/sage-3.4.2.rc0$ ./sage -sh

Starting subshell with Sage environment variables set.
Be sure to exit when you are done and do not do anything
with other copies of Sage!

mabsh...@sage:/scratch/mabshoff/sage-3.4.2.rc0$ cat foo.py
#!/usr/bin/env python
import sys
from sage.all import *
print factorial(10)
mabsh...@sage:/scratch/mabshoff/sage-3.4.2.rc0$ ./foo.py
3628800

Note that inside the python script there is no preparser.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: installing binary of sage-3.4.1 OSX10.4 on G4

2009-05-01 Thread mabshoff



On May 1, 5:42 pm, nickname bru...@fordham.edu wrote:
 As  said in my email, it is not possible to move the sage folder out
 of the .dmg container.

Yes, I read that already. How does that manifest itself? Do you get an
error message? Is the folder not selectable? etc.

  Also, the only to move this non-working
 .dmg into the trash is to force  Finder to quit and restart!

It sounds like your local install of OSX is either broken or the dmg
you downloaded has been corrupted during the download (assuming the
upload worked when placing it on the sever). Have you verified the
md5sum that is posted with the binary right on the download page?

 Thank you.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Failure running sage-vmware-sse2-3.4.1

2009-04-30 Thread mabshoff



On Apr 30, 10:53 am, William Stein wst...@gmail.com wrote:
 On Thu, Apr 30, 2009 at 10:43 AM, Iwan Lappo-Danilewski

 ivanjazz...@gmail.com wrote:

  Have to report a similar problem on ubuntu 9.04..
  While version 3.2.3 is running as fine as the sagemath ubuntu
  package (3.0.5) the newest version won't start telling me

 What is the output of cat /proc/cpuinfo on your computer?

Well, I am not sure if gdb is installed in the VMWare image (it ought
to be trivially installable into a real Linux install), but the
following would be helpful to determine which instruction causes the
problem.

Start sage via gdb, i.e.

 ./sage -gdb

Tell it to run, i.e. press r. Then it crashes. Punch in

bt
disass $pc-32 $pc+32

and post the output :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-04-30 Thread mabshoff



On Apr 30, 9:15 am, opti iram.che...@gmail.com wrote:
 Michael,

Hi Iram,

 Thanks for your reply.
 I did the exact same thing under magma, and it consumes 14 meg.

Hehe, you know how to get us going :)

 Have you found anything new?

I did find the cause, but I have not found a fix yet. What seems to
happens is that for each p a multivariate polynomial ring in
libSingular is leaked - all the gory details are at

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

 Regards,

 Iram

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: install/start up problem on OS X

2009-04-30 Thread mabshoff



On Apr 30, 2:05 pm, Dr. R manuelrosse...@gmail.com wrote:
 Thanks, I didn't see the Intel vs PowerPC links when I first did the
 download.

Well, I guess we should add a check to the startup script analog to
what we have for SSE instructions on Linux. This is now

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

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: GAP still doesn't start in sage-3.4.1...

2009-04-30 Thread mabshoff



On Apr 28, 6:24 am, Johan Oudinet johan.oudi...@gmail.com wrote:
 Hi,

Hi Johan,

 I saw in trac that the ticket about my problem to start Sage in a
 Debian Lenny 64bit is closed since GAP was downgraded.

We closed it since the problem was seemingly related to the new GAP.

 I thought Sage-3.4.1 should now works on my server... but it still
 doesn't. And the problem is still the same. When I run sage for the
 first time, I got:
 *
 RuntimeError: Unable to start gap because the command 'gap -r -b -p -T
 -o G 
 /users/asspro/oudinet/projects/sage-3.4.1-linux-Debian_GNU_Linux_5.0_lenny-sse2-x86_64-Linux/data//extcode/gap/sage.g'
 failed.

 Error importing ipy_profile_sage - perhaps you should run %upgrade?
 WARNING: Loading of ipy_profile_sage failed.
 *

 Any clue?

Can you give a little more detail? By sheer accident it was just
revealed in IRC that inside a chroot env without the pty dev
filesystem mounted pexpect obviously doesn't work. Any chance this is
something that could have happened to you?

 --
 Johan

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: install/start up problem on OS X

2009-04-30 Thread mabshoff



On Apr 30, 4:58 pm, Justin C. Walker jus...@mac.com wrote:
 On Apr 30, 2009, at 12:08 , Michael Welsh wrote:



  You've got an Intel computer, not a PPC. You should be downloading
  this DMG instead:

 http://www.sagemath.org/bin/apple_osx/intel/sage-3.4.1-OSX10.5-Intel-...

 Shouldn't Rosetta handle this?

One would think so, but apparently not. Is Rosetta even installed on
10.5 any more per default?

 Justin

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: RSACryptosystem in Cryptography book (by Kohel) is ghost :? + small typo

2009-04-30 Thread mabshoff



On Apr 30, 4:38 pm, Minh Nguyen nguyenmi...@gmail.com wrote:
 Hi,

 On Tue, Apr 28, 2009 at 7:09 PM, Jurgis Pralgauskis

 jurgis.pralgaus...@gmail.com wrote:

  Hello,

  just trying to follow examples ofhttp://www.sagemath.org/library/crypto.pdf
  Exercise 8.5 solution: page nr 124  (or 127 for file) has suspicious
  code

  sage: E := RSACryptosystem(128)
  sage: m = E.encoding(’The dog ate my lunch.’); m

 Strange! I don't remember there being an RSACryptosystem class.

  first of all typo of assignment (seems like in Pascal)

  then no such Class/method seems to exists -- not a big problem, but
  just curiuous what happend to it..

 There are many typos and errors in Kohel's crypto book. Though the
 book is licensed under a Creative Commons license, it seems that I'm
 unable to find the LaTeX source in order to fix typos. Not sure if
 Kohel has released the LaTeX source, though.

David reads at least sage-devel on occasion, so you might want to ping
him offlist. Getting the book debugged, current, the sources into some
publicly available repo/tarball and eventually all the examples into
Sage's tests directory might be a good idea ;)



  In advance Thanks for explanations :)

 --
 Regards
 Minh Van Nguyen

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: memory leak?

2009-04-29 Thread mabshoff



On Apr 29, 11:11 am, opti iram.che...@gmail.com wrote:
 Hello,

Hi,

 I am using sage 3.4
 I have written a simple sage script to evalute the cardinal of Brent-
 Suyama elliptic curves s=11
 for primes  2^27.

 Memory usage increases till program (or machine) crashes.

 The script is the following:

 p=30

  def FindGroupOrder(p,s):
    K = GF(p)
    v = K(4*s)
    u = K(s**2-5)
    x = u**3
    b = 4*x*v
    a = (v-u)**3*(3*u+v)
    A = a/b-2
    x = x/v**3
    b = x**3 + A*x**2 + x
    E = EllipticCurve(K,[0,b*A,0,b**2,0])
    return factor(E.cardinality())

 while p134217689:
         p=next_prime(p)
         g=FindGroupOrder(p,11)
         print g

 Any idea why this happens?

I would guess it is a leak :)

Running it up to p=966233 consumed about 2 GB - I will have a closer
look. IIR there are some open memory leaks in that area of the code,
but I should know more in a couple hours.

 Regards,

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-27 Thread mabshoff



On Apr 26, 11:05 pm, Chris Seberino cseber...@gmail.com wrote:
 On Apr 26, 1:36 am, mabshoff michael.absh...@mathematik.uni-

 dortmund.de wrote:
  I do not see how that rules out clisp 2.47 - or am I just not getting
  what you are driving at :)

 I meant if I can recreate the problem from 3.4 source as well as 3.4.1
 source then doesn't that mean I can recreate the problem in both
 version of clisp?  Hence clisp is innocent?

No, my guess is that either clisp release triggers the same problem.
Any recent clisp source release is incredibly easy to miscompile and
we are building it with -O0 with any compiler to maximize our chances
to make it work. But no clisp release since 2.41 has ever even build
on the build farm or SkyNet, much less various OSX releases or Solaris
(at least not with anything beyond gcc 4.x). That is the reason we are
switching and numerous other projects have prevented me from doing the
clisp - ecl switch, but finally its time has come since that is the
only way to support Solaris properly.

 cs

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: bug is subs_expr() ?

2009-04-27 Thread mabshoff



On Apr 26, 9:10 pm, Alex Raichev tortoise.s...@gmail.com wrote:
 Hi all:

Hi Alex,

 It looks like there's a tiny bug in subs_expr(): it hangs when given
 the empty dictionary.

 Alex

 --
 | Sage Version 3.4, Release Date: 2009-03-11                         |
 | Type notebook() for the GUI, and license() for information.        |
 --
 sage: x.subs_expr({x:1})
 1
 sage: x.subs_expr({})

 ...No response.

Yeah, this is a bug in the Sage - Maxima interface. The new
symbolics code might fix this, but I still put this in trac as #5909.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Accessing a Sage 'instance' over the web; URL=???

2009-04-27 Thread mabshoff



On Apr 27, 12:31 pm, Justin C. Walker jus...@mac.com wrote:
 On Apr 27, 2009, at 11:46 , rvaug...@gmail.com wrote:



  I have successfully installed the latest sage on a Fedora Core 9
  machine
  (name of machine: strings358).  It seems to work fine.

  One of my users wishes to access this remotely from his Mac OS laptop.

  When he runs sage on his laptop, it tells him to open his browser
  tohttp://localhost:8000.

  What do I tell him?  How can he access the sage instance on strings358
  via his browser over the web?

 In order to access the sage instance running on 'string358', from his  
 laptop running somewhere else in the network, he needs to be able to  
 access 'string358'.

 Normally, this would be something like http://string358.google.edu;  
 for web access.  Then just append the :8000:.

 The :8000 says to use port 8000, instead of the well-known port 80  
 for http access (we do this to avoid conflicts on systems that already  
 run a webserver).

Read

  notebook?

from inside a Sage session.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-26 Thread mabshoff



On Apr 25, 10:42 pm, Chris Seberino cseber...@gmail.com wrote:
 On Apr 25, 7:02 pm, mabshoff michael.absh...@mathematik.uni-

 dortmund.de wrote:
   What should I do until Sage 4.0?  Is there a way to tweak my 3.4.1 to
   use clisp 2.47?

  Do you mean clisp 2.46 since 3.4.1 ships with clisp 2.47 while Sage
  3.4 used clisp 2.46?

 Since *I* was able to reproduce the problem on 3.4 on Ubuntu Jaunty
 haven't I ruled out that clisp 2.47 is not the problem?

 * Above you asked about Sage 3.4.1 which ships clisp-2.47.
 * Sage 3.4 ships clisp-2.46 which you mention you tried on Ubuntu
9.04 in the message right above.

I do not see how that rules out clisp 2.47 - or am I just not getting
what you are driving at :)

 Is there something else I can try?

I am not sure.

 cs

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-25 Thread mabshoff



On Apr 25, 12:23 am, Paul Zimmermann paul.zimmerm...@loria.fr wrote:
        Michael,

Hi Paul,

  And Sage 3.4:

  | Sage Version 3.4, Release Date: 2009-03-11                         |
  | Type notebook() for the GUI, and license() for information.        |
  --
  sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
  0.85397903781471396

  So I cannot reproduce this. What platform are you on and are you using
  a binary, build from source, etc?

 the example that failed has 'exp' instead of 'cos'. However with Sage 3.4
 it works for me:

 --
 | Sage Version 3.4, Release Date: 2009-03-11                         |
 | Type notebook() for the GUI, and license() for information.        |
 --
 sage: numerical_integral(sin(pi*exp(x/2)),0,2)[0]
 -0.43734547482524966

 Paul Zimmermann

I ran this on 3.4, 3.4.1 and a couple other rc releases in between:

sage: for i in (0..200):
: numerical_integral(sin(pi*exp(x/2)),0,2)[0]
:

and I could not get a failure. Note that the most likely culprit here
is clisp IMHO. Just today I found out that clisp 2.47 doesn't build on
the latest Mandriva release in 32 and 64 bit flavors. Oh well ...

We should have an Ubuntu 9.04 test image in the not too distant
future, so maybe we will hit it there.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-25 Thread mabshoff



On Apr 25, 2:17 pm, Chris Seberino cseber...@gmail.com wrote:

Hi Chris,

 On Apr 25, 2:10 am, mabshoff michael.absh...@mathematik.uni-

SNIP

 Hmm. That is weird.  I just compiled 3.4.1 from source and got the
 same error on the newer version too.

Ok.

SNIP

 That seems to be the only delta between you guys and me so chances are
 that's the problem.

Not really, we switched from clisp 2.46 to 2.47 and if you look at

https://groups.google.com/group/sage-devel/t/753a8d2f3c052183

for some people who have had issues for a long, long time we could
never get to the bottom of all the sudden they completely disappear.
Clisp seems to be working or not working depending on compiler
release, target CPU, etc, so I am not surprised you are seeing
oddities no one can reproduce. We are in progress of switching to ecl
as the basis for Maxima which will hopefully serve as a more stable
basis than clisp. Given that we want 3.4.2 out early next week the ecl
switch will probably miss the boat on that one, but since it is
essential to switch for Sage 4.0 to get Solaris support working it
will be in 4.0.

 cs

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-25 Thread mabshoff



On Apr 25, 6:38 pm, Chris Seberino cseber...@gmail.com wrote:
 On Apr 25, 5:36 pm, mabshoff michael.absh...@mathematik.uni-

Hi Chris,

 dortmund.de wrote:
  Not really, we switched from clisp 2.46 to 2.47 and if you look at

     https://groups.google.com/group/sage-devel/t/753a8d2f3c052183

  for some people who have had issues for a long, long time we could
  never get to the bottom of all the sudden they completely disappear.

 What should I do until Sage 4.0?  Is there a way to tweak my 3.4.1 to
 use clisp 2.47?

Do you mean clisp 2.46 since 3.4.1 ships with clisp 2.47 while Sage
3.4 used clisp 2.46?

You can force the use of clisp-2.46.spkg by running ./sage -f /patch/
to/clisp-2.46.spkg, but that will break the pure clisp mode AFAIK. It
will also not use the readline-off mode we hacked into clisp 2.47, but
if you never saw any Maxima hangs it should not matter to you too. You
must also force a rebuild of the Maxima.spkg (via ./sage -f ../maxima-
x.y.z.spkg after rebuilding clisp to make it use that version of clisp
you just build without trouble). Note that the above change will
likely be overwritten by updated Maxima and ecl.spkgs in Sage 4.0, but
not 3.4.2.

Maxima itself has a disable-readline option, but it seems broken with
Maxima 5.16.3+clisp-2.[46|47], I don't know what the status of 5.18.1
which was just released is.

 cs

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage error 6520

2009-04-24 Thread mabshoff



On Apr 24, 10:49 am, Mikie thephantom6...@hotmail.com wrote:

Hi,

 Just installed Sage on CentOS 5.3 server.  Local system.  I am getting
 sage-sage: line 197 6520 Illegal instruction sage-ipyth $@ -i.
 Any help would be appreciated.

What Sage release precisely are you using, i.e. version, binary name,
etc? If it is any recent release you should have gotten a warning at
startup.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage error 6520

2009-04-24 Thread mabshoff



On Apr 24, 2:33 pm, Mikie thephantom6...@hotmail.com wrote:
 Sage is trying to modify the file sage-flags.txt.

It should open it read only, but let me check.

 On Apr 24, 3:29 pm, Mikie thephantom6...@hotmail.com wrote:

  Version 3.4 for CentOS rel 5_2.   Before I get the error below it says
  Warning; Sage was built on a machine that does not support
  instructions for this computer.  Processor flags not on this
  computer:  pni

Yeah, no surprised there. You don't have SSE3 (==pni), so things do
blow up as expected. Maybe the warning message should be more
explicit, i.e. add This Sage release will likely fail with 'illegal
instruction BLAH BLAH' :)

Sage 3.4.1 which binaries I should post in the next couple hours has
been build to use only SSE2, so that one should work for you.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Why this numerical integral bombs?

2009-04-24 Thread mabshoff



On Apr 24, 7:03 pm, Chris Seberino cseber...@gmail.com wrote:

Hi,

 Notice first and second are very similar except for the cos() and exp
 ().

 Why first one ok but second bombs?

 sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
 0.85397903781471396

I guess you are using Sage 3.4?


Works for me in my current merge tree:

--
| Sage Version 3.4.2.alpha0, Release Date: 2009-04-24|
| Type notebook() for the GUI, and license() for information.|
--
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage:

3.4.1:

--
| Sage Version 3.4.1, Release Date: 2009-04-21   |
| Type notebook() for the GUI, and license() for information.|
--
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage:

And Sage 3.4:

| Sage Version 3.4, Release Date: 2009-03-11 |
| Type notebook() for the GUI, and license() for information.|
--
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage: numerical_integral(sin(pi*cos(x/2)),0,2)[0]
0.85397903781471396
sage:

So I cannot reproduce this. What platform are you on and are you using
a binary, build from source, etc?

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Slackware/Zenwalk package

2009-04-23 Thread mabshoff



On Apr 23, 4:28 pm, littlemathteacher relational...@gmail.com wrote:
 Greetings from Franconia.

Hi,

 I tried to use the compiler to build Sage in my Zenwalk system
 (Zenwalk is based on Slackware Linux), but this time it did't work
 (might be due to the antique hardware I am using this time).

Could you elaborate what happened, i.e. post a link to the compressed
install.log from your build.

 I would like to put a request for a Zenwalk-package of Sage to the
 Zenwalk commulity, because I consider myself not experienced enough to
 build one.

 Would it be o.k. to do that, I mean concerning legal matters?

Do you mean that the distribution packages and redistributes Sage?
Yes, that is allowed and would be welcome from our end.

 Thanks

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Slackware/Zenwalk package

2009-04-23 Thread mabshoff



On Apr 23, 5:41 pm, littlemathteacher relational...@gmail.com wrote:
 Dear Michael,

Hi Markus,

 thanks.

 When I returned home this evening the process and the whole system
 seemed to be frozen as if by memory overload. I slowly tried to close
 some applications and among them accidentally was the bash in which I
 had opened the file manager (by su root) to cd into the sage folder in
 order to run the make - and by chain reaction the file manager and
 then the bash with the sage compilation closed.

 So I can't even say that the compilation literally crashed or froze,
 only that I am a little too stupid to let it do it's job.

Actually it just takes a while to build LinBox and its Sage extension
if you have little, i.e. less than 300 or so MB memory available. This
does depend on the gcc though an gcc 4.x is worst in that regard than
gcc 3.4.x.

 Maybe it was wrong to put it into the lib folder. I am still new to
 linux and this time a wanted sage not to live in any home directory.
 Which linux folder would you recommend to extract sage into? Maybe it
 was also wrong to run it from within a root bash while logged in as
 user (but in ubuntu I did it just this way).

 I made a compressed archive file out of the install.log and now I am
 thinking about where to save is so that it can be linked to.

 In the meantime maybe the last lines might be significant to you:

 [Code]
SNIP
  g++ -DHAVE_CONFIG_H -I. -I../.. -I../.. -I. -I../../linbox -g -I/lib/
 sage/sage-3.4/local/include/linbox -I/lib/sage/sage-3.4/local/include -
 O2 -DDISABLE_COMMENTATOR -I/lib/sage/sage-3.4/local/include -I/lib/
 sage/sage-3.4/local/include -I/lib/sage/sage-3.4/local/include -g -
 fPIC -I/lib/sage/sage-3.4/local/include -I/lib/sage/sage-3.4/local/
 include/linbox -L/lib/sage/sage-3.4/local/lib -I/lib/sage/sage-3.4/
 spkg/build/linbox-1.1.6/src -I/lib/sage/sage-3.4/spkg/build/
 linbox-1.1.6/src/linbox -I/lib/sage/sage-3.4/local/include -I/lib/sage/
 sage-3.4/local/include -D__LINBOX_HAVE_CBLAS -c linbox-sage.C  -fPIC -
 DPIC -o .libs/linbox-sage.o

 [End Code]

I have seen this one take 8 hour on a PS3 since it has only about 220
MB physical RAM available, so no surprises there.

 But please don't put too much effort into helping me make sage run on
 this old notebook, Michael. I've got two other instances of sage
 running fine. And I am getting more and more familiar with using the
 sage notebook online. On the long run this might be better anyway for
 most purposes.

Yes, I would recommend to use a remove Sage server in this case :)

 Thanks again and have a nice evening (or whatever time it is now at
 your location)!

Thanks, and the same to you.

 Markus

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: old snapshots take a *lot* of space

2009-04-22 Thread mabshoff



On Apr 21, 11:27 pm, Rob Beezer goo...@beezer.cotse.net wrote:
 Jason,

 Have a look at:

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

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

 There are few other tickets about that are relevant, as well.

3.4.1 should have most of those (except the default changes for save
interval, etc). But I don't think old snapshots are then dynamically
deleted.

I posted some reviewer patches at #5371 - you might want to review
them.

 Rob

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Problem in Octave console

2009-04-22 Thread mabshoff



On Apr 22, 12:46 am, Ajay Rawat ajay.rawa...@gmail.com wrote:
 Well i tried the command
 sage:octave_version()
 sage:3.0.0
 but when i tried octave_console
 it replied...

 octave:
 /usr/local/sage-3.2.3-Ubuntu8.04LTS-64bit-Intel-x86_64-Linux/local/lib/l\
 ibz.so.1: no version information available (required by
 /usr/lib/octave-3.0.0/liboctinterp.so)

The problem is that the libz shipped by Sage and the one used by the
system (and which was linked by Octave) do not play nicely together.

To work around this write a script called octave (I assume that is the
name of the octave start script/binary

#!/bin/sh
LD_LIBRARY_PATH=SAGE_ORIG_LD_LIBRARY_PATH; export LD_LIBRARY_PATH
exec octave $@

I didn't try this, so you might need to adjust something.

To fix this once and for all in sage we should use native execute -
would someone open a ticket since I am about to go offline for the
night :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage 3.2.3 notebook crashes on running standard sws file

2009-04-22 Thread mabshoff



On Apr 22, 10:31 am, SG srikanth.gane...@gmail.com wrote:
 Hi,

Hi,

 I am a beginner trying to use Sage. I am running Sage 3.2.3 on a Win
 XP machine. I use the notebook instead of the command prompt. I found
 that if I run some of the demo programs like a 3d plot, it crashed
 my IE window and I get a log file, but I do not understand what that
 means. It used to work fine before. I am not sure what changed. Please
 help.

 SG

 P.S.
 Here's the Log file contents:


SNIP

 Local Time = Wed Apr 22 10:27:59 2009
 Elapsed Time = 1
 #
 # The exception above was detected in native code outside the VM
 #
 # Java VM: Java HotSpot(TM) Client VM (1.3.1-b24 mixed mode)
 #


Sage itself did not crash, but IE crashed because the jmol applet
caused some problem with the Java VM you used. It is rather old, so I
would recommend you update Java to something more recent if you can.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-21 Thread mabshoff



On Apr 20, 11:18 pm, meanerelk meaner...@gmail.com wrote:

Hi,

 Thanks for your help!

No problem.

 I can confirm that making 3.4.1.-rc4 worked just fine. Getting rid of
 clisp for 4 sounds good.

You don't even know how happy I will be once it is gone :)

 However, there is another niggling problem: I get an annoying internal
 service error when starting the notebook. I have to navigate 
 tohttp://localhost:8000/without the startup token to login.

 Here is the output in the console:

 2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] /home/kemal/
 Applications/sage-3.4.1.rc4/local/lib/python2.5/site-packages/twisted/
 internet/defer.py:267: exceptions.DeprecationWarning: Don't pass
 strings (like 'Bad token') to failure.Failure (replacing with a
 DefaultException).
 2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] Exception
 rendering:
 2009-04-21 02:13:39-0400 [HTTPChannel,1,127.0.0.1] Unhandled Error
         Traceback (most recent call last):
         Failure: twisted.python.failure.DefaultException: Bad token

Could you post the full output from sage -notebook? I think the
problem is that when you start the notebook with the option
address='' (which I believe is the deault) this kind of problem can
pop up.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] 3.4.2 merge plans

2009-04-21 Thread mabshoff

Hello folks,

now that 3.4.1 is more or less done the plan for 3.4.2 is emerging.
The main goal here is to get out a release quickly and mop up loads of
patches in trac which have been reviewed or are awaiting review. I
have moved every open patch from 3.4.2 to 4.0 to keep the 3.4.2
milestone clean and simple, so if you open a ticket against 3.4.2 make
sure to post a patch quickly since I will otherwise bounce it to
4.0 :)

If you have some time it would also be very nice if you could review a
couple tickets so that the backlog in trac of unreviewed patches goes
down.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage interact. Can one run it on the web?

2009-04-21 Thread mabshoff



On Apr 21, 1:07 am, Nasser Abbasi n...@12000.org wrote:

Hi,

 Simple question I hope. I see a number of interesting sage interaction
 code here:http://wiki.sagemath.org/interact

 Right now, to run any, I copy the code to my open notebook in the
 browser (I am on windows, so I am using VMWare and access sage via
 browser), then I evaluate the code copied to be able to actually
 interact with the code.

 Is there a way for someone to do such an interaction and post it on
 the web for others to use directly from the web, without having to
 have sage installed and without having to do what I am doing now?
 (i.e. copy code etc...)

It is not possible at the moment since one needs to be logged into
Sage to use interact. Another problem is that there is only one global
state per interact widget, but someone has been working on fixing
that, so it should be possible in some future Sage release.

 If so, this would be really cool. If not, any plans to have this
 feature in the future in sage? It would be like running a applet
 inside the browser in a way.

Yes, but without proper input filtering, etc, this would be a rather
insecure setup. I am sure that such input filtering could be added for
standard types, i.e. integers, rationals and so on as well as strings,
but AFAIK no one has written any code in that direction yet.

 Thanks,
 --Nasser

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-21 Thread mabshoff



On Apr 21, 4:49 pm, meanerelk meaner...@gmail.com wrote:
 Sure, here is the full output:http://www.sendspace.com/file/iulbgo

 Starting the notebook with various other arguments causes problems in
 other ways, too. For instance, if I start it with notebook
 (address='', secure=True) I get a modal dialog saying No hostname
 specified. Here is the output from that:http://www.sendspace.com/file/b2v8v9

 And with notebook(address='') I get Malformed URL and this 
 output:http://www.sendspace.com/file/mivfoi

 In both cases, however, the server still runs.

 Hope this is helpful.

Yeah, it is. There has been some discussion to not allow the construct

   notebook(address='')

any more since it causes the above problem. AFAIK there is no ticket
to do that yet. If there is consensus that this is the right thing to
do I am happy to open one.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Can't get away from Sage 3.4 login prompt to start notebook

2009-04-21 Thread mabshoff

On Apr 21, 3:55 pm, Greg Grunberg grunb...@wans.net wrote:

Hi Greg,

 Attached as a .JPG file is the requested screenshot.

 Greg Grunberg

The screenshot reveals that your CPU is not advanced enough to run
this binary build of Sage, i.e. it is missing SSE3 instructions. You
can force it to run anyway (see the message Sage is printing), but
this will result in Sage exiting during runtime due to illegal
instruction error messages if you execute certain code, i.e. large
linear algebra problems (where large is roughly a determinant for a
90x90 matrix over ZZ for example).

Binaries for Sage 3.4.1 will be build in a mode that only requires
SSE2 and those binaries should be available in about 48 hours.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Can't get away from Sage 3.4 login prompt to start notebook

2009-04-21 Thread mabshoff



On Apr 21, 9:45 pm, William Stein wst...@gmail.com wrote:
 2009/4/21 mabshoff michael.absh...@mathematik.uni-dortmund.de:



  On Apr 21, 3:55 pm, Greg Grunberg grunb...@wans.net wrote:

  Hi Greg,

  Attached as a .JPG file is the requested screenshot.

  Greg Grunberg

  The screenshot reveals that your CPU is not advanced enough to run
  this binary build of Sage, i.e. it is missing SSE3 instructions. You

 The actual error message says: The following flags were on the build
 machine but are not on your machine: sse2 pni.  

Ok, I didn't look too closely and then didn't write this email
immediately, so my bad.

 That seems like a
 bug, since the build machine has sse3, but probably his doesn't.
 Weird.

pni == sse3, so no surprises here. But at least on my end there are no
plans to build an SSE only, i.e. no SSE2 only binary for 32 bits since
those CPUs are exceedingly rare and accomplishing this is a lot of
work and other tasks I have take way higher priority.  So the only
real option is to build from sources inside the VMWare machine.

  can force it to run anyway (see the message Sage is printing), but
  this will result in Sage exiting during runtime due to illegal
  instruction error messages if you execute certain code, i.e. large
  linear algebra problems (where large is roughly a determinant for a
  90x90 matrix over ZZ for example).

  Binaries for Sage 3.4.1 will be build in a mode that only requires
  SSE2 and those binaries should be available in about 48 hours.

 Cool.

:)

 William

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: How do I make a modified code effective?

2009-04-20 Thread mabshoff



On Apr 20, 12:00 am, Kwankyu ekwan...@gmail.com wrote:
 Hi,

Hi Kwankyu,

 After I modify some codes in a Sage library file, I can rebuild by the
 command !sage -b right in the running Sage. Then could I make the
 modified code be effective without exiting the running Sage? Or do I
 have to exit and rerun Sage?

You have to exit Sage and restart.

 Kwankyu

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread mabshoff



On Apr 20, 3:46 pm, meanerelk meaner...@gmail.com wrote:

Hi,

 Here is clisp's build.log and error.log:

 http://www.sendspace.com/file/fct6vuhttp://www.sendspace.com/file/gnroy3

 The only error is:

 sspvw_sigsegv.d:94: error: too few arguments to function
 ‘sigsegv_leave_handler’

 I have libsigsegv 2.6-1 installed.

 A bit of googling shows that sigsgv_leave_handler has changed in 2.6
 http://www.mail-archive.com/info-...@gnu.org/msg00565.html

 However, it has been out for months, so I am surprised no one else
 seems to have had this problem.

Well, clisp is quite buggy to say the least. We tell clisp at
configure time to not use libsigsev, but apparently it is still picked
up. Sage 3.4.1 out in hours updates clisp to the 2.47 release which
AFAIK fixes that specific problem, i.e. it does not bomb out with that
version of libsigsev present, but still uses it.

 If this is a new problem, I can try to submit a patch in a few days.
 (too busy right now)

Don't worry about it, we are dumping clisp in Sage 4.0 and will be
using ecl instead.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: faster alternative to using maxima's part function

2009-04-20 Thread mabshoff



On Apr 20, 3:53 pm, bsdz blai...@googlemail.com wrote:
 Hi,

Hi Blair,

 Is anyone aware of an alternative to maxima's part function.

 http://maxima.sourceforge.net/docs/manual/en/maxima_6.html#IDX182

 It allows one to access any part of an algebraic expression using
 various indexes. A list of indexes uniquely defines any part of an
 expression such as a sum part or exponent.

 I ask because a while back I implemented a useful function but felt it
 was too slow because it had to constantly send requests to maxima's
 lisp interpreter.

The pynac switch is coming in Sage 4.0 and you should be able to do
things like that in Sage natively. There are certainly plans to play
with the expressin tree, but Mike Hansen can probably tell you how far
along that part of the code is.

 Thanks
 Blair

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Errors building sage on Linux: jinja and clisp

2009-04-20 Thread mabshoff



On Apr 20, 3:56 pm, mabshoff michael.absh...@mathematik.uni-
dortmund.de wrote:
 On Apr 20, 3:46 pm, meanerelk meaner...@gmail.com wrote:

Hi

SNIP

  However, it has been out for months, so I am surprised no one else
  seems to have had this problem.

 Well, clisp is quite buggy to say the least. We tell clisp at
 configure time to not use libsigsev, but apparently it is still picked
 up.

Well, technically we tell clisp to ignore the absence of libsigsev, so
I guess the behavior you see is correct that libsigsev is used.
Obviously the configure test doesn't work too well since it fails due
to header issues. Oh well, bye bye clisp :)

SNIP

Cheers,

Michael

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Last couple reviews for 3.4.1.rc4

2009-04-19 Thread mabshoff

We are quite close to 3.4.1.rc4 and the remaining open tickets are at

 
http://trac.sagemath.org/sage_trac/query?status=assignedstatus=newstatus=reopenedorder=idcol=idcol=summarycol=ownercol=typecol=prioritycol=componentcol=reportermilestone=sage-3.4.1


The situation in detail is currently:

No solution yet:

 * #5284: Set sage-flags.txt up to SSE2 only when building Sage in
SSE2 only mode/remove SSSE3 and SSE4 flags (followup to #5219)
 * #5774: running make on a -bdisted binary is broken
 * #5806: Sage 3.4.1.rc3: failing test devel/sage/sage/misc/
sagedoc.py

I can do #5284 and #5774 post 3.4.1.rc4 since it only affects -bdist.
There are some suggestions for #5806, but unless someone puts up a
patch soon I will likely make that file 'nodoctest' for 3.4.1 and deal
with it later.

Waiting for review:

 * #5662: Gonzalo Tonoria: Timing issue in clisp-readline (Nasty hang
(deadlock?) in maxima pexpect interface on core 2 quad [Reviewed by
Dan Drake]
 * #5810: Michael Abshoff: Sage 3.4.1.rc3: Fedora 10/64 - unable to
start Maxima issue in shapes.pyx (should be fixed by clisp
+maxima.spkg)
 * #5697: Michael Abshoff: downgrade GAP due to Itanium issues
 * #5823: Michael Abshoff, Gonzalo Tornaria: Update clisp to 2.47 and
introduce noreadline mode dynammically for clisp and maxima

The 8th open ticket is a maxima can't start up problem and fixed by
#5823 it seems. #5662 has a positive review, but I am thinking if
someone else took another look it wouldn't be too bad :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Last couple reviews for 3.4.1.rc4

2009-04-19 Thread mabshoff

Ooops, wrong group - if you want to follow up please do so in sage-
devel.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: I was using sage-3.1.4 upgrade to 3.4 and have memory issues

2009-04-18 Thread mabshoff



On Apr 18, 6:53 pm, William Stein wst...@gmail.com wrote:
 2009/4/18 Jorge E. ´Sanchez Sanchez hnr...@hotmail.com:

SNIP

  So I went back, to install the previous version available in the download
  page: sage-vmware-3.2.3, it worked for a while but very slowly all the time,
  after that when I tried to run sage_vmx.vmx, the VMware console sent a
  complaining message like not enough memory for running the given virtual
  machine and suggest that restarting the host if the VM was working
  previously will fix the problem, I tried that many times, but still sage
  cannot restart as told.

There might no longer be any Sage 3.1.4 binaries, but you can download
the sources into the current Sage VMWare image, unpack them somewhere
in $HOME, run make and they should build fine. Given that a serious
number of bugs have been fixed since then as well as numerous
enhancements added this is generally not recommended.

 Edit the file sage_vmx.vmx and change the line that says

    memsize=512

 to

    memsize=300

 or some other smaller number (between say 200 and 324).

 William

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Ubuntu 8.04 Sage tarball doesn't work in Ubuntu 9.04?

2009-04-17 Thread mabshoff



On Apr 16, 10:33 pm, Chris Seberino cseber...@gmail.com wrote:

Hi Chris,

 Which Sage tarball/package should I use for Ubuntu 9.04 (Jaunty
 beta) ??

 The Ubuntu 8.10 tarball doesn't work there.  I get

 9587 Illegal instruction

Did you remove the sage-flags.txt after you got a warning? Then this
is a problem with your CPU not having SSE3 instructions, so for now
building from sources would be the easiest. It might take a while :)

Aside from that I do not know if the 8.10 binary works on 9.04 - I
have never tried. Given that 9.04 is not released yet we do not build
binaries for it.

 cs

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: 3.4 binary for Fedora 10 crashes

2009-04-14 Thread mabshoff



On Apr 13, 8:53 pm, Rado rki...@gmail.com wrote:

Hi,

 Does that mean that also I cannot compile sage myself on a non-sse3
 machine (like my old amd64)? When I try I get Illegal instructions
 but not sure if its the cpu or something with the dependencies.

The problem is ATLAS build by Sage, it uses SSE3 instructions. If you
build from sources on a non-SSE3 CPU ATLAS will not use SSE3
instructions, so building from source should work.

 Rado

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: hg_sage.pull() fails in notebook

2009-04-14 Thread mabshoff



On Apr 14, 4:44 pm, Alex Raichev tortoise.s...@gmail.com wrote:
 Hi all:

Hi Alex,

 I want to sync my version of Sage 3.4 with the latest change sets.  So
 in a notebook worksheet i typed

 hg_sage.pull()

 and got the error

 cd /Applications/sage/devel/sage  hg status
 cd /Applications/sage/devel/sage  hg status
 cd /Applications/sage/devel/sage  hg pull 
 -uhttp://www.sagemath.org/hg/sage-main
 abort: HTTP Error 404: Not Found
 If it says use 'hg merge' above, then you should
 type hg_sage.merge().

 Am i doing something wrong?

No, this is a bug that was fixed in Sage 3.4.1.alpha0. See #5613 for a
patch that fixes it.

But there is nothing there since the development versions are not
pushed to that repo.

 Alex

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage 3.4 Installation on OS X 10.5 Errors

2009-04-13 Thread mabshoff



On Apr 13, 9:57 am, kaufma kaufmanne...@gmail.com wrote:

Hi,

 I am updating sage on OSX 10.5 lab machines. I downloaded .dmg file
 then I copied the sage folder over to all of the workstations. I get
 the following message when I try to open Sage.

 You must compile sage first using the 'make' , in the sage root
 directory. (If you have already compiled Sage, you must set the
 Sage_Root variable in the file './sage).

Ok, this message is triggered for the wrong reasons it seems since the
DMGs are binaries. Did you set SAGE_ROOT or any other env variable
related to Sage anywhere?

 I did try to run the make command in the root of the sage folder and
 got allot of dependency dropped errors and a error 127.

That is a bug due to -bdist,  but it is independent of your problem. I
had known about it for a while, but I made it #5774 yesterday since I
finally tracked down the problem.

 Any ideas would be appreciated.

Describing some more details of your setup would help.

 Thanks,

 Eric Kaufmann

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage 3.4 Installation on OS X 10.5 Errors

2009-04-13 Thread mabshoff



On Apr 13, 10:13 am, Eric Kaufmann kaufmanne...@gmail.com wrote:
 Binary did work before I copied it. A version of sage was already installed
 on the systems. When I copied it over the older version of sage was deleted
 first. This worked w/o any issues on the first test machine I did this on.

Well, what did you do different? And *how* did you copy it?

 Is there any documentation on how to set the variables.

Look at the sage script, but you don't need to set it.

 Regards,

 Eric

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Licensing and copyright of sage contributions

2009-04-13 Thread mabshoff



On Apr 13, 4:40 pm, Rolando san...@gmail.com wrote:

Hi,

 Is it possible to make a contribution of code to Sage which has no
 license and no copyright?

No, it should be licensed in a GPL V2+ compatible way.

 The Sage Programming Guide seems to suggest that copyright should be
 given to yourself and William Stein.

No, you should retain copyright yourself, there is no reason to give
copyright to William.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: GCC for Mac OS X

2009-04-12 Thread mabshoff



On Apr 12, 8:42 pm, pong wypon...@gmail.com wrote:

Hi,

 I wrote couple sage scripts and would like to compile them in Mac OS
 10.5.

If you did write Sage code that is not Cython code you do not need any
compiler or am I misunderstanding you?

 Looks like I need GCC. How can I install one? A quick search on
 the internet seems to suggest that I need to sign up as an Apple
 Developer to get a copy which I don't feel comfortable to.

Unfortunately Sage will only build with Apple's gcc from XCode at the
moment. Other sources of gcc like Fink or MacPorts do not work (yet).

 Thanks in advance

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Dependencies

2009-04-08 Thread mabshoff

On Apr 8, 1:50 am, mindbound astro...@gmail.com wrote:

Hi,

 Hello, I have question which, although probably being trivial or
 irrelevant at all, still bothers me for some time. Namely, if I
 already have installed on my computer a significant part of Sage's
 constituent packages (ATLAS, BLAS, GAP, GSL, Scipy, Numpy, Matplotlib
 etc.) for separate use, is it possible to avoid double-installation of
 them when installing Sage, making it instead to use those already in
 place?

As you can guess this has come up before, but the answer is no. Why is
in the FAQ - see

  http://wiki.sagemath.org/faq/bigsagerant :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Processes followup

2009-04-08 Thread mabshoff



On Apr 8, 1:11 pm, William Stein wst...@gmail.com wrote:
 On Wed, Apr 8, 2009 at 12:14 PM, kcrisman kcris...@gmail.com wrote:

  You probably don't have nearly enough RAM to support running several
  Sage processes.   Perhaps your use of ulimit to limit resource
  consumption isn't setup very well.  It's hard to give you any
  information at all though, given that your email question doesn't
  clearly summarize all the details about your current Sage notebook
  install.  There are infinitely many ways to configure a Sage notebook
  server.

  Just as a postscript, this (very new) problem we are having turns out
  to have nothing to do with memory etc, at least not directly.
  Instead, the following process in the virtual machine seems to be the
  problem:

  python /usr/local/sage/local/bin/twistd --pidfile=sage_notebook/
  twistd.pid -ny sage_notebook/twistedconf.tac

 That process is the Sage notebook server.



  It consumes between 99% and 100% of all CPU on the VM whenever one
  attempts to evaluate, e.g., 2+2.  For minutes on end, with no other
  users doing anything.  Eventually, when people give up or the
  calculation ends or is interrupted, it goes back to a quiescent
  state.  It starts up immediately upon starting the machine, which is
  done with the additional instruction

 Your Sage notebook is probably seriously misconfigured.  Not knowing anything
 further and not having access, I have no idea how.  I've never seen
 the actual problem
 you're describing though.

 I hope you figure it out.

 William


The symptom of twisted going nuts is exactly what happened in the
wiki. Which kernel are you using? Can you check kern.log (or is it
kernel.log) in /var/log for any oddities?

The issue on the old sagemath.org was with some probability a hardware
issue, i.e. wonky RAM, even though that was never 100% verified.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Linux CentOS sage install problem

2009-04-07 Thread mabshoff



On Apr 7, 2:20 pm, William Stein wst...@gmail.com wrote:
 On Tue, Apr 7, 2009 at 12:14 PM, Timothy Clemans

  Are you trying to build from source or use a binary? You're on
  Bluehost right trying to use Sage?
  I don't think there's a binary for CentOS

 There are CentOS binaries:

    http://sagemath.org/bin/linux/

There are binaries for Centos 5 thatg will *not* work on Centos 4. I
have a Centos 4.7 x86 VMWare image, but I guess the demand for that
should be tiny.

 William

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: jmol problem

2009-04-04 Thread mabshoff



On Apr 4, 3:12 pm, Carl Witty carl.wi...@gmail.com wrote:
 On Apr 3, 10:14 pm, William Stein wst...@gmail.com wrote:

SNIP

 Actually, I just realized I could check this for myself, so I did... I
 don't see anything about the OOM killer, but there is a recurring,
 strange error message about BUG: soft lockup - CPU#0 stuck for 11s!
 [python:8525].  I don't know what this means, or if it has anything
 to do with this problem.

Looks like a bug in the Ubuntu kernel. According to

  
http://muffinresearch.co.uk/archives/2008/08/20/ubuntu-bug-soft-lockup-cpu0-stuck-for-11s/

updating to the latest kernel for 8.04LTS should make this go away.

 Carl

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage-3.4 fails on gmp-mpir-0.9

2009-03-28 Thread mabshoff



On Mar 28, 4:52 am, Roger Mason rma...@esd.mun.ca wrote:
 Hello,

Hi Roger,

 I tried to post the above problem to sage-devel, as instructed by the
 failure report but my message was rejected.

You have to be subscribed.

 Here is the machine information:

SNIP

 The last bit of the install log is attached.

That isn't too helpful other than to determine that MPIR is
miscompiled. What is the output from gcc -v and what are the
environment variables CFLAGS and so on set to?

 Cheers,
 Roger Mason

Cheers,

Michael

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: sage.math out for a break?

2009-03-28 Thread mabshoff



On Mar 28, 1:48 pm, Justin C. Walker jus...@mac.com wrote:
 Hi,

 I can't get to sage.math: ports 80 (http) and 22 (ssh) don't respond  
 and attempts to connect time-out.  'ping' works, FWIW.

Must be a local problem, I can log in without problems. Things can be
a little slow via http, but that might be just the volume of
traffic  :)

 Justin

Cheers,

Michael

 --
 Justin C. Walker, Curmudgeon at Large
 Institute for the Absorption of Federal Funds
 ---
 Like the ski resort full of girls hunting for husbands
 and husbands hunting for girls, the situation is not
 as symmetrical as it might seem.
    - Alan MacKay
 --
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Strange construction in autogenerated Python

2009-03-26 Thread mabshoff



On Mar 26, 10:24 pm, Timothy Clemans timothy.clem...@gmail.com
wrote:
 Instead of actually modifying Python to fix some annoyances Sage uses
 IPython to preparse the code. For example in Sage 4 ^ 6 is preparsed
 into 4 ** 6.

Yep.

 On Thu, Mar 26, 2009 at 9:52 PM, Greg Kuperberg

 greg.kuperb...@gmail.com wrote:

  Hi.  I see that when I make file called foo.sage, sage precompiles it
  into another file called foo.py.  The code statement in this file is:

  _sage_const_2 = Integer(Integer(2))

  Surely this is wrong?  Maybe it does not matter if this Python code is
  only executed once.  But still it looks strange.

What Sage release are you using? In Sage 3.3 or so there was a bug so
that each input was preparsed twice, but that has since been fixed.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Clickable application

2009-03-19 Thread mabshoff



On Mar 19, 9:35 am, William Stein wst...@gmail.com wrote:
 On Thu, Mar 19, 2009 at 6:46 AM, Byungchul Cha cha3...@gmail.com wrote:

  I must misunderstand something very trivial. I followed the steps
  described at the release tour of Sage 3.3, except that I replaced 3.3
  with 3.4, since I thought I was compiling sage-3.4. Compiling was
  successful and when I did ./sage -bdist 3.4, I saw that this generated
  a directory SAGE_ROOT/dist. But, in the directory I have a dmg file
  and one subdirectory sage-3.4-i386-Darwin, which just looks like
  another copy of SAGE_ROOT. I don't see any clickable Mac OS X app
  anywhere, including in the disk image from the dmg file.

  What am I missing?

 I believe there were some bugs/kinks in the clickable app, so we still
 aren't making it by default when one does sage -bdist.

 William

Run

   SAGE_APP_BUNDLE=yes; export SAGE_APP_BUNDLE

before -bdisting and there App bundle will be created. As William
mentioned due to bugs this is not done per default at the moment.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Cannot copy on OSX

2009-03-16 Thread mabshoff



On Mar 15, 5:04 pm, Jim Clark jimfortheea...@earthlink.net wrote:
 On Mar 14, 2009, at 4:52 PM, mabshoff wrote:

Hi Jim,

 I have downloaded both Michael's .dmg and the one from http://
 sage.math.washington.edu/sage/osx/powerpc/index.html

 In both cases, after I start sage, it fails as follows:
 (My computer is a 300 MHz G3 running OSX 10.4.)

Hmm, I am not 100% sure the binary will run on a G3. IIRC some people
have reported working binaries on G3 CPUs, but that might have been a
while.

Can you check if the md5sum of the dmg matches?

mabsh...@sage:/scratch/mabshoff/sage-3.4$ md5sum ~/sage-3.4-OSX-10.4-
PowerMacintosh-Darwin.dmg
3285260d94023d27a86faeb05bd0dcef  /home/mabshoff/sage-3.4-OSX-10.4-
PowerMacintosh-Darwin.dmg

I do not think that this is the problem though - see below.

 --
 | Sage Version 3.4, Release Date: 2009-03-11                         |
 | Type notebook() for the GUI, and license() for information.        |
 --
 The SAGE install tree may have moved.
 Regenerating Python.pyo and .pyc files that hardcode the install PATH  
 (please wait at
 most a few minutes)...
 Do not interrupt this.


SNIP

 ImportError: dlopen(/Applications/sage/local/lib/python2.5/site-
 packages/sage/misc/randstate.so, 2): Library not loaded: /tmp/fooo/
 sage-3.4/local/lib/libgmp.3.dylib
Referenced from: /Applications/sage/local/lib//libcsage.dylib
Reason: no suitable image found.  Did find:
 /Applications/sage/local/lib//libgmp.3.dylib: incompatible
 cpu-subtype

This seems to be the trouble, i.e. the MPIR we build on OSX 10.4/PPC
is on a G4 and now seems to produce a library that does not run on a
G3. That might be caused by newer XCode releases, but I am not 100%
sure. I do not think that we changed anything inside MPIR that would
cause this.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Cannot copy on OSX

2009-03-16 Thread mabshoff



On Mar 16, 8:54 am, kcrisman kcris...@gmail.com wrote:
 It copied ok, but then...

SNIP

 ImportError: dlopen(/Users/.../sage/local/lib/python2.5/site-packages/
 sage/misc/randstate.so, 2): Library not loaded: /tmp/fooo/sage-3.4/
 local/lib/libgmp.3.dylib
   Referenced from: /Users/.../sage/local/lib//libcsage.dylib
   Reason: no suitable image found.  Did find:
         /Users/.../sage/local/lib//libgmp.3.dylib: incompatible cpu-
 subtype

SNIP

 And the same thing happens each time I try to use it.  I'm sorry to
 have to report that.  This is a G4 PPC running X.4.

Ok, it now looks like MPIR produces a library that does not work on a
G4 anymore. This makes this binary not very useful any more. There is
a G4 notebook in the Sage lab in Seattle, but it only has 256 MB RAM,
so building Sage on it takes forever. If we could upgrade the memory
it would be useful enough to build 10.4 PPC G4 binaries.

 - kcrisman

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Importing modules and packages from gobal python install

2009-03-16 Thread mabshoff



On Mar 16, 4:38 am, Ahmed Fasih wuzzyv...@gmail.com wrote:
 Flavio, I will defer to a more expert Sage user on importing global
 python libraries into Sage but I will offer my own experiences in
 installing libraries into Sage. Since Sage has a complete Python
 installation in it (accessible through sage -python), I have been
 able to install the few Python packages I needed directly into Sage
 (e.g., PyCUDA) by using sage -python instead of python in the
 installation instructions and explicitly giving the Sage root
 directory. If you give the names of the packages you're looking to use
 with Sage, I (or we) can try it on my machine.

If you want to install packages into Sage's Python run ./sage -sh
before using the 'normal' install mechanism to install the python
package, i.e. python setup.py install will then install into Sage's
python.

In theory you should be able to set PYTHONPATH and pull in packages
from another Python install, but in some cases this causes trouble
when you have different API releases or a python build with different
options, etc. In general it is possible of you know what you are
doing, but there are plenty if problems you might run into.

 On Mar 16, 6:26 am, Flavio Coelho fccoe...@gmail.com wrote:

  Hi,

  I want to have sage let me import from my global python installation,
  since I have packages installed there which are not available as sage
  packages. Is this possible?

  thanks in advance,

  Flávio

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: renaming the sage directory

2009-03-16 Thread mabshoff



On Mar 16, 4:33 am, Stan Schymanski schym...@gmail.com wrote:
 Dear all,

 When I re-name my sage directory on Mac OS 10.4.11, it usually re-
 codes the install path and works without any further complaints.
 However, since version 3.3 I noticed the following warning:

 --
 | Sage Version 3.3, Release Date: 2009-02-21                         |
 | Type notebook() for the GUI, and license() for information.        |
 --
 The SAGE install tree may have moved.
 Regenerating Python.pyo and .pyc files that hardcode the install PATH
 (please wait at
 most a few minutes)...
 Do not interrupt this.
 Warning: something went wrong updating the easy-install.pth file.

 Despite the warning, it seems to work alright. Do I need to worry
 about it?

No, the issue has been fixed in Sage 3.4 and was caused by an update
to setuptools that changed the format of install.pth slightly so that
the above warning was issued.

 Cheers,
 Stan

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Importing modules and packages from gobal python install

2009-03-16 Thread mabshoff



On Mar 16, 11:03 am, Flavio Coelho fccoe...@gmail.com wrote:
 Thanks Ahmed,

 I wish Sage could integrate better into my system, since I develop
 mainly in Python and wanted to be able to run my code from within
 Sage, but without having to have duplicate installs of the packages I
 need to import.

Well, PYTHONPATH should take care of most of that, but as mentioned
above you should know what you are doing in case you run into
problems.

 But for the time being, I think I'll do just that, but I would rather
 see a version of Sage that would take advantage of everything
 available on a standard Linux system instead of replicating it.

It plainly and simply does not work - http://wiki.sagemath.org/faq/bigsagerant

 thanks,

 Flávio

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Startup Problem

2009-03-16 Thread mabshoff



On Mar 16, 11:18 am, william wll...@gmail.com wrote:

Hi,

 Platform/OS: MAC OS X 10.5
 SAGE Version 3.0.2, Release Date: 2008-05-24

 Just after installing Sage, the startup time on my system increased
 significantly (it is now 2.5 minutes!).

Ok. Where did you install Sage? Does uninstalling Sage fix the
problem?

 I have nothing in the Login
 Items Systems Preferences. The only items in the /Library/Startup
 Items/ folder are a tap folder and a tun folder.

Sage has no component that hooks itself into the startup sequence of
OSX. Are you running any other extension to OSX? How do you know that
Sage causes the problem?

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Problem in Installation

2009-03-16 Thread mabshoff



On Mar 16, 5:53 am, Karthick btkarth...@gmail.com wrote:
 Hi,

Hi Karthick,

 i am a newbie to sage. i tried to install sage in my Fedora Linux
 machine. I downloaded the binary files one for Fedora named  sage-3.4-
 Fedora_release_9-i686-Linux.tar(1). As instructed i untar the file and
 rename the folder as Sage and moved to that folder and typed the
 command ./sage.  i got the Error as

You cut off too much of the error message so I cannot tell what went
wrong.

Either way, you likely downloaded the wrong binary. What linux
distribution are you running *exactly* ?

SNIP

 Is am missing something which is very basically required?

 Please Help..

 PS: Python is not installed in my Machine.

You do not need a local python since it is included in Sage.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage 3.4 on SuSE Enterprise Server

2009-03-15 Thread mabshoff



On Mar 15, 10:55 pm, Miron miroslaw.r...@csiro.au wrote:
 Hello,

Hi Miron,

 I have tried to build Sage 3.4 on SuSE Enterprise Server 10.2 but got
 an error:

    checking whether gcc is new enough... configure: error: please
 upgrade to gcc 3.x or 4.x
    ERROR: You do not have all of the prerequisites needed
    to build SAGE from source.  See the errors above.
    make[1]: *** [installed/prereq-0.3] Error 1
    make[1]: Leaving directory `/disk1/download/new/sage-3.4/spkg'

 My gcc version is 4.1.2.  Any advice greatly appreciated.

We regularly test on

mabsh...@iras:~ cat /etc/SuSE-release
SUSE Linux Enterprise Server 10 (ia64)
VERSION = 10
PATCHLEVEL = 1
mabsh...@iras:~ gcc -v
Using built-in specs.
Target: ia64-suse-linux
Configured with: ../configure --enable-threads=posix --prefix=/usr --
with-local-prefix=/usr/local --infodir=/usr/share/info --mandir=/usr/
share/man --libdir=/usr/lib --libexecdir=/usr/lib --enable-
languages=c,c++,objc,fortran,obj-c++,java,ada --enable-
checking=release --with-gxx-include-dir=/usr/include/c++/4.1.2 --
enable-ssp --disable-libssp --disable-libgcj --with-slibdir=/lib --
with-system-zlib --enable-shared --enable-__cxa_atexit --enable-
libstdcxx-allocator=new --program-suffix= --enable-version-specific-
runtime-libs --with-system-libunwind --host=ia64-suse-linux
Thread model: posix
gcc version 4.1.2 20070115 (prerelease) (SUSE Linux)

Could you provide the output from gcc -v so we can figure out what is
going on?

 miron.

 (sorry for accidental posting of incomplete message)

:)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Sage 3.4 on Fedora: cannot execute binary file

2009-03-14 Thread mabshoff



On Mar 14, 10:24 am, William Stein wst...@gmail.com wrote:
 On Sat, Mar 14, 2009 at 10:16 AM, davidp dav...@reed.edu wrote:

  Is it strange, then, to list this binary under 32bit:

 http://sagemath.org/bin/linux/32bit/index.html

  Also, I don't see a release for i686.  Perhaps that will come later.

 That's a mistake.  Michael can you fix it?

Yeah, I am non it. I moved the 64 bit build to the 64 bit folder and I
am a little confused it ended up there in the first place. Oh well,
sorry for the screwup.

 William

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Cannot copy on OSX

2009-03-14 Thread mabshoff



On Mar 13, 11:30 am, Carl Witty carl.wi...@gmail.com wrote:
 On Mar 13, 11:02 am, mabshoff michael.absh...@mathematik.uni-

 dortmund.de wrote:
  On Mar 13, 10:55 am, kcrisman kcris...@gmail.com wrote:
   Any ideas?

  The build box where that binary is being build had some changes to the
  file system layout, i.e. William might have build on an NFS mount
  instead of a local file system. I did a build on a local file system,
  so once I find some time I will get that binary uploaded to test if it
  makes a difference.

 It looks like the build was done on a case-sensitive filesystem,
 probably?


Yep. I have a build from a HFS partition - see

  
http://sage.math.washington.edu/home/mabshoff/sage-3.4-OSX-10.4-PowerMacintosh-Darwin.dmg

can someone confirm that it works so I can upload it to the website?

 Carl

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Cannot copy on OSX

2009-03-13 Thread mabshoff



On Mar 13, 10:55 am, kcrisman kcris...@gmail.com wrote:
 Dear Support,

 Just downloaded a binary for 3.4 for OSX.4 off the webpage, and it
 won't fully copy from the dmg to my computer.  To be precise, I get
 the following type of complaint:

 'You cannot copy some of these items to the destination because their
 names are the same as the names of items on the destination, except
 for the case of some characters.'

 The item it is referring to is in local/bin, namely singular vs.
 Singular vs. Singular-3-0-4 vs. TSingular.  I don't tend to use
 Singular too much, so I'm tempted to just delete the file it's
 complaining about (singular, lower-case, whose total content is #!/
 bin/sh Singular-3-0-4 $*), but this seems very odd to me; I've never
 seen a Mac complain about this sort of capitalization thing before.

I wouldn't delete anything like that. It will likely break something
for the Sage - Singular interface.

 Any ideas?

The build box where that binary is being build had some changes to the
file system layout, i.e. William might have build on an NFS mount
instead of a local file system. I did a build on a local file system,
so once I find some time I will get that binary uploaded to test if it
makes a difference.

 - kcrisman

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: recompile sage in MAC OSX

2009-03-13 Thread mabshoff



On Mar 13, 12:02 pm, John H Palmieri jhpalmier...@gmail.com wrote:
 On Mar 13, 7:29 am, Norbert Werner Sauer nsa...@math.ucalgary.ca
 wrote:

  Hi;
  I changed the delimiters of matrices in the file:

 By the way, in the latest version of Sage (3.4), you can use the
 command

 'sage.matrix.matrix0.set_matrix_latex_delimiters([, ])'

 to change from parentheses to square brackets.  Since sage 3.4 is not
 available (as far as I can tell) in a compiled version, you still need
 to follow the other suggestions here to get gcc in order to build it.

The sagemath.org download section now has most binaries available. The
official announcement should go out tonight as the binaries are
mirroring out and I have to finish the release notes :)

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: Build sage 3.4 failed. Missing fortran flags

2009-03-12 Thread mabshoff



On Mar 12, 7:54 am, koch.peerjoac...@googlemail.com
koch.peerjoac...@googlemail.com wrote:
 Hi,

Hi,

 I'm trying to build sage from the source on our cluster.
 The cluster is running under SLES9SP3 (all AMD Opterons).
 We are normaly using PGI compiler (8.0.X) for fortran. The
 installation is using gcc 4.2.1 from /usr/local/bin.
 I tried to set F77, F90 and so on and also tried
 to set sage_fortran to the pgi compiler, but it always fails compiling
 the ATLAS stuff:

 So howto compile with a pgi fortran compiler, when no gfortran is
 installed ?

The PGI compiler is currently not supported. I plan to fix some
Fortran setup issues in Sage to support it in the not too distant
future, but it will be on SiCortex and it will take a while to fix all
the various bits depending on Fortran like Scipy.

Sage comes with a binary g95, so if you do not have gfortran installed
you should use that one.

What exactly did you do before starting make?

 Bye, Peer


Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



  1   2   3   4   5   6   7   >