#9530: Improve/fix readline workarounds for Arch Linux and openSUSE, again 
broken
on OpenSUSE 11.2 and 11.3
----------------------------------------------+-----------------------------
   Reporter:  baechler                        |       Owner:  GeorgSWeber       
      
       Type:  defect                          |      Status:  needs_review      
      
   Priority:  critical                        |   Milestone:  sage-4.6          
      
  Component:  build                           |    Keywords:  Arch Linux SuSE 
readline
     Author:  Thomas Bächler, Leif Leonhardy  |    Upstream:  N/A               
      
   Reviewer:                                  |      Merged:                    
      
Work_issues:                                  |  
----------------------------------------------+-----------------------------

Comment(by drkirkby):

 Undoubtadly unrelated, but I can't get ATLAS to build, in the virtual
 machine:

 {{{
 gcc -DL2SIZE=4194304
 -I/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/include -I/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16
 /ATLAS-build/../src//include
 -I/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle
 -DATL_OS_Linux -DATL_ARCH_Corei7 -DATL_CPUMHZ=3324 -DATL_SSE3 -DATL_SSE2
 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -fomit-frame-pointer
 -mfpmath=sse -msse3 -O2 -fno-schedule-insns2 -fPIC -m64 -DATL_BETA=1 -c
 dmm.c
 gcc -DL2SIZE=4194304
 -I/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/include -I/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16
 /ATLAS-build/../src//include
 -I/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle
 -DATL_OS_Linux -DATL_ARCH_Corei7 -DATL_CPUMHZ=3324 -DATL_SSE3 -DATL_SSE2
 -DATL_SSE1 -DATL_USE64BITS -DATL_GAS_x8664  -fomit-frame-pointer
 -mfpmath=sse -msse3 -O2 -fno-schedule-insns2 -fPIC -m64 -o xdfc dfc.o
 dmm.o \
 /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/sysinfo/time.o
 /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/bin/ATLrun.sh /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16
 /ATLAS-build/tune/blas/gemm xdfc
 Near-zero time 0.000000e+00 rejected
 Near-zero time 0.000000e+00 rejected
 Near-zero time 0.000000e+00 rejected
 Near-zero time 0.000000e+00 rejected
 Near-zero time 0.000000e+00 rejected
 Too many zero-time values, dying
 make[7]: *** [dmmcase0] Error 255
 make[7]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 make[6]: *** [mmcase] Error 2
 make[6]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 Error in command:  make mmcase pre=d loopO=JIK ta=T tb=N M=60 N=60 K=60
 mb=60 nb=60 kb=60 lda=60 ldb=60 ldc=0 lda2=60 ldb2=60 ldc2=0 mu=4 nu=2
 ku=60 alpha=1 beta=1 muladd=1 lat=5 cleanup=1 ff=1 if=8 nf=1 pfA=513
 mmnreg = 19

 NB's to try: 60


 pre=d, muladd=0, lat=1, pf=0, nb=35, mu=5, nu=1, ku=35, mflop=2269.50

 pre=d, muladd=0, lat=1, pf=0, nb=35, mu=5, nu=1, ku=35, mflop=2269.50

 pre=d, muladd=0, lat=1, pf=0, nb=36, mu=4, nu=1, ku=36, mflop=7056.25

 pre=d, muladd=1, lat=1, pf=0, nb=36, mu=4, nu=1, ku=36, mflop=15572.92
 make[5]: *** [RunMMDef] Error 255
 make[5]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 make[4]: *** [IRunMMDef] Error 2
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cp /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm/res/dMMRES INSTALL_LOG/.
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cp /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm/res/dNCNB INSTALL_LOG/.
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cp /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm/res/dbestNN_44x44x44 INSTALL_LOG/.
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cp /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm/res/dbestNT_44x44x44 INSTALL_LOG/.
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cp /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm/res/dbestTN_44x44x44 INSTALL_LOG/.
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cp /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm/res/dbestTT_44x44x44 INSTALL_LOG/.
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cd /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm ; make dinstall
 make[5]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 ./xemit_mm  -p d -R -2
 pre=d, CU=0, ma=0, ff=0, if=-1, nf=-1, lo=1, ta=112, tb=111, lat=4, mu=4,
 nu=4, ku=1, m=0, n=0, k=0, lda=0, ldb=0, ldc=0, csA=1, csB=1, csC=1,
 alpha=1, beta=1

 line 4023 of /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/emit_mm.c
 line 4025 of /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/emit_mm.c
 line 4027 of /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/emit_mm.c
 line 3770 of /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/emit_mm.c
 line 3772 of /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/emit_mm.c
 line 3774 of /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/emit_mm.c
 cat: CASES/: Is a directory
 xemit_mm: /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/../src//tune/blas/gemm/emit_mm.c:3737: GenAllUNBCases: Assertion
 `system(ln) == 0' failed.
 make[5]: *** [dinstall] Aborted
 make[5]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 make[4]: *** [MMinstall] Error 2
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cd /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm ; make res/atlas_cacheedge.h pre=d
 make[5]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 make dRunFindCE
 make[6]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 cd /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/blas/gemm ; make dlib
 make[7]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/blas/gemm'
 make auxillib dcleanuplib dusergemm
 make[8]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/blas/gemm'
 cd /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/auxil ; make lib
 make[9]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/auxil'
 make[9]: Nothing to be done for `lib'.
 make[9]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/auxil'
 cd KERNEL ; make -f dMakefile dlib
 make[9]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/blas/gemm/KERNEL'
 make[9]: dMakefile: No such file or directory
 make[9]: *** No rule to make target `dMakefile'.  Stop.
 make[9]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/blas/gemm/KERNEL'
 make[8]: *** [dcleanuplib] Error 2
 make[8]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/blas/gemm'
 make[7]: *** [dlib] Error 2
 make[7]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/src/blas/gemm'
 make[6]: *** [dmmlib] Error 2
 make[6]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 make[5]: *** [res/atlas_cacheedge.h] Error 2
 make[5]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-
 build/tune/blas/gemm'
 make[4]: *** [/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16
 /ATLAS-build/tune/blas/gemm/res/atlas_cachedge.h] Error 2
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 ERROR 639 DURING CACHE EDGE DETECTION!!.
 make[4]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 cd /home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build ;
 make error_report
 make[5]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build'
 make -f Make.top error_report
 make[6]: Entering directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build'
 uname -a 2>&1 >> bin/INSTALL_LOG/ERROR.LOG
 gcc -v 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
 Using built-in specs.
 COLLECT_GCC=gcc
 COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.5/lto-wrapper
 Target: x86_64-suse-linux
 Configured with: ../configure --prefix=/usr --infodir=/usr/share/info
 --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64
 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-
 checking=release --with-gxx-include-dir=/usr/include/c++/4.5 --enable-ssp
 --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/
 --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap
 --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-
 libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-
 runtime-libs --program-suffix=-4.5 --enable-linux-futex --without-system-
 libunwind --enable-gold --with-plugin-ld=/usr/bin/gold --with-arch-32=i586
 --with-tune=generic --build=x86_64-suse-linux
 Thread model: posix
 gcc version 4.5.0 20100604 [gcc-4_5-branch revision 160292] (SUSE Linux)
 gcc -V 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
 gcc: '-V' option must have argument
 make[6]: [error_report] Error 1 (ignored)
 gcc --version 2>&1  >> bin/INSTALL_LOG/ERROR.LOG
 tar cf error_Corei764SSE3.tar Make.inc bin/INSTALL_LOG/*
 gzip --best error_Corei764SSE3.tar
 mv error_Corei764SSE3.tar.gz error_Corei764SSE3.tgz
 make[6]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build'
 make[5]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build'
 make[4]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build/bin'
 Error report error_<ARCH>.tgz has been created in your top-level ATLAS
 directory.  Be sure to include this file in any help request.
 cat: ../../CONFIG/error.txt: No such file or directory
 cat: ../../CONFIG/error.txt: No such file or directory


 IN STAGE 1 INSTALL:  SYSTEM PROBE/AUX COMPILE


    Level 1 cache size calculated as 32KB
    dFPU: Separate multiply and add instructions with 5 cycle pipeline.
          Apparent number of registers : 17
          Register-register performance=802.87MFLOPS
    sFPU: Separate multiply and add instructions with 4 cycle pipeline.
          Apparent number of registers : 17
          Register-register performance=877.97MFLOPS


 IN STAGE 2 INSTALL:  TYPE-DEPENDENT TUNING


 STAGE 2-1: TUNING PREC='d' (precision 1 of 4)


    STAGE 2-1-1 : BUILDING BLOCK MATMUL TUNE
 make -f Makefile IRunMMDef pre=d 2>&1 | ./xatlas_tee
 INSTALL_LOG/dMMSEARCH.LOG
 make -f Makefile INSTALL_LOG/dMMRES pre=d 2>&1 | ./xatlas_tee
 INSTALL_LOG/dMMSEARCH.LOG
       dL1MATMUL: lat=5, nb=60, pf=513, mu=4, nu=2, ku=60, if=8, nf=1;
                  Performance: -4730.15 (-142.30 percent of of detected
 clock rate)
 make -f Makefile INSTALL_LOG/dNCNB pre=d 2>&1 | ./xatlas_tee
 INSTALL_LOG/dMMSEARCH.LOGmake -f Makefile INSTALL_LOG/dbestNN_44x44x44
 pre=d nb=44 2>&1 | ./xatlas_tee INSTALL_LOG/dMMSEARCH.LOG      NCgemmNN :
 muladd=1, lat=8, pf=513, nb=44, mu=4, nu=2 ku=44,
                  ForceFetch=1, ifetch=8 nfetch=1
                  Performance = -4637.83 (98.05 of copy matmul, -139.53 of
 clock)
 make -f Makefile INSTALL_LOG/dbestNT_44x44x44 pre=d nb=44 2>&1 |
 ./xatlas_tee INSTALL_LOG/dMMSEARCH.LOG      NCgemmNT : muladd=1, lat=8,
 pf=513, nb=44, mu=4, nu=2 ku=44,
                  ForceFetch=1, ifetch=8 nfetch=1
                  Performance = -4328.51 (91.51 of copy matmul, -130.22 of
 clock)
 make -f Makefile INSTALL_LOG/dbestTN_44x44x44 pre=d nb=44 2>&1 |
 ./xatlas_tee INSTALL_LOG/dMMSEARCH.LOG      NCgemmTN : muladd=1, lat=5,
 pf=513, nb=44, mu=4, nu=2 ku=44,
                  ForceFetch=1, ifetch=8 nfetch=1
                  Performance = -4296.23 (90.83 of copy matmul, -129.25 of
 clock)
 make -f Makefile INSTALL_LOG/dbestTT_44x44x44 pre=d nb=44 2>&1 |
 ./xatlas_tee INSTALL_LOG/dMMSEARCH.LOG      NCgemmTT : muladd=1, lat=2,
 pf=513, nb=44, mu=4, nu=2 ku=44,
                  ForceFetch=1, ifetch=8 nfetch=1
                  Performance = -4511.62 (95.38 of copy matmul, -135.73 of
 clock)
 make -f Makefile MMinstall pre=d 2>&1 | ./xatlas_tee
 INSTALL_LOG/dMMSEARCH.LOG


    STAGE 2-1-2: CacheEdge DETECTION
 make -f Makefile INSTALL_LOG/atlas_cacheedge.h pre=d 2>&1 | ./xatlas_tee
 INSTALL_LOG/dMMCACHEEDGE.LOG
 make[3]: *** [build] Error 255
 make[3]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build'
 make[2]: *** [build] Error 2
 make[2]: Leaving directory
 `/home/drkirkby/sage-4.6.rc0/spkg/build/atlas-3.8.3.p16/ATLAS-build'
 Failed to build ATLAS
 }}}

 so I can't check this myself.

 Dave

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/9530#comment:48>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to