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

Possible memory access error in XC routines #221

Open
davidbowler opened this issue Jul 20, 2023 · 0 comments
Open

Possible memory access error in XC routines #221

davidbowler opened this issue Jul 20, 2023 · 0 comments
Assignees
Labels
area: main-source Relating to the src/ directory (main Conquest source code) improves: stability Fix or enhance issues with stability or robustness needs: diagnosis Diagnosis required for bug or issue priority: minor time: days type: bug

Comments

@davidbowler
Copy link
Contributor

When running with non-self-consistent GGA, using the Intel compiler (2020 U4 with OpenMPI 4.1.3, FFTW 3.3.10, MKL 2020 U4) the attached example fails with a SEGFAULT in the force routine (specifically when get_dxc_potential is called in get_nonSC_correction_force but this does not happen with GCC (12.2.0 with OpenMPI 4.1.5 both installed through Homebrew on a Mac).

I'm not completely sure, but it might well be due to the excess use of assumed-size arrays in the XC modules. It would be sensible to tidy these up.

phenol_crash.zip

@davidbowler davidbowler added area: main-source Relating to the src/ directory (main Conquest source code) improves: stability Fix or enhance issues with stability or robustness needs: diagnosis Diagnosis required for bug or issue priority: minor time: days type: bug labels Jul 20, 2023
@davidbowler davidbowler self-assigned this Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: main-source Relating to the src/ directory (main Conquest source code) improves: stability Fix or enhance issues with stability or robustness needs: diagnosis Diagnosis required for bug or issue priority: minor time: days type: bug
Projects
None yet
Development

No branches or pull requests

1 participant