On Sat, Dec 6, 2008 at 3:10 AM, bourbabis <[EMAIL PROTECTED]> wrote:
>
> Hello.
> Sorry, I should have exposed my case more thoroughly.
>
> You said : "Why are you trying to building
> again after compilation of a given package fails?  Won't it just fail
> again?"
>
> No. For example, I've tried to compile Atlas (the process takes
> about 5 hours), may be 4 or 5 times and the last attempt it succeeded.
> But before it happened, during the previous attempts, sometime it
> failed
> after 3/4 hours, losing all the files generated because installation
> script unpacked again Atlas. This is what I'm pointing out
> in my post, asking if it's possible to keep this object files to save
> time.
> Same symptoms with Linbox.
> Only the stuff within "sage-3.2/.hg" reluctantly failed. Thus my post.
>
> You said : "Are you modifying the package in the meantime"
> No again, I haven't modified even a single bit within the source.
>
> For information :
> It's a Atlhon and CPU "throttle" is inactive.
> Mister Mabshoff has suggested an overheating CPU problem,

I'm sure "Mister Mabshoff" is right given the symptoms.  We build sage
on literally dozens and dozens of boxes, and the behavior you list
below very (very) clearly suggests a hardware failure.

That said, since you are not faint of heart, you can often continue
the compilation of a given component as follows:

...
things break building e.g., foo-1.spkg
$ sage -sh
$ cd SAGE_ROOT/spkg/build/foo-1
$ Look at the file spkg-install and try to understand it.
   Type directly at the command line whatever else wasn't
    finished in spkg-install until you get the compilation to finish
    successfully and install everything
$ cd SAGE_ROOT/spkg/installed
$ touch foo-1
$ exit

The touch line up there tells sage to believe that foo-1 was installed
successfully.

Exactly what CPU/OS are you using?  It's possible we could build
binaries for it so
you don't have to install from source...

 -- William

> but I'm slightly dubious, because I compile with gcc
> various softwares and tackle *heavy* calculations with
> Sage-2.11, without problem, on a regular basis.
> So why problems should occur only with Sage
> compilation ?
>
> I can post you the whole install log but I think
> it's not very useful because the failure point constantly varies
> (however always reporting a "status 11" error).
>
> Thanks again.
>
> A snippet of log :
>
> ################################################################
>
>                         ...
>
> python2.5 `which cython` --embed-positions --incref-local-binop
> -I/home/mainuser/Temporaire/Vrac/sage-3.2/devel/sage-main -o
> sage/rings/polynomial/laurent_polynomial.c sage/rings/polynomial/
> laurent_polynomial.pyx
> Error running command, exited with status 11.
> sage: There was an error installing modified sage library code.
>
> Error building new version of SAGE.
>
> real 141m21.571s
> user 137m23.847s
> sys  1m11.348s
> sage: An error occurred while installing sage-3.2
> Please email sage-devel http://groups.google.com/group/sage-devel
> explaining the problem and send the relevant part of
> of /home/mainuser/Temporaire/Vrac/sage-3.2/install.log.
> Describe your computer, operating system, etc.
>
> If you want to try to fix the problem, yourself *don't* just cd to
> /home/mainuser/Temporaire/Vrac/sage-3.2/spkg/build/sage-3.2 and type
> 'make'.
> Instead type "/home/mainuser/Temporaire/Vrac/sage-3.2/sage -sh"
> in order to set all environment variables correctly, then cd to
> /home/mainuser/Temporaire/Vrac/sage-3.2/spkg/build/sage-3.2
> (When you are done debugging, you can type "exit" to leave the
> subshell.)
> make[1]: *** [installed/sage-3.2] Error 1
> make[1]: Leaving directory `/home/mainuser/Temporaire/Vrac/sage-3.2/
> spkg'
>
> real  143m25.058s
> user  138m8.238s
> sys   1m14.693s
>
> ################################################################
>
>
> >
>



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

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

Reply via email to