Hi Will, > Hey, that code is really pretty. Mind if I include it in Sage soon? That > would make it easier for other people to try it out and contribute back.
Thanks! I'd be thrilled. Still working hard on optimization, so since it's only a "secondary" algorithm so to speak, I'd like to wait just a little bit. > > sage: time enumerate_totallyreal_fields(8,14^8) > > and after about an hour I got the error message. > > What is RAM usage like? It's possible it ran out. The RAM required for the algorithm is trivial. In the cases I'm running, very few number fields are generated. (Other than that, I'm only ever storing a bunch of real roots of derivatives and the polynomial, which is a short sequence of ints...) > > So far, I am able to overcome the problem by breaking it up into > > pieces, but I worry what else is going on. > > The first thing I would do is run sage like this: > > sage -gdb Frustrating. I tried to run some smaller examples, and now it seems to run and give correct answers, but I looked over the output generated (printed to a file), and where it is supposed to print a sequence of integers, after a while it instead prints things like [<refcnt -904753867 at 0x816a094>, 17, 22, -25, -70, -49, -9... I'll stop trying to be more clever and just run the thing that crashed before. > It's amazing a computer I bought over 6 years ago is still getting > serious use. Note that the OS hasn't been upgraded in a very > long time, as illustrated by the uptime on node 4: Meccah is the best. :) Thanks so much for letting me toil away on it while I get a cluster situation worked out here at UVM... Assistant Professor of Mathematics University of Vermont [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.cems.uvm.edu/~voight/ --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-devel@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---