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

PZLAWRITE formatting bug

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

PZLAWRITE formatting bug

Postby hugheyst » Wed Mar 04, 2015 5:29 pm

In ScaLAPACK v2.0.2, I am using the routine PZLAWRITE (v1.8.0) to write to disk a distributed matrix for future use with PZLAREAD. I appear to have run into a bug due to the FORMAT statement in line 226, labeled 9999. The corresponding WRITE statement fails to produce a space between the real and imaginary components of the matrix element being written. My output file is filled with lines such as "-1.28364694e-02-2.91442470e+00", which the unformatted READ statement in PZLAREAD fails to interpret as two distinct numbers. For now I have modified a local copy of PZLAWRITE with a FORMAT statement which is compatible with PZLAREAD. Has anyone else run into this problem?
hugheyst
 
Posts: 1
Joined: Wed Mar 04, 2015 5:08 pm

Return to Bug report

Who is online

Users browsing this forum: No registered users and 1 guest