Skip to content

Segment fault on DSP computing #6429

@A-006

Description

@A-006

Describe the bug

When running ABACUS on a DSP, I discovered that it lacks native DSP computing support. Specifically, it relies on CPU-based FFT functions. Since the DSP shares the same function names with the CPU, setting the device to DSP causes certain functions within the recip2real module to incorrectly reference the CPU flag—which ultimately points to a non-functional dummy implementation.

Image

Additionally, memory allocation errors occur when processing large systems if mt_malloc is used without a corresponding mt_free call.

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugsBugs that only solvable with sufficient knowledge of DFT

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions