Skip to content

[GPU] PW segfaults: 057_PW_SO_IW (SOC init_wfc), 100_PW_W90 (Wannier90), scf_out_ldos (post-SCF) #7770

Description

@chengleizheng

Describe the bug

Three PW-basis GPU calculations crash with a segmentation fault (null pointer dereference) at different stages — none of them in the core SCF
iteration. All three pass on CPU. Crash signature:

  [LAPTOP-G5PS9KT3:430222] *** Process received signal ***
  [LAPTOP-G5PS9KT3:430222] Signal: Segmentation fault (11)
  [LAPTOP-G5PS9KT3:430222] Signal code: Address not mapped (1)
  [LAPTOP-G5PS9KT3:430222] Failing at address: (nil)
  timeout: the monitored command dumped core

Expected behavior

All three calculations should run to completion on GPU and match the CPU reference results shipped in tests/01_PW/ (result.ref).

To Reproduce

No response

Environment

No response

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugsBugs that only solvable with sufficient knowledge of DFTGPU & DCU & HPCGPU and DCU and HPC related any issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions