Your message dated Wed, 26 Jul 2023 21:17:24 +0000
with message-id <[email protected]>
and subject line Bug#1037242: fixed in lapack 3.9.0-3+deb11u1
has caused the Debian Bug report #1037242,
regarding liblapacke: dsyev() only returns upper/lower triangle of eigenvector
matrix
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1037242: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1037242
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: liblapacke
Version: 3.9.0-3
Severity: important
X-Debbugs-Cc: [email protected]
Hello,
Given a symmetric matrix, LAPACKE dsyev() should return in place the matrix of
eigenvectors
(when JOBZ = 'V'). The eigenvector matrix is not symmetric (it is orthogonal).
However,
it appears that dsyev() only returns the upper/lower triangle of the
eigenvector matrix,
which is not enough to easily construct the full eigenvector matrix.
Example (compile with gcc main.c -llapacke):
#include "stdio.h"
#include "lapacke.h"
int main()
{
const int N = 2;
double a[2*2] = { 1.0, 0.5, 0.5, 1.0 };
double s[2];
printf( "input:\n" );
printf( "%f %f\n", a[0], a[1] );
printf( "%f %f\n", a[2], a[3] );
LAPACKE_dsyev( LAPACK_ROW_MAJOR, 'V', 'U', N, a, N, s );
printf( "output:\n" );
printf( "%f %f\n", a[0], a[1] );
printf( "%f %f\n", a[2], a[3] );
return 0;
}
Output:
input:
1.000000 0.500000
0.500000 1.000000
output:
-0.707107 0.707107
0.500000 0.707107
Problem:
The 0.5 in the output lower triangle should be 0.707107.
There is the opposite problem if UPLO = 'L'.
This problem applies to symmetric matrices of all sizes.
I reported this problem to the library authors at
https://github.com/Reference-LAPACK/lapack/issues/850
and they have indicated that this problem is fixed upstream.
This is a fairly critical problem that would silently lead
to quite wrong answers for certain mathematical techniques
possibly including symmetric matrix inversion and/or
multilinear regression. I think it would be better to have
it fixed but I have no idea how difficult it would be to
patch debian stable. I will try the new debian testing and
see whether it is also affected.
Thank you very much,
David Houseman
-- System Information:
Debian Release: 11.7
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 5.10.0-21-amd64 (SMP w/4 CPU threads)
Locale: LANG=C, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages liblapacke depends on:
ii libblas3 [libblas.so.3] 3.9.0-3
ii libc6 2.31-13+deb11u6
ii liblapack3 [liblapack.so.3] 3.9.0-3
ii libopenblas0-pthread [liblapack.so.3] 0.3.13+ds-3
ii libtmglib3 3.9.0-3
liblapacke recommends no packages.
liblapacke suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: lapack
Source-Version: 3.9.0-3+deb11u1
Done: Sébastien Villemot <[email protected]>
We believe that the bug you reported is fixed in the latest version of
lapack, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sébastien Villemot <[email protected]> (supplier of updated lapack package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 23 Jun 2023 14:53:50 +0200
Source: lapack
Architecture: source
Version: 3.9.0-3+deb11u1
Distribution: bullseye
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Sébastien Villemot <[email protected]>
Closes: 1037242
Changes:
lapack (3.9.0-3+deb11u1) bullseye; urgency=medium
.
* lapacke-syev-heev.patch: new patch, fixes eigenvector matrix in
LAPACKE’s interface to symmetric eigenvalue problem (syev and heev
functions) (Closes: #1037242)
Checksums-Sha1:
9df0e19422d7e22964e7fd8afdd516f016debd59 3414 lapack_3.9.0-3+deb11u1.dsc
c02c165f77cdd18822af4fcaf19b5a965e6ece42 28716
lapack_3.9.0-3+deb11u1.debian.tar.xz
c97c83446af53c89e1ab519b0b224bd4fff99bbc 18484
lapack_3.9.0-3+deb11u1_amd64.buildinfo
Checksums-Sha256:
2a6b94e30473abb5e0f8164bb1a69988531d83a8aa6dafd4cfe5365846a9f603 3414
lapack_3.9.0-3+deb11u1.dsc
752762dc051d4f621d188632b89d76af8d2132828809e4389e95bac7895d2f8b 28716
lapack_3.9.0-3+deb11u1.debian.tar.xz
ad70d257a61296511dbdb082e01fae7cfd01fdbfb1540129148e9272eb885d15 18484
lapack_3.9.0-3+deb11u1_amd64.buildinfo
Files:
b2294df24af36be7c0f618c43147d81d 3414 libs optional lapack_3.9.0-3+deb11u1.dsc
f072a8827365c4a930f473fbb8ae851f 28716 libs optional
lapack_3.9.0-3+deb11u1.debian.tar.xz
6c62c933bae51bfc2d6d9e580d5445c5 18484 libs optional
lapack_3.9.0-3+deb11u1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAmTA0WEACgkQLOzpNQ7O
vkoV1A/+IHXYmspz19hPs7SCHuUfV9I/ptz3QTDY1hFPwKTiy9/+3ssR9gMq7k4Y
dGQiWozUmCB+s0iWULXvgekg1r2wBqp9s8dhI3+LZb7jLUvggZGWvVPi2aYF/KjE
8/+mWFR3SUi7YT5JSkwBnF0HuuK8sDQawRDy5WxAq4I8BsPzNJEYXf1kV27bqNzM
MkYoScOVE5aStyNuI6YD5BpP9y4cAuJTdfGoQCJ/vr0K+zjsoHFsFRQk/o9C6GR6
1Mnnt2hRHX88M54Caj54lL63MVazb31RNae+UipIDwmKKHsbJ8cO0F672JiBymRB
VeHJfj+1cvUS7srzNe/SPXWuhnyt40nhj6mb0j7wkgf9rDMRz6M+U5onSUoA6wlk
JvPec+e8chrgD9J7ZbJaedHgAImjuj1HwcAOgUvvZUH2CcIBFOyG3fhFln2Hmlct
upLt8F3uloM16aXeKL6MRS3Tq8c12nU9RZeJ8LbSYMLE7wl8D8VpkSBM3UnJOtxP
V0o5apgz+X4qWjzqKoViZBifZ5UHThUVlCVdXNfMiRF6zRuQSnOHhSyHgIffPnrA
TMDCAXBanswt0qBl8OI46mY4M0rd8hDcNp/ISQGl05Erz35G1Iy7pmYebK0+Ghkr
w9rNLFFUqrYCUlRJ3KlUGR31QFnpHPEFVFSOr4uYiFkX9/osZfY=
=laN3
-----END PGP SIGNATURE-----
--- End Message ---
--
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers