Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317657 - sci-libs/blas-atlas: 3.9.45 version bump
Summary: sci-libs/blas-atlas: 3.9.45 version bump
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Gentoo Science Related Packages
URL: http://sourceforge.net/projects/math-...
Whiteboard:
Keywords:
Depends on:
Blocks: 372323
  Show dependency tree
 
Reported: 2010-04-28 17:42 UTC by Arseny Solokha
Modified: 2012-12-04 09:58 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arseny Solokha 2010-04-28 17:42:43 UTC
Grabbed from ChangeLog:

«ATLAS 3.9.24 released 04/21/10, changes from 3.9.23:
   * Should see a roughly doubling in performance of L2's SYR2/HER2
   * Addition of new BLAS2.5-like kernel, GER2 (rank-2 update)
     - A = alpha*x*y + beta*w*z + A
   * Native ATLAS support for xGELS and all subsidiary routines, including
     C and Fortran interfaces for GELS 
     - Internal routs not yet exposed in C/F77 iface include:
       + ORM[[QL,QR,LQ,RQ]  -> UNM* called ORM for complex
       + GE[QL,QR,LQ,RQ]2 (unblocked QR)
       + GE[QL,QR,LQ,RQ]R (recursive QR)
       + LADIV, LAPY2, LAPY3
       + LARFB, LARFT (F77 ifaces, but no C ifaces)
       + LARF, LARFG, LARFP
       + LASCL (not supported for banded matrices)
     - Of these, should definitely expose UNM/ORM at iface level
   * Addition of [D,S]LAMCH for both C & F77 interfaces
   * Fixed slvtst (LU & QR) to use norm of original A, not factored matrix
     in computing solve residual
   * Chad fixed a bug in the SSE generator in type casting for stores
   * Changed it so unknown LAPACK routs are given ATLAS's NB for NB, 
     rather than 1
   * Fixed bug in r1hgen.c where Level 1 & 2 blocking were hugely inflated
     (leading to no effective blocking)
   * Updated archinfo_linux to recognize "PPC970MP" as a G5»

Reproducible: Always
Comment 1 Justin Lecher (RETIRED) gentoo-dev 2010-05-04 12:38:04 UTC
Hi markus,

I started to work on that. Here what I have

atlas-3.9.24-shared-libs.patch:

http://tinyurl.com/33su673

--- blas-atlas-3.9.23-r4.ebuild	2010-04-28 09:28:46.000000000 +0200
+++ blas-atlas-3.9.24.ebuild	2010-05-04 14:35:55.000000000 +0200
@@ -9,9 +9,9 @@
 DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation"
 HOMEPAGE="http://math-atlas.sourceforge.net/"
 MY_PN=${PN/blas-/}
-PATCH_V="3.9.21"
+PATCH_V="3.9.24"
 SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2
-	mirror://gentoo/${MY_PN}-${PATCH_V}-shared-libs.2.patch.bz2"
+	mirror://gentoo/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2"
 
 LICENSE="BSD"
 SLOT="0"
@@ -60,8 +60,7 @@
 }

But I hit

       Read in L1 Cache size as = 32KB.
xr1ksearch: /var/tmp/portage/sci-libs/blas-atlas-3.9.24/work/ATLAS/gentoo-build/..//tune/blas/ger/r1ksearch.c:344: SortRestricted: Assertion `r1B' failed.


which is either a bad bump of the patch or something else. -> bug 301827
 src_prepare() {
-	epatch "${DISTDIR}"/${MY_PN}-${PATCH_V}-shared-libs.2.patch.bz2
-	epatch "${FILESDIR}"/${MY_PN}-${PV}-ger-fix.patch
+	epatch "${DISTDIR}"/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2
 	epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch
 
 	cp "${FILESDIR}"/eselect.{,c}blas.{,threaded-}atlas "${T}"/
Comment 2 Justin Lecher (RETIRED) gentoo-dev 2010-05-04 12:38:48 UTC
Sorry I wrote into my paste:

--- blas-atlas-3.9.23-r4.ebuild	2010-04-28 09:28:46.000000000 +0200
+++ blas-atlas-3.9.24.ebuild	2010-05-04 14:35:55.000000000 +0200
@@ -9,9 +9,9 @@
 DESCRIPTION="Automatically Tuned Linear Algebra Software BLAS implementation"
 HOMEPAGE="http://math-atlas.sourceforge.net/"
 MY_PN=${PN/blas-/}
-PATCH_V="3.9.21"
+PATCH_V="3.9.24"
 SRC_URI="mirror://sourceforge/math-atlas/${MY_PN}${PV}.tar.bz2
-	mirror://gentoo/${MY_PN}-${PATCH_V}-shared-libs.2.patch.bz2"
+	mirror://gentoo/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2"
 
 LICENSE="BSD"
 SLOT="0"
@@ -60,8 +60,7 @@
 }
 
 src_prepare() {
-	epatch "${DISTDIR}"/${MY_PN}-${PATCH_V}-shared-libs.2.patch.bz2
-	epatch "${FILESDIR}"/${MY_PN}-${PV}-ger-fix.patch
+	epatch "${DISTDIR}"/${MY_PN}-${PATCH_V}-shared-libs.patch.bz2
 	epatch "${FILESDIR}"/${MY_PN}-asm-gentoo.patch
 
 	cp "${FILESDIR}"/eselect.{,c}blas.{,threaded-}atlas "${T}"/
Comment 3 Justin Lecher (RETIRED) gentoo-dev 2010-05-04 12:39:16 UTC
But I hit

       Read in L1 Cache size as = 32KB.
xr1ksearch:
/var/tmp/portage/sci-libs/blas-atlas-3.9.24/work/ATLAS/gentoo-build/..//tune/blas/ger/r1ksearch.c:344:
SortRestricted: Assertion `r1B' failed.


which is either a bad bump of the patch or something else. -> bug 301827
Comment 4 Alexey Shvetsov archtester gentoo-dev 2010-07-29 21:46:27 UTC
New version was released
Comment 5 Alexey Shvetsov archtester gentoo-dev 2010-07-29 21:49:14 UTC
ATLAS 3.9.25 released 06/04/10, changes from 3.9.24:
   * Fixed bug causing x_tfindCE/txover to use CPU rather than WALL time
   * Got rid of test -e in Makefiles, since Solaris /bin/sh disallows
   * Fixed lack of return statement in lanbsrch's findNBByN().
   * Hid bug in ATL_thrdecompMM_rMNK exposed by p=128 by not calling when 
     K is small
   * Fixed bug in r[1,2]ksearch that prevented arch defs from working
   * Fixed typos when setting self affinity in threading (SunOS)
   * Fixed R1SUMM/R1K.sum error in ArchNew target for creating arch defs 
   * Added R2K.sum files to archdef Makefile, and to Core264 & k10h64 arch defs.
   * Added configure support for UltraSPARC T2
     + Turned off affinity for T2, where it decreases parallel performance
   * Added architectural defaults for UST264 & UST232
   * Fixed errors in GER2 handling
   * Fixed repeated GER/GER2 symbols that prevented shared lib build
Comment 6 François Bissey 2010-10-16 21:39:47 UTC
tried to build 3.9.25 with the new patch. No go as well.
xr1ksearch: /var/tmp/portage/sci-libs/blas-atlas-3.9.25/work/ATLAS/gentoo-build/..//tune/blas/ger/r1ksearch.c:344: SortRestricted: Assertion `r1B' failed.

which is similar to #301827 as pointed by Justin. Anyone knows what changes Markus made to make it work in 3.9.21? The patch was unfortunately distributed
via distfiles so we don't have it in cvs. We should have a repo somewhere for that kind of stuff.
Comment 7 François Bissey 2010-12-25 07:50:53 UTC
I tried 3.9.32 from bicatali's overlay. It fails as well but in a different
place, gcc is 4.4.5:

OUTPUT OF system():
make[4]: Entering directory `/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/tune/blas/gemv'
rm -f ATL_smvnk.c ATL_sgemvN.o
cp -f /var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS//tune/blas/gemv/MVNCASES//ATL_sgemvN_8x4_sse.c ATL_smvnk.c
i686-pc-linux-gnu-gcc -c -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/include -I/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS//include -I/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1919 -DATL_SSE1 -DATL_3DNow -DATL_GAS_x8632 -DWALL -DATL_FULL_LAPACK -O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing -fPIC  -I/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/tune/blas/gemv -o ATL_smvnk.o \
           -DSREAL ATL_smvnk.c
i686-pc-linux-gnu-gcc -DL2SIZE=4194304 -I/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/include -I/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS//include -I/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS//include/contrib -DAdd_ -DF77_INTEGER=int -DStringSunStyle -DATL_OS_Linux -DATL_ARCH_K7 -DATL_CPUMHZ=1919 -DATL_SSE1 -DATL_3DNow -DATL_GAS_x8632 -DWALL -DATL_FULL_LAPACK -O2 -march=native -fomit-frame-pointer -pipe -fno-strict-aliasing -fPIC  -o xsmvnktime smvktimeN.o \
                   ATL_smvnk.o \
                   /var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/lib/libtstatlas.a /var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/lib/libatlas.a
/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/bin/ATLrun.sh /var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/tune/blas/gemv xsmvnktime -m 3000 -n 2000 -l 3008 \
                  -C -1 -Fa 4 -Fa -8 -Fx 4 -Fx -8 -Fy 4 -Fy -8 -f res/smv2N_3000x2000_3008-16_8x4_0_a0x0x16_4107 -# 3 -F 0
/var/tmp/portage/sci-libs/atlas-3.9.32/work/ATLAS_build_shared/bin/ATLrun.sh: line 4: 21482 Segmentation fault      $atldir/$*
make[4]: *** [smvnktime] Error 139
Comment 8 Justin Lecher (RETIRED) gentoo-dev 2012-12-04 09:58:49 UTC
Superseeded by sci-libs/atlas living in sci overlay.