Re: [sage-devel] Re: Build did not work 4.3.5 Ubuntu 9.10 (atlas-3.8.3.p12)

2010-04-15 Thread Robert Bradshaw

On Apr 15, 2010, at 9:28 AM, Bruce Cohen wrote:


I now remember that I did have a 5 hour scp file transfer running that
night.  It is a brand new machine, so I was bringing over a tar file
from an old machine on my network.  I will try again tonight.  It is
disappointing that that the new quad core i7 (purchased to do Sage
work) could not handle two tasks.  We'll see.


That would probably do it. It's probably not a question of being  
overloaded so much as being inconsistently loaded, making the ATLAS  
timing/tuning parameter graphs to erratic to optimize against. The  
suggestions on this thread are good if you're not able to get it going  
tonight.


- Robert

--
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 unsubscribe, reply using "remove me" as the subject.


Re: [sage-devel] Re: Build did not work 4.3.5 Ubuntu 9.10 (atlas-3.8.3.p12)

2010-04-15 Thread William Stein
On Thu, Apr 15, 2010 at 9:37 AM, John Cremona  wrote:
> Atlas is supposed to find out what sort of processor your machine has
> automatically and then use tuning data for that.  But it is not
> perfect at detecting the processor type, so then it goess of to do
> this tuning stuff which takes hours.  The same happened to me when I
> got a new laptop in 2008.  Until Sage upgraded Atlas the only was I
> found to stop this (very) time-consuming step happening for every Sage
> build (often unsuccessfully) was to keep the previous successful
> build.
>
> Once you have a good build of Atlas, take a copy of SAGE_ROOT/local;
> and set SAGE_ATLAS to point to that copied directory.  then when you
> build Sage it will use that copy of Atlas instead of rebuilding it.
>
> John
>
> On 15 April 2010 17:28, Bruce Cohen  wrote:
>> I now remember that I did have a 5 hour scp file transfer running that
>> night.  It is a brand new machine, so I was bringing over a tar file
>> from an old machine on my network.  I will try again tonight.  It is
>> disappointing that that the new quad core i7 (purchased to do Sage
>> work) could not handle two tasks.  We'll see.

If that doesn't work, you might try building after first typing

   export SAGE_FAT_BINARY="yes"

This will result in a Sage that is non-optimal at numerical linear
algebra computations.  But ATLAS will I think be much more likely to
build, since it just uses some minimal default configuration.

William

-- 
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 unsubscribe, reply using "remove me" as the subject.


Re: [sage-devel] Re: Build did not work 4.3.5 Ubuntu 9.10 (atlas-3.8.3.p12)

2010-04-15 Thread John Cremona
Atlas is supposed to find out what sort of processor your machine has
automatically and then use tuning data for that.  But it is not
perfect at detecting the processor type, so then it goess of to do
this tuning stuff which takes hours.  The same happened to me when I
got a new laptop in 2008.  Until Sage upgraded Atlas the only was I
found to stop this (very) time-consuming step happening for every Sage
build (often unsuccessfully) was to keep the previous successful
build.

Once you have a good build of Atlas, take a copy of SAGE_ROOT/local;
and set SAGE_ATLAS to point to that copied directory.  then when you
build Sage it will use that copy of Atlas instead of rebuilding it.

John

On 15 April 2010 17:28, Bruce Cohen  wrote:
> I now remember that I did have a 5 hour scp file transfer running that
> night.  It is a brand new machine, so I was bringing over a tar file
> from an old machine on my network.  I will try again tonight.  It is
> disappointing that that the new quad core i7 (purchased to do Sage
> work) could not handle two tasks.  We'll see.
>
> -Bruce
>
> On Apr 15, 7:51 am, Bruce Cohen  wrote:
>> The job ran overnight and nothing else was going on.   Perhaps I
>> should try again tonight.
>>
>> -Bruce
>>
>> On Apr 14, 11:18 pm, Robert Bradshaw 
>> wrote:
>>
>>
>>
>> > On Apr 14, 2010, at 11:12 PM, Bruce Cohen wrote:
>>
>> > > I have a new machine with Ubuntu 9.10 (32 bit).   My first build of
>> > > Sage (4.3.5) did not work.  Here is a 100 line (maybe too many lines,
>> > > maybe too little) of install.log.
>>
>> > > Thanks for your help.
>>
>> > > -Bruce
>>
>> > How loaded is your machine?
>>
>> > > make[3]: *** [build] Error 255
>> > > make[3]: Leaving directory `/home/bic/src/sage-4.3.5/spkg/build/
>> > > atlas-3.8.3.p12/ATLAS-build'
>> > > make[2]: *** [build] Error 2
>> > > make[2]: Leaving directory `/home/bic/src/sage-4.3.5/spkg/build/
>> > > atlas-3.8.3.p12/ATLAS-build'
>> > > Failed to build ATLAS.
>> > > ATLAS failed to build for the 1-th time, possibly because of a
>> > > loaded system, so we will automatically try again up to 4 more times.
>> > > Waiting 9 minutes...
>> > > ATLAS failed to build for the 2-th time, possibly because of a
>> > > loaded system, so we will automatically try again up to 3 more times.
>> > > Waiting 10 minutes...
>> > > ATLAS failed to build for the 3-th time, possibly because of a
>> > > loaded system, so we will automatically try again up to 2 more times.
>> > > Waiting 10 minutes...
>> > > ATLAS failed to build for the 4-th time, possibly because of a
>> > > loaded system, so we will automatically try again up to 1 more times.
>> > > Waiting 7 minutes...
>> > > Too many failures to build ATLAS.  Giving up!
>>
>> > ATLAS seems to be having issues getting reliable timings for its tuning.
>>
>> > - Robert
>
> --
> 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 unsubscribe, reply using "remove me" as the subject.
>

-- 
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