Skip to content

[ERROR] Memory overflow when increasing fourth-order force constant cutoff #147

@Lamed-git

Description

@Lamed-git

When training fourth-order force constants using extract_forceconstants, increasing the fourth-order cutoff radius (-rc4) from 4.5 to 5.0 causes a memory overflow, despite successful execution at lower cutoffs.
Working command (completes normally):
extract_forceconstants -rc2 15 -rc3 6 -rc4 4.5 --stride 100
Failing command (memory error):
extract_forceconstants -rc2 15 -rc3 6 -rc4 5 --stride 100
The process fails with an out-of-memory error:
**Program received signal SIGSEGV: Segmentation fault - invalid memory reference.

Backtrace for this error:
#0 0x2af7d480f3ff in ???
#1 0x55e1a42e7124 in ???
#2 0x55e1a430076e in ???
#3 0x55e1a4038f93 in ???
#4 0x55e1a3edebb4 in ???
#5 0x55e1a3eeb9fa in ???
#6 0x2af7d47fb554 in ???
#7 0x55e1a3ed8b78 in ???
#8 0xffffffffffffffff in ???**
I have 768 GB of memory and am using TDEP version 25.03. I'd like to know if there are currently any workarounds or solutions to resolve the 'out-of-memory' issue when increasing the cutoff radius for fourth-order force constants?
Thank you for your insights!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions