Skip to content

round function causes cblas NaNs

After calling the round function, a call to an external C function causes NaNs to appear in the calculation. The external C function in this case is the BLAS function cblas_dgemm() from the atlas library. The cblas library was compiled on a 32 bit windows XP machine. The same bug occurs on my 64 bit dual core athlon under windows. I suspect the Atlas version number was 3.7.33. I have enclosed the source files but can not include the binary atlas library due to size constraints. I will provide a link to an uploaded version of the binary library shortly. I also enclosed the .bat script I used to compile the simple case. Please note this example works just fine for ghc 6.6.1 which I also verified.

Trac metadata
Trac field Value
Version 6.8.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component Compiler
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information