Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2016 20:59:33 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 206342] math/atlas: failed to build
Message-ID:  <bug-206342-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D206342

            Bug ID: 206342
           Summary: math/atlas: failed to build
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: arabesc@bk.ru

Created attachment 165723
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D165723&action=
=3Dedit
Build log

Build is failed on FreeBSD 10.2:

...
rm -f *core* *.o config?.out
mkdir src bin tune interfaces
mkdir: src: File exists
mkdir: bin: File exists
mkdir: tune: File exists
mkdir: interfaces: File exists
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/math/atlas/work/ATLAS/shared
make -f Make.top startup
make -f Make.top leafstart leaf=3Dinterfaces/lapack/F77/src
cd interfaces/lapack/F77/src ; ln -s
/usr/ports/math/atlas/work/ATLAS/shared/Make.inc Make.inc
ln: Make.inc: File exists
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/math/atlas/work/ATLAS/shared
*** Error code 1

Stop.
make[3]: stopped in /usr/ports/math/atlas/work/ATLAS/shared
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/math/atlas/work/ATLAS/shared
ar: warning: csrot.o: not found in archive
ar: warning: zdrot.o: not found in archive
DONE configure
Building shared ATLAS:
/usr/bin/make -f Make.top build
cd bin/ ; /usr/bin/make xatlas_build
`xatlas_build' is up to date.
cd bin/ ; ./xatlas_build -1 0 -a 1
make[4]: don't know how to make
/usr/ports/math/atlas/work/ATLAS/shared/..//CONFIG/ARCHS/UNKNOWNx8664SSE3.t=
gz.
Stop

make[4]: stopped in /usr/ports/math/atlas/work/ATLAS/shared/bin


IN STAGE 1 INSTALL:  SYSTEM PROBE/AUX COMPILE
cd /usr/ports/math/atlas/work/ATLAS/shared/src/auxil ; make -s ATL_buildinf=
o.o
`ATL_buildinfo.o' is up to date.
cd /usr/ports/math/atlas/work/ATLAS/shared/src/auxil ; make lib
cd /usr/ports/math/atlas/work/ATLAS/shared/src/testing ; make lib
make -j8 dlib.grd
`dlib.grd' is up to date.
make -j8 slib.grd
`slib.grd' is up to date.
make -j8 zlib.grd
`zlib.grd' is up to date.
make -j8 clib.grd
`clib.grd' is up to date.
make INSTALL_LOG/L1CacheSize
`INSTALL_LOG/L1CacheSize' is up to date.
make INSTALL_LOG/sMULADD pre=3Ds
`INSTALL_LOG/sMULADD' is up to date.
make INSTALL_LOG/dMULADD pre=3Dd
`INSTALL_LOG/dMULADD' is up to date.


   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=3D5657.18MFLOPS
   sFPU: Separate multiply and add instructions with 5 cycle pipeline.
         Apparent number of registers : 17
         Register-register performance=3D5469.57MFLOPS


IN STAGE 2 INSTALL:  TYPE-DEPENDENT TUNING


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


   STAGE 2-1-1 : BUILDING BLOCK MATMUL TUNE
make -f Makefile INSTALL_LOG/dMMRES pre=3Dd 2>&1 | ./xatlas_tee
INSTALL_LOG/dMMSEARCH.LOG
cp /usr/ports/math/atlas/work/ATLAS/shared/tune/blas/gemm/res/dMMRES
INSTALL_LOG/.
      The best matmul kernel was ATL_dmm2x2x128_sse2.c, NB=3D40, written by=
 R.
Clint Whaley
      Performance: 9248.64MFLOPS (369.80 percent of of detected clock rate)
        (Gen case got 6081.21MFLOPS)
cp /usr/ports/math/atlas/work/ATLAS/shared/tune/blas/gemm/res/dNCNB
INSTALL_LOG/.
cp /usr/ports/math/atlas/work/ATLAS/shared/tune/blas/gemm/res/dbestNN_40x40=
x40
INSTALL_LOG/.
make -f Makefile INSTALL_LOG/dNCNB pre=3Dd 2>&1 | ./xatlas_tee
INSTALL_LOG/dMMSEARCH.LOGmake -f Makefile INSTALL_LOG/dbestNN_40x40x40 pre=
=3Dd
nb=3D40 2>&1 | ./xatlas_tee INSTALL_LOG/dMMSEARCH.LOG      NCgemmNN : mulad=
d=3D1,
lat=3D5, pf=3D513, nb=3D40, mu=3D5, nu=3D1 ku=3D40,
                 ForceFetch=3D0, ifetch=3D6 nfetch=3D1
                 Performance =3D 6004.15 (64.92 of copy matmul, 240.07 of c=
lock)
cp /usr/ports/math/atlas/work/ATLAS/shared/tune/blas/gemm/res/dbestNT_40x40=
x40
INSTALL_LOG/.
make -f Makefile INSTALL_LOG/dbestNT_40x40x40 pre=3Dd nb=3D40 2>&1 | ./xatl=
as_tee
INSTALL_LOG/dMMSEARCH.LOG      NCgemmNT : muladd=3D1, lat=3D5, pf=3D513, nb=
=3D40, mu=3D5,
nu=3D1 ku=3D1,
                 ForceFetch=3D0, ifetch=3D6 nfetch=3D1
                 Performance =3D 3875.97 (41.91 of copy matmul, 154.98 of c=
lock)
cd /usr/ports/math/atlas/work/ATLAS/shared/tune/blas/gemm ; make
res/dbestTN_40x40x40 pre=3Dd bnb=3D40
./xmmsearch -p d
Precision=3D'd', FORCE=3D0, LAT=3D-1, nreg=3D-1, MaxL1=3D128

      Read in L1 Cache size as =3D 32KB.
L1Size=3D4096, pre=3Dd, Smallnb=3D35

Probing for a good latency value:
   lat =3D 1, mf=3D4289.88
   lat =3D 2, mf=3D4289.88
lat=3D1 selected!
L1Size=3D4096, pre=3Dd, Smallnb=3D36


MATMUL FPU PROBE RESULTS: muladd=3D1, lat=3D5 (4306.80) selected over (4370=
.17)!!
Assertion failed: (fscanf(fp, "%lf", &mflop[i]) =3D=3D 1), function mmcase0=
, file
/usr/ports/math/atlas/work/ATLAS/shared/..//tune/blas/gemm/mmsearch.c, line
515.
mmnreg =3D 23

NB's to try: 40=20=20=20


pre=3Dd, muladd=3D0, lat=3D1, pf=3D0, nb=3D35, mu=3D5, nu=3D1, ku=3D35, mfl=
op=3D4289.88

pre=3Dd, muladd=3D0, lat=3D1, pf=3D0, nb=3D35, mu=3D5, nu=3D1, ku=3D35, mfl=
op=3D4289.88

pre=3Dd, muladd=3D0, lat=3D1, pf=3D0, nb=3D36, mu=3D4, nu=3D1, ku=3D36, mfl=
op=3D4370.17

pre=3Dd, muladd=3D1, lat=3D1, pf=3D0, nb=3D36, mu=3D4, nu=3D1, ku=3D36, mfl=
op=3D4306.80

BEST USER CASE: NB=3D40, MFLOP=3D9248.64

BEST USER CASE: NB=3D40, MFLOP=3D9248.64

   pre=3Dd, loopO=3DJIK, ta=3DN tb=3DN, mb=3D40, nb=3D40, kb=3D40, lda=3D0,=
 ldb=3D40, ldc=3D40
   mu=3D5, nu=3D1, ku=3D40, muladd=3D1, lat=3D5 =3D=3D=3D=3D> mflop=3D5811.=
673450

   pre=3Dd, loopO=3DJIK, ta=3DN tb=3DN, mb=3D40, nb=3D40, kb=3D40, lda=3D0,=
 ldb=3D40, ldc=3D40
   mu=3D5, nu=3D1, ku=3D40, muladd=3D1, lat=3D5 =3D=3D=3D=3D> mflop=3D5811.=
673450

dNB =3D 40 (-1.00), No copy dNB =3D 40 (5811.67)

*** Signal 6

Stop.
make[5]: stopped in /usr/ports/math/atlas/work/ATLAS/shared/tune/blas/gemm
*** Error code 1

Stop.
make[4]: stopped in /usr/ports/math/atlas/work/ATLAS/shared/bin
file INSTALL_LOG/dbestTN_40x40x40 not found!!

Assertion failed: (fp), function GetInstLogFile, file
/usr/ports/math/atlas/work/ATLAS/shared/..//bin/atlas_install.c, line 337.
make -f Makefile INSTALL_LOG/dbestTN_40x40x40 pre=3Dd nb=3D40 2>&1 | ./xatl=
as_tee
INSTALL_LOG/dMMSEARCH.LOG*** Signal 6

Stop.
make[3]: stopped in /usr/ports/math/atlas/work/ATLAS/shared
*** Error code 1

Stop.
make[2]: stopped in /usr/ports/math/atlas/work/ATLAS/shared
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/math/atlas
*** Error code 1

Stop.
make: stopped in /usr/ports/math/atlas

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-206342-13>