Your message dated Wed, 04 Jul 2018 10:06:18 +0000
with message-id <[email protected]>
and subject line Bug#877883: fixed in openblas 0.3.1+ds-1
has caused the Debian Bug report #877883,
regarding [openblas] cblas_* takes double* instead of void* for complex arrays
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.)
--
877883: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=877883
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: openblas
Version: 0.2.19-3
Severity: wishlist
Dear Maintainer,
OpenBLAS in version 0.2.19-3 currently installed on Debian Stretch as
well as the version 0.2.20+ds-4 in Testing declares the cblas_*() as
taking double* instead of void* for complex values. As an example, it
declares cblas_zdscal as
void cblas_zdscal(OPENBLAS_CONST blasint N, OPENBLAS_CONST double alpha, double
*X, OPENBLAS_CONST blasint incX);
This function takes an array of complex numbers X and scales them by
the real value alpha.
In contrast to this, all other packages in Debian as well as the
Intel MKL define cblas_zdscal as taking a void* for X, i.e.:
void cblas_zdscal(const int N, const double alpha, void *X, const int incX);
See e.g. https://codesearch.debian.net/search?q=cblas_zdscal&perpkg=1
or https://software.intel.com/en-us/mkl-developer-reference-c-cblas-scal
or http://www.netlib.org/blas/cblas.h
The same difference applies to the cblas_zscal() function and all others:
$ dpkg -S /usr/include/cblas.h; dpkg -S /usr/include/openblas/cblas.h; grep
zscal /usr/include/openblas/cblas.h /usr/include/cblas.h
libblas-dev: /usr/include/cblas.h
libopenblas-dev: /usr/include/openblas/cblas.h
/usr/include/openblas/cblas.h:void cblas_zscal(OPENBLAS_CONST blasint N,
OPENBLAS_CONST double *alpha, double *X, OPENBLAS_CONST blasint incX);
/usr/include/cblas.h:void cblas_zscal(const int N, const void *alpha, void *X,
const int incX);
I have only noticed the issue now as cblas.h has become part of the
alternatives system and is currently directing to the OpenBLAS
version in testing. In Stretch, if also libblas-dev is installed, its
cblas.h is used and the difference hence hidden away.
I suspect that this problem is not more widespread because people
tend to cast their arguments to (void*) explicitly, but the
conversion std::complex<double>* => void* => double* is probably
actually undefined…
There was also some discussion in 2013, but it seemed to go nowhere:
http://comments.gmane.org/gmane.comp.lib.openblas.general/192
I would be very thankful if there was some way to avoid the explicit
casts to (void*) in calls specifically for OpenBLAS.
Best wishes,
Claudius
--- System information. ---
Architecture:
Kernel: Linux 4.9.0-3-amd64
Debian Release: 9.1
990 stable security.debian.org
990 stable ftp.de.debian.org
500 unstable ftp.de.debian.org
500 stable repo.skype.com
--- Package information. ---
Package's Depends field is empty.
Package's Recommends field is empty.
Package's Suggests field is empty.
pgppYL5oO9x03.pgp
Description: OpenPGP digital signature
--- End Message ---
--- Begin Message ---
Source: openblas
Source-Version: 0.3.1+ds-1
We believe that the bug you reported is fixed in the latest version of
openblas, 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 openblas 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: Wed, 04 Jul 2018 10:53:01 +0200
Source: openblas
Binary: libopenblas-base libopenblas-dev
Architecture: source
Version: 0.3.1+ds-1
Distribution: unstable
Urgency: medium
Maintainer: Debian Science Team
<[email protected]>
Changed-By: Sébastien Villemot <[email protected]>
Description:
libopenblas-base - Optimized BLAS (linear algebra) library (shared library)
libopenblas-dev - Optimized BLAS (linear algebra) library (development files)
Closes: 877883
Changes:
openblas (0.3.1+ds-1) unstable; urgency=medium
.
* New upstream version 0.3.1
+ cblas_* now take a void* for complex arrays (Closes: #877883)
* d/copyright: reflect upstream changes
* force-zarch.patch: remove patch, applied upstream
* Compile with DYNAMIC_OLDER=1, for better support of old amd64 CPUs
* Remove Built-Using field.
Since both LAPACK and ATLAS are under BSD-3-clause, there is no reason to
use this field (which is now restricted to license compliance issues).
* d/rules: remove get-orig-source target.
* Bump to S-V 4.1.4
* Replace ADTTMP by AUTOPKGTEST_TMP in tests.
* Ship *.md files in libopenblas-dev
* Update Vcs-* fields for move to salsa
Checksums-Sha1:
befcdf2da8e811d4849b547065634ece38423e14 2407 openblas_0.3.1+ds-1.dsc
6a8f1bc220a74bc601d4bbef99c3ef1f4c2a0a0c 4128037 openblas_0.3.1+ds.orig.tar.gz
07146b014565329174ee327c5e79b60347e7762e 16688
openblas_0.3.1+ds-1.debian.tar.xz
e915dbfe41b31e1cfec6e96ca243680f5d61533d 6337
openblas_0.3.1+ds-1_amd64.buildinfo
Checksums-Sha256:
d675d7ea10c9a047cf1a1ae2363ba7ffa04501d5be45448ac26b921b1f6c1644 2407
openblas_0.3.1+ds-1.dsc
669bf7a7f8fa5f41cd4052b603e8e9c4a708dd8a4988947ebd216ea52c690d40 4128037
openblas_0.3.1+ds.orig.tar.gz
acf33916667d79376310b5102252b097b1df40166c0b5042cc7f6b1f8a14ba78 16688
openblas_0.3.1+ds-1.debian.tar.xz
7112288e55f8bad6e394d78093e1b6a53ce8a1f8006e262596a39b7633a524af 6337
openblas_0.3.1+ds-1_amd64.buildinfo
Files:
335208fa9d5f6c583adced1d1c87988b 2407 devel optional openblas_0.3.1+ds-1.dsc
d23781aefda6a7eaabab6baa17da36b3 4128037 devel optional
openblas_0.3.1+ds.orig.tar.gz
4534b3aea2fa9f80928cb88d7393c53e 16688 devel optional
openblas_0.3.1+ds-1.debian.tar.xz
d247db165530a8d5848e19903110cc2c 6337 devel optional
openblas_0.3.1+ds-1_amd64.buildinfo
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEU5UdlScuDFuCvoxKLOzpNQ7OvkoFAls8lc0ACgkQLOzpNQ7O
vkod8g//ZglEVNbqIx0THQMs/ShtpeZ5M69ywLqW3Zj7LxBb7cAbNgbb+stauh/Z
vQiRuVkoOneXNLVTMibaiQ5kvxbXY/rXsRL1bKIx8sTNfSh5gCJOY3I/4KW5GtgM
EeQMFQzeUTjYZG11eEQfCFKxhr8KHF2a/WMOzZlfvmjblJvoVzqovdK5sAVUG/QN
orl0ynMlt+tPAew/8In4IQAjm+sawbKiNETmVg3zXQws9wV4+CrVXxUaPrs6XRD/
dJXi8tdrRdUuQdJ5uv9yg1WqluOLV0PJB8qe/ekeqHMg45ST+nUj+4tR1aYs7U50
YH6U6jZT00jkkwFSnNlyuJy29VyAKFAw2gnqeEvbmKOttfls9nMwplUP73tNlHkA
ZG4blVftRI4LPsJjXrLu2DjtPOXCxhqRRhSyK75k8/85Tr4mjBNqQLjNetderVJq
zFOnxRyL6IdRRFmDUdMOYblYvHWluMJDEHubBejB3N1DCcdCQgmJCLI5LiGkJeoO
59kGPGTuXwyM2574DOR5O9INrL54eGzaN+kc295KSeQ5h2m9fxj7AHLdGROuKb57
mSY9WifLjQC6VGEUTF4vzve/C5f6Iv2GZaqx7scKtiT6YTJII8apLXad3DfHdaSB
4NxpmAhpVuhaMsMybHq7DY2H70ppiyMiSzqcjY7ScRtA3mQk4wk=
=ivER
-----END PGP SIGNATURE-----
--- End Message ---