LAPACK Archives

[Lapack] Problems with clapack-3.2.1

Hello,

I use the clapack library (http://netlib.org/clapack/clapack.tgz). And
I have found some problems in the code of the library. It seems that
these problems appeared as result of the automatic f2c transformation.

Most of the problems are located in the ``ilaenv()'' function
(``ilaenv.c'' file). The first group of them is related with the
following local variables: subnam, c1, c2, c3, c4. These variables are
used as string buffers. But each of them has just 1 byte size. In the
origin code (f77) they have the following sizes 6, 1, 2, 3, 2
respectively.

The second group of the problems is related with the following line in
the ``ilaenv.c'' file: ``opts_len = strlen (opts)''. There are many
places in the code where ``ileanv()'' is called with non-asciiz value
of the ``opts'' argument. More over, probably each call of ``s_cat()''
in the code is related with such problem. E.g. the file ``dtrtri.c''
line 170.

---
Sincerely yours,
Alexander Pronchenkov
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-bugfix.patch
Type: application/octet-stream
Size: 21835 bytes
Desc: not available
Url : 
http://lists.eecs.utk.edu/mailman/private/lapack/attachments/20100502/817cca00/0001-bugfix-0001.obj
 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Some-more-bugfixes.patch
Type: application/octet-stream
Size: 20343 bytes
Desc: not available
Url : 
http://lists.eecs.utk.edu/mailman/private/lapack/attachments/20100502/817cca00/0002-Some-more-bugfixes-0001.obj
 

<Prev in Thread] Current Thread [Next in Thread>
  • [Lapack] Problems with clapack-3.2.1, ÐÐÐÐÑÐÐÐÑ ÐÑÐÐÑÐÐÐÐР<=


For additional information you may use the LAPACK/ScaLAPACK Forum.
Or one of the mailing lists, or