Skip to content

fortran intrinsics tests fail #757

@jschueller

Description

@jschueller

lapack 3.11 introduced intrinsics tests (#623)
these seem to fail on linux/gcc 12.2, is that a problem ?

$ gfortran lapack/INSTALL/test_zcomplexdiv.f
$ ./a.out
 !! Some (x+x*I)/(x+x*I) differ from 1
[ c3] X =  1.7976931348623157E+308 : (x+x*I)/(x+x*I) =                      NaN+0.0000000000000000E+000*I differs from +1.0000000000000000E+000
[ c4] X =  8.9884656743115795E+307 : (x+x*I)/(x+x*I) =                      NaN+0.0000000000000000E+000*I differs from +1.0000000000000000E+000
[ f3] X =  1.7976931348623157E+308 : (x+x*I)/(x-x*I) =  0.0000000000000000E+000                     NaN*I differs from +0.0000000000000000E+000+1.0000000000000000E+000*I
[ f4] X =  8.9884656743115795E+307 : (x+x*I)/(x-x*I) =  0.0000000000000000E+000                     NaN*I differs from +0.0000000000000000E+000+1.0000000000000000E+000*I
 !! Some (x+x*I)/(x-x*I) differ from I
 # Please check the failed divisions in [stderr]

also when cross-compiling (CMAKE_CROSSCOMPILING) cmake might not be able to run them

cc @weslleyspereira

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions