The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

Bug in pshseqr, pdhseqr, psgebal, pdgebal functions

Post here if you want to report a bug to the LAPACK team

Bug in pshseqr, pdhseqr, psgebal, pdgebal functions

Postby chereshnev » Thu Oct 09, 2014 6:41 am

Hi,

There is a bug in functions pshseqr and pdhseqr (files pdhseqr.f, pshseqr.f, line 357)
and in psgebal and pdgebal (files psgebal .f, pdgebal .f, line 225)

PXERBLA is called with 2 parameters
Code: Select all
 CALL PXERBLA( 'PSGEBAL', -INFO )


but it takes 3 parameters
Code: Select all
 SUBROUTINE PXERBLA( ICTXT, SRNAME, INFO )


So if user passes incorrect parameters to these functions PXERBLA may cause crash because of missing ICTXT parameter.
chereshnev
 
Posts: 14
Joined: Thu Oct 09, 2014 6:17 am
Location: Intel Corp., Russia, Novosibirsk

Re: Bug in pshseqr, pdhseqr, psgebal, pdgebal functions

Postby admin » Fri Oct 10, 2014 3:26 pm

Thank you Eugene for your bug report!
We corrected the problem in pdhseqr.f and pshseqr.f last year, but did not know about the issue in psgebal .f and pdgebal .f
We just submitted the fix in our SVN repository (rev 199). Next ScaLAPACK release in scheduled for this coming November.

Thank you again
admin
Site Admin
 
Posts: 616
Joined: Wed Dec 08, 2004 7:07 pm


Return to Bug report

Who is online

Users browsing this forum: No registered users and 1 guest