Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

solver divergence with -fno-honor-nans #81

Open
jkruzik opened this issue Feb 24, 2023 · 0 comments
Open

solver divergence with -fno-honor-nans #81

jkruzik opened this issue Feb 24, 2023 · 0 comments
Assignees
Labels

Comments

@jkruzik
Copy link
Member

jkruzik commented Feb 24, 2023

tested with Clang 15 and Cray Compiling Environment 11 (clang) passing -O3 -fno-honor-nans to PETSc CC/CXX flags on

https://gitlab.com/jkruzik/htfeti

mpirun -n 8 ./ddHTFETI -mh 10 -mhc 1 -qps_view_convergence -qpt_dualize_B_nest_extension -linear -qps_ksp_monitor_true_residual -qps_rtol 1e-6

last QPSSolve DIVERGED due to DIVERGED_INDEFINITE_MAT, KSPReason=-10, required 26 iterations

Note: -fno-honor-nans is turned on by -ffinite-math-only, which is enabled by -ffast-math
Note 2: I did not observe any benefit in using -ffast-math flags and omitting -fno-honor-nans for the above program compiled with -O3 on Archer2 (but no extensive testing was done)

@jkruzik jkruzik added the bug label Feb 24, 2023
@jkruzik jkruzik self-assigned this Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant