In my experience the files that needs more resources when building Sage are the ones in the sage interfase for linbox (i.e. src/interfaces/sage/linbox-sage.C) It would be really nice if something can be done to speed up the compilation of this file and make it use less memory (so that sage can be built in a machine with less resources) Pablo
On Tue, Jul 6, 2010 at 6:10 AM, Dr. David Kirkby <david.kir...@onetel.net> wrote: > Since building packages in parallel has speeded up the build process > immensely, I thought I'd have a look at what stops it running even quicker. > Although I've not done any systematic tests, on my OpenSolaris Ultra 27, > I've come to the conclusion there are 3 parts taking up a lot of the build > process. > > 1) Building Maxima > 2) Building Singular > 3) Building the Sage library. > > Let's consider what can be done about these > > 1) Maxima. > This is designed to be built in parallel, but it unreliable to do so. I > don't say it would be an easy task, but finding out why that goes wrong > could save a lot of time. > > 2) Singular. > I believe it was Francois has said we are building a load of unnecessary > target. > > 3) The Sage library. > Is it really necessary for endless calls to > > python `which cython` > > to all be run serially? Could these be done in parallel? > > BTW, the use of 'which' is not a good idea. First its non portable. > Secondly, do we not know the patch of cython? If so, why is it not > hard-coded? That will save some time. One a 3.33 GHz machine, the overhead > in calling 'which' is about 5 ms. I don't know how many times its called, > but it must be hundreds, if not thousands. > > Do others fine these 3 parts (Maxima, Singular and Sage library) the > bottleneck in building Sage? If not, what are the bits that take a long time > on your systems? > > When Sage was taking hours to build on my old SPARCs, I tended to leave > running and got to bed and hope it had built the next morning. Now with > parallel builds completing in about 40 minutes on my Sun Ultra 27, I tend to > stare at the workstation all the time. So in some ways 40 minutes is more > annoying that many hours! > > Dave > > Dave > > -- > To post to this group, send an email to sage-devel@googlegroups.com > To unsubscribe from this group, send an email to > sage-devel+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/sage-devel > URL: http://www.sagemath.org > -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org