Your message dated Mon, 06 May 2013 10:49:28 +0000
with message-id <[email protected]>
and subject line Bug#693269: fixed in lapack 3.4.2+dfsg-1
has caused the Debian Bug report #693269,
regarding liblapack-dev: Some routines produce incorrect results in 
multithreaded environment
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.)


-- 
693269: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=693269
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: liblapack-dev
Version: 3.3.1-1
Severity: normal
Tags: upstream

Dear Maintainer,

When writing code that uses Lapack as well as threads (pthreads or OpenMP),
certain routines, like the nonsymmetric eigensolver, produce incorrect results
due to statically allocated arrays. The Lapack source uses large local arrays
which are deemed by gfortran (by default) to be too large to allocate on the
stack, leading to statically allocated variables which are corrupted when
multiple threads write to them. Adding the "-frecursive" flag to the
compilation flags would force gfortran to always allocate the arrays on the
stack. The problem along with code to reproduce it has been listed in this
forum post:
http://icl.cs.utk.edu/lapack-forum/viewtopic.php?f=2&t=1930

The most ideal solution to the problem would be to modify the code to not use
huge local arrays, but the API makes it impossible for several routines.
Therefore, the use of compilation flags is a more immediate, but less elegant,
fix.

While I do not expect the addition of the flag to cause any side effects, there
are a number of potential concerns. FIrst, more stack space will be used by the
library. However, it will only be about a factor of 2 greater than the current
situation, since the default variable size limit is 32KB, and the largest
arrays in Lapack are around 64KB, and process stack size limits are in the
range of several MB. Second, if this bug is fixed in Debian and its
derivatives, porting scientific code that is affected by this bug to other
systems may lead to confusion if the bug still exists with other
platforms/compilers.



-- System Information:
Debian Release: wheezy/sid
  APT prefers precise-updates
  APT policy: (500, 'precise-updates'), (500, 'precise-security'), (500, 
'precise')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-23-generic (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages liblapack-dev depends on:
ii  libatlas-base-dev [libblas-3gf.so]  3.8.4-3build1
ii  libblas-dev [libblas-3gf.so]        1.2.20110419-2ubuntu1
ii  liblapack3gf                        3.3.1-1
ii  libopenblas-dev [libblas-3gf.so]    0.1alpha2.2-3

liblapack-dev recommends no packages.

liblapack-dev suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: lapack
Source-Version: 3.4.2+dfsg-1

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.
Sylvestre Ledru <[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: SHA1

Format: 1.8
Date: Mon, 06 May 2013 11:39:13 +0200
Source: lapack
Binary: liblapack3 liblapack3gf liblapacke liblapacke-dev liblapack-dev 
liblapack-pic liblapack-test liblapack-doc liblapack-doc-man
Architecture: source all amd64
Version: 3.4.2+dfsg-1
Distribution: unstable
Urgency: low
Maintainer: Debian Science Team 
<[email protected]>
Changed-By: Sylvestre Ledru <[email protected]>
Description: 
 liblapack-dev - Library of linear algebra routines 3 - static version
 liblapack-doc - Library of linear algebra routines 3 - documentation
 liblapack-doc-man - Library of linear algebra routines 3 - documentation 
(manual page
 liblapack-pic - Library of linear algebra routines 3 - static PIC version
 liblapack-test - Library of linear algebra routines 3 - testing programs
 liblapack3 - Library of linear algebra routines 3 - shared version
 liblapack3gf - Transitional package for liblapack3
 liblapacke - Library of linear algebra routines 3 - C lib shared version
 liblapacke-dev - Library of linear algebra routines 3 - Headers
Closes: 693269
Changes: 
 lapack (3.4.2+dfsg-1) unstable; urgency=low
 .
   [ Sébastien Villemot ]
   * parallel_build.patch: improve patch by marking some Makefiles as not
     parallelizable; should fix FTBFS on kfreebsd-*
 .
   [ Sylvestre Ledru ]
   * Upload to unstable
   * Some routines produced incorrect results in multithreaded environment
     Thanks to Michael Banck for the fix (Closes: #693269)
Checksums-Sha1: 
 2c3d097b132ac0a8d1f67c6db56a3f5360e8e5ea 1860 lapack_3.4.2+dfsg-1.dsc
 cd78f0dab7c8c3bd389afb17df63b3244374b0c5 20425 
lapack_3.4.2+dfsg-1.debian.tar.gz
 2dba7194151d07e6e7be40ff82e7a83146adda76 10922 
liblapack3gf_3.4.2+dfsg-1_all.deb
 4aa31e876b4d8e07c358d5753a7ae485b7304e83 84695746 
liblapack-doc_3.4.2+dfsg-1_all.deb
 e5843ec51dda1f405b5fa7e1dd1a0921b91210e4 2994096 
liblapack-doc-man_3.4.2+dfsg-1_all.deb
 d62342c152ca1c62580ad9662fccea21ef2737e8 5087700 
liblapack3_3.4.2+dfsg-1_amd64.deb
 7735c210dae7c6c79b1e26f562be4d9246d17a1d 624090 
liblapacke_3.4.2+dfsg-1_amd64.deb
 8aa41a8bbf4a8e45de6c7fcc6535e76fc7c0b0fc 75710 
liblapacke-dev_3.4.2+dfsg-1_amd64.deb
 d365108fa0a7b469c7ee9cfc8f342808abe191c7 5601998 
liblapack-dev_3.4.2+dfsg-1_amd64.deb
 75bc9bdf192281c0596534d47a9f5be91ffd3d56 5602008 
liblapack-pic_3.4.2+dfsg-1_amd64.deb
 bdeb12efcb3df905bf3c8d10d39d9b33fd509838 9408924 
liblapack-test_3.4.2+dfsg-1_amd64.deb
Checksums-Sha256: 
 89088b13f0454c6e0339106241ffc6ac36506135c1d5166f5e58f5c12d14f74e 1860 
lapack_3.4.2+dfsg-1.dsc
 cdc20194615a026bf491612f636380158bb84d9b688e9281cd3108a754d37d23 20425 
lapack_3.4.2+dfsg-1.debian.tar.gz
 141e78873629c102c2e8a75851f5f0c3307186b3feca367a047b6848cfcedd4b 10922 
liblapack3gf_3.4.2+dfsg-1_all.deb
 f68705bd4bfdff553b32d659f72bb01189e2e20ce37221f86cfc4cbd44218711 84695746 
liblapack-doc_3.4.2+dfsg-1_all.deb
 0ec4c7ae332348a65fe5bf80328e99a5de09eff40e470205fd5dc2568546c499 2994096 
liblapack-doc-man_3.4.2+dfsg-1_all.deb
 a655c3d6c3fe867d2e773aabb1a0385f312912493e111f2baa51aacd202df8e4 5087700 
liblapack3_3.4.2+dfsg-1_amd64.deb
 946a53ad578aa0cdb0111953b9d2bbe6a25b9e6fd4e6b0d163df4ca6c285fcba 624090 
liblapacke_3.4.2+dfsg-1_amd64.deb
 5dce4fa693c7024e3bc9f7c4306e77fca17a9bf886a137691783b117a94f7539 75710 
liblapacke-dev_3.4.2+dfsg-1_amd64.deb
 b8c6e1d93699cf27b178857025be441d0762cebd93b41f1c11e0610ffc76e089 5601998 
liblapack-dev_3.4.2+dfsg-1_amd64.deb
 c99239ed87bb34c6607a9a838e3ec03c9a5b57871c04a75ce1b1767ad19ad67c 5602008 
liblapack-pic_3.4.2+dfsg-1_amd64.deb
 f6356ebc3331528b58b705be50684dd78a4fb4a3fccd51ccb20f1d45f32a77aa 9408924 
liblapack-test_3.4.2+dfsg-1_amd64.deb
Files: 
 bdec7731465839371e6c56374fd3b9d8 1860 libs optional lapack_3.4.2+dfsg-1.dsc
 750dcc09c850722d7583e0c73b9820ad 20425 libs optional 
lapack_3.4.2+dfsg-1.debian.tar.gz
 a35a9314bc7bbdd476f0760878d194f5 10922 oldlibs optional 
liblapack3gf_3.4.2+dfsg-1_all.deb
 ac7a6c3ef92a19e9ac2bf64011219465 84695746 doc optional 
liblapack-doc_3.4.2+dfsg-1_all.deb
 cba71c12e797d94cae1660b3c79a89de 2994096 doc optional 
liblapack-doc-man_3.4.2+dfsg-1_all.deb
 24b98c46f88bd1e68e56d997e422f07c 5087700 libs optional 
liblapack3_3.4.2+dfsg-1_amd64.deb
 d4aca6c00b88b85da6cc02ab41d55433 624090 libs optional 
liblapacke_3.4.2+dfsg-1_amd64.deb
 f895699a422cc2ea4adfcc2d23ff9385 75710 libdevel optional 
liblapacke-dev_3.4.2+dfsg-1_amd64.deb
 fa4e293acb4d4ad9d7a61fc51923c9d9 5601998 libdevel optional 
liblapack-dev_3.4.2+dfsg-1_amd64.deb
 7538862e456deff09a9dfbbb8c48d533 5602008 libdevel optional 
liblapack-pic_3.4.2+dfsg-1_amd64.deb
 d15cf070494a3aaa2ca8b5418c2e1931 9408924 devel extra 
liblapack-test_3.4.2+dfsg-1_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlGHiMUACgkQiOXXM92JlhBb1QCfTBcPK88ygsaHIIOWRp3ySHXN
Ql8AnjR+z3bWkG4JoOpJtuRaw3xArSsL
=wVXw
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to