You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is a report of an issue I reported with GotoBLAS some time ago - but unfortunately just after Kasishige left.
GotoBLAS gave wrong results (result arrays filled with zeroes) for a ztrmm call specificall and only on
Nehalem processors using the Nehalem-specific versions. Versions compiled for Penryn give correct results
on Nehalem. I see nothing in the bug or fix reports to suggest that this has been fixed yet in OpenBLAS.
----------original message-------------------------------------------------
I have just succeeded in tracking down the cause of a failure of our
electronic structure code CASTEP on some new Nehalem processors. It
seems that the Nehalem-specific ZTRMM code contains a bug.
With GotoBLAS 2.13 compiled with FC=ifort USE_THREAD=0 DYNAMIC_ARCH=1
the attached test case (same executable) has the following behaviour
a) On AMD Opteron - success
b) On Intel Core 2 Q6600 - success
c) On Intel Nehalem E5530 - Fails
The (attached) output file shows that the result is filled with zeros
outside the (252x5) leading block.
-----------------------Testcase------------------------------------------------------
Hmm. I can not find a mechanism to attach the testcase in Github. It can be picked up from
This is a report of an issue I reported with GotoBLAS some time ago - but
unfortunately just after Kasishige left.
GotoBLAS gave wrong results (result arrays filled with zeroes) for a ztrmm
call specificall and only on
Nehalem processors using the Nehalem-specific versions. Versions compiled
for Penryn give correct results
on Nehalem. I see nothing in the bug or fix reports to suggest that this
has been fixed yet in OpenBLAS.
----------original message-------------------------------------------------
I have just succeeded in tracking down the cause of a failure of our
electronic structure code CASTEP on some new Nehalem processors. It
seems that the Nehalem-specific ZTRMM code contains a bug.
With GotoBLAS 2.13 compiled with FC=ifort USE_THREAD=0 DYNAMIC_ARCH=1
the attached test case (same executable) has the following behaviour
a) On AMD Opteron - success
b) On Intel Core 2 Q6600 - success
c) On Intel Nehalem E5530 - Fails
The (attached) output file shows that the result is filled with zeros
outside the (252x5) leading block.
Reply to this email directly or view it on GitHub: #33
Just link the two Fortran files tigether with BLAS and run. This runs both the BLAS and Fortran versions of ztrmm and compares the result internally and prints a success or fail message depending on whether the results compare equal.
I see failures on
Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
but success on
Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Just link the two Fortran files tigether with BLAS and run. This runs both the BLAS and Fortran versions of ztrmm and compares the result internally and prints a success or fail message depending on whether the results compare equal.
I see failures on
Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
but success on
Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
Activity
xianyi commentedon Jun 1, 2011
Hi Krefson,
Yes, we didn't modify the ztrmm codes on Nehalem. We will investigate this
issue.
Could you send me some test codes to reproduce this bug?
Thanks
Xianyi Zhang
2011/6/1 krefson <
reply@reply.github.com>
krefson commentedon Jun 1, 2011
You may download the testcase from
Just link the two Fortran files tigether with BLAS and run. This runs both the BLAS and Fortran versions of ztrmm and compares the result internally and prints a success or fail message depending on whether the results compare equal.
I see failures on
Intel(R) Xeon(R) CPU E5530 @ 2.40GHz
Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
but success on
Intel(R) Xeon(R) CPU X5660 @ 2.80GHz
Intel(R) Core(TM)2 Quad CPU Q6600 @ 2.40GHz
xianyi commentedon Jun 1, 2011
Hi Krefson,
Thank you for the testcase.
Xianyi
xianyi commentedon Jun 7, 2011
Hi krefson,
Wang Qian fixed this bug on develop branch. Could you test it ?
Thanks
Xianyi
krefson commentedon Jun 7, 2011
Yes, I can confirm the change fixes the problem, both in the testcase and our ab initio code.
Thanks!
Merge pull request #33 from xianyi/develop