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

Results are garbage when compiling with ifx and -O2 #23

Open
elinscott opened this issue Dec 11, 2024 · 0 comments
Open

Results are garbage when compiling with ifx and -O2 #23

elinscott opened this issue Dec 11, 2024 · 0 comments

Comments

@elinscott
Copy link
Collaborator

kcp.x compiles but gives garbage when compiled with ifx. To be more specific, the calculation runs to completion but quantities such as total energy, kinetic energy, electrostatic energy, HOMO/LUMO are wrong (not orders-of-magnitude wrong, "just" off by several/many Hartrees). Meanwhile, esr and eself are exactly the same as results from ifort.

So far I have discovered that

  • compiling with O1 fixes it
  • compiling with -check bounds fixes it (why, I do not know)
  • compiling with an older version of oneapi does not fix it (I have tried 2024.0, 2024.1, 2024.2, and 2025.0)

I will continue to investigate...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant