[Python-modules-team] Bug#489253: python-numpy: enable ATLAS support?
Ondrej Certik
ondrej at certik.cz
Fri Jul 4 20:48:48 UTC 2008
Hi Tiziano!
On Fri, Jul 4, 2008 at 2:26 PM, Tiziano Zito <otizonaizit at yahoo.com> wrote:
> Package: python-numpy
> Version: 1:1.1.0-1
> Severity: normal
>
> dear maintainers,
> python-numpy is currently built without ATLAS support.
>
> Among other things this implies very slow matrix multiplication.
> ATLAS support was dropped during the gfortran transition (see
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=464784+ ).
>
> Dropping the 02_dontuse_lapack.diff patch and build-depend
> on atlas should re-enable ATLAS support.
> The reason for dropping ATLAS support was that ATLAS had not completed
> the gfortran transition yet. This issue seems to be solved now:
> http://buildd.debian.org/~jeroen/status/package.php?p=atlas
Thanks for the bug report. Do you suggest this patch?
$ svn di
Index: debian/control
===================================================================
--- debian/control (revision 5836)
+++ debian/control (working copy)
@@ -3,7 +3,7 @@
Priority: optional
Maintainer: Debian Python Modules Team
<python-modules-team at lists.alioth.debian.org>
Uploaders: Marco Presi (Zufus) <zufus at debian.org>, Alexandre Fayolle
<afayolle at debian.org>, José Fonseca <j_r_fonseca at yahoo.co.uk>,
Matthias Klose <doko at debian.org>, Ondrej Certik <ondrej at certik.cz>,
Kumar Appaiah <akumar at debian.org>
-Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg,
python-central (>= 0.6), gfortran (>= 4:4.2), libblas-dev [!arm
!m68k], liblapack-dev [!arm !m68k], debhelper (>= 5.0.38), patchutils,
python-docutils, libfftw3-dev
+Build-Depends: cdbs (>= 0.4.43), python-all-dev, python-all-dbg,
python-central (>= 0.6), gfortran (>= 4:4.2), libatlas-base-dev [!arm
!m68k], debhelper (>= 5.0.38), patchutils, python-docutils,
libfftw3-dev
Build-Conflicts: atlas3-base-dev
XS-Python-Version: >= 2.3
Standards-Version: 3.8.0
Index: debian/patches/series
===================================================================
--- debian/patches/series (revision 5836)
+++ debian/patches/series (working copy)
@@ -1,2 +1 @@
01_fix_man_hyphens.patch
-02_dontuse_lapack.diff
Unfortunately, I am not an expert in blas/lapack/atlas, I only
remember there were some problems with that. The package compiles and
seems to work fine, tests run. However, for example the generated
dependencies of the resulting binary package are wrong:
Depends: python (<< 2.6), python (>= 2.4), python-central (>= 0.6.7),
libc6 (>= 2.7-1)
so it doesn't seem to pickup atlas correctly. Maybe there are some
other problems too.
Would you be willing to look at this? If so, please join DPMT, so that
you can edit the package and then feel free to fix it. If you prepare
the package, so that it's ready for upload, I'll upload it.
Thanks,
Ondrej
More information about the Python-modules-team
mailing list