[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: compiling atlas2 on athlon



Greetings!

Adam C Powell IV <hazelsct@mit.edu> writes:

> This is a multi-part message in MIME format.
> --------------0D858E01FD356C25F68459F3
> Content-Type: text/plain; charset=us-ascii
> Content-Transfer-Encoding: 7bit
> 
> Hello,
> 
> This reminds me, atlas doesn't build on PPC.  debian/config.expect needs
> the attached patch, and then it fails while trying to compile
> tune/sysinfo/Linux/muladd.c: the compiler eats up all available memory
> (96 MB) and swap (135 MB), then X crashes and boots me back to gdm!
> 

An update here.  This is definitely a compiler bug on this platform.
Removing the default -funroll-loops default optimization option delays
compilation failure somewhat further, but still winds up with an
"Illegal instruction" (!) produced in the assembly.  Even with just
-g, the xfindCE binary segfaults.  I'll try to find time to file a bug
against the compiler, but it looks hopeless for atlas on PPC for now.

Perhaps I could try gcc 2.7.3, if it existed on PPC.  Anyone have any
experience which might indicate that this would be worth a try?  Or
any PPC users care to share an insight as to what compiler weakness is
most likely being touched on here?  

Take care,

> It's such a little file too, maybe it's trying to unroll some recursion
> and infinite looping?  I haven't really looked into it.
> 
> It would be nice to get this working, I know my 160 MHz 603e can go
> faster than the 13 MFlops it gets with blas1. :-)
> 
> Zeen,
> 
> -Adam P.
> 
>           Welcome to the best software in the world today cafe!
> 
> --------------0D858E01FD356C25F68459F3
> Content-Type: text/plain; charset=us-ascii;
>  name="patch-atlas"
> Content-Transfer-Encoding: 7bit
> Content-Disposition: inline;
>  filename="patch-atlas"
> 
> --- atlas-3.0.old/debian/config.expect	Fri Sep 15 09:15:11 2000
> +++ atlas-3.0/debian/config.expect	Sat Sep  9 20:02:57 2000
> @@ -7,6 +7,7 @@
>  	"Are you using a cross-compiler?" {send "\n" ; exp_continue} \
>  	"   use express setup?" {send "\n" ; exp_continue} \
>  	-re "(ARCH).*:" {send "Linux\n" ; exp_continue} \
> +	"machine number" {send "\n" ; exp_continue} \
>  	"old subdirectores?" {send "y\n" ; exp_continue} \
>  	"values for install?" {send "y\n" ; exp_continue} \
>  	"overwrite it?" {send "y\n" ; exp_continue} \
> 
> --------------0D858E01FD356C25F68459F3--
> 
> 
> --  
> To UNSUBSCRIBE, email to debian-beowulf-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> 
> 
> 

-- 
Camm Maguire			     			camm@enhanced.com
==========================================================================
"The earth is but one country, and mankind its citizens."  --  Baha'u'llah



Reply to: