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

Inf in BAND_*.dat and Missing 1 to 36 in BAND_2.dat #3843

Closed
16 tasks
Chentao168 opened this issue Mar 29, 2024 · 4 comments · Fixed by #3963
Closed
16 tasks

Inf in BAND_*.dat and Missing 1 to 36 in BAND_2.dat #3843

Chentao168 opened this issue Mar 29, 2024 · 4 comments · Fixed by #3963
Assignees
Labels
Bugs Bugs that only solvable with sufficient knowledge of DFT

Comments

@Chentao168
Copy link
Collaborator

Describe the bug

Fe, 2 atoms, nspin = 2, inf in BAND_1.dat and BAND_2.dat. Missing 1 to 36 in BAND_2.dat.
image
image

Expected behavior

No response

To Reproduce

20240329-band-inf.zip

Environment

ABACUS v3.5.4

Additional Context

No response

Task list for Issue attackers (only for developers)

  • Verify the issue is not a duplicate.
  • Describe the bug.
  • Steps to reproduce.
  • Expected behavior.
  • Error message.
  • Environment details.
  • Additional context.
  • Assign a priority level (low, medium, high, urgent).
  • Assign the issue to a team member.
  • Label the issue with relevant tags.
  • Identify possible related issues.
  • Create a unit test or automated test to reproduce the bug (if applicable).
  • Fix the bug.
  • Test the fix.
  • Update documentation (if necessary).
  • Close the issue and inform the reporter (if applicable).
@Chentao168 Chentao168 added the Bugs Bugs that only solvable with sufficient knowledge of DFT label Mar 29, 2024
@kirk0830 kirk0830 self-assigned this Mar 29, 2024
@kirk0830
Copy link
Collaborator

kirk0830 commented Mar 30, 2024

I did not reproduce your issue with input files you provided, I think I made minor changes and should not affect the behavior of as-written codes (if you are interested, see pull request draft #3855 ):
BANDS_1.dat:
image
BANDS_2.dat:
image

@Chentao168
Copy link
Collaborator Author

I also tested in ABACUS version 3.6.0, where the aforementioned issue persisted, specifically the appearance of 'inf' in BAND_1.dat and BAND_2.dat, as well as missing entries from 1 to 36 in BAND_2.dat. The pull request #3855 has not yet been merged into the develop branch. Is it feasible to conduct tests using version 3.6.0?

@kirk0830
Copy link
Collaborator

kirk0830 commented Apr 2, 2024

I also tested in ABACUS version 3.6.0, where the aforementioned issue persisted, specifically the appearance of 'inf' in BAND_1.dat and BAND_2.dat, as well as missing entries from 1 to 36 in BAND_2.dat. The pull request #3855 has not yet been merged into the develop branch. Is it feasible to conduct tests using version 3.6.0?

@Chentao168 Could you provide your environment setting information? This seems to relate to some undefined behavior

@Qianruipku
Copy link
Collaborator

ABACUS has bugs when out_band = 1 and kpar > 1。
Currently, when kpar > 1, there will be a memory overflow in the band calculation, resulting in the appearance of 'inf' in the results. The program has issues and does not support k-point parallelism, which needs to be addressed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bugs Bugs that only solvable with sufficient knowledge of DFT
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants