----- "Bin Zhang" <[EMAIL PROTECTED]> a écrit :

> Bin Zhang wrote:
> > mabshoff wrote:
> >   
> >> On Jun 25, 1:09 pm, Bin Zhang <[EMAIL PROTECTED]> wrote:
> >>   
> >>     
> >>> Hi,
> >>>     
> >>>       
> >> Hi Bin,
> >>
> >>   
> >>     
> >>> I want to know what is the status of support for Linux powerpc.
> >>>     
> >>>       
> >> It usually works, due to access to fast hardware (I also have a G4
> >> iBook) I rarely build it. But any problem should be reported and
> >> fixed.
> >>
> >>   
> >>     
> >>> Linux powerpc is not mentioned in sage-3.0.3/README.txt, but with
> the
> >>> help
> ofhttp://groups.google.com/group/sage-devel/browse_frm/thread/2f8044191...
> >>> (libgfortran.so problem with ATLAS), I have compiled sage on my
> ibook
> >>> G4 1.2 GHz (debian powerpc unstable). It is very, very long to
> compile
> >>> ATLAS.
> >>>     
> >>>       
> >> I added some tuning info for ATLAS for my 1.3GHz G4, but it looks
> like
> >> the one you have is not properly identified. Could you post the
> output
> >> of "cat /proc/cpuinfo" - that way I can likely fix the problem
> with
> >> the long ATLAS compile.
> >>   
> >>     
> >
> > $ cat /proc/cpuinfo
> > processor    : 0
> > cpu        : 7447A, altivec supported
> > clock        : 1199.999000MHz
> > revision    : 0.1 (pvr 8003 0101)
> > bogomips    : 73.47
> > timebase    : 18432000
> > platform    : PowerMac
> > machine        : PowerBook6,5
> > motherboard    : PowerBook6,5 MacRISC3 Power Macintosh
> > detected as    : 287 (iBook G4)
> > pmac flags    : 0000001b
> > L2 cache    : 512K unified
> > pmac-generation    : NewWorld
> >
> >
> >   
> 
> In my install.log:
> 
> ---------------------------------------
> make[2]: Leaving directory 
> `/Archives/build/sage/sage-3.0.3/spkg/build/atlas-3.8
> .1.p1/ATLAS-build'
> 
> OS configured as Linux (1)
> 
> Assembly configured as GAS_PPC (4)
> 
> Bad VECFLAG value=0, ierr=0, ln2='VECFLAG=0
> '
> 
> Vector ISA Extension configured as   (0,0)
> 
> Bad MACHTYPE value=0, ierr=0, ln2='MACHTYPE=0
> '
> 
> Architecture configured as  UNKNOWN (0)
> 
> Bad CPU MHZ value=0, ierr=0, ln2='CPU MHZ=0
> '
> 
> Clock rate configured as 0Mhz
> CPU Throttling apparently enabled!
> ------------------------------------------------------------------
>

Maybe I advanced a little in this problem. I found that your patch 
ATLAS-3.8.1-ppc-g4-7447-detect-fix.patch is not applied in sage. After applying 
this patch, it can detect architecture PPCG4. Here are the result with 
atlas-3.8.1.p2 in 3.0.4.alpha1:
---------------------------------------
OS configured as Linux (1)

Assembly configured as GAS_PPC (4)

Bad VECFLAG value=0, ierr=0, ln2='VECFLAG=0
'

Vector ISA Extension configured as   (0,0)

Architecture configured as  PPCG4 (4)

Bad CPU MHZ value=0, ierr=0, ln2='CPU MHZ=0
'

Clock rate configured as 0Mhz
-----------------------------------

and 

-----------------------------
real    62m10.407s
user    47m47.740s
sys     4m38.025s
Successfully installed atlas-3.8.1.p2
-------------------------------

For comparison (atlas-3.8.1p1 in sage-3.0.3) I need long time:
-------------------------
real    450m35.791s
user    371m58.504s
sys     16m33.417s
Successfully installed atlas-3.8.1.p1
-----------------------------------------

Thanks
Bin

> Thanks,
> Bin
> 
> > Thanks,
> > Bin
> >
> >   
> >>   
> >>     
> >>> ---------------------------------
> >>> real    878m43.587s
> >>> user    726m51.514s
> >>> sys     47m16.318s
> >>> To install gap, gp, singular, etc., scripts
> >>> in a standard bin directory, start sage and
> >>> type something like
> >>>    sage: install_scripts('/usr/local/bin')
> >>> at the SAGE command prompt.
> >>>
> >>> SAGE build/upgrade complete!
> >>> ----------------------------------
> >>>
> >>> Thanks,
> >>> Bin
> >>>     
> >>>       
> >> Cheers,
> >>
> >> Michael
> >>     
> >>   
> >>     
> >
> >
> > >
> >   
> 
> 
>

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@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-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to