Dear Developers,
While using extract_forceconstants, I have encountered a puzzling technical issue, and I kindly ask for your advice and help.
Problem description:
I am trying to extract 4th‑order force constants from 100 MD trajectory snapshots of a supercell containing 375 atoms.
When I set the cutoff radius to 3.5 Å, the program finishes quickly and successfully, producing a force‑constant file of only about 1 MB. This suggests that the actual number of high‑order force constants that satisfy symmetry and distance constraints is not huge.
However, when I increase the cutoff radius only slightly to 4.0 Å, the program crashes :
(Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x14a1b9e475af in ???
#1 0x5596c427390e in ???
#2 0x5596c428df7f in ???
#3 0x5596c3fbc84a in ???
#4 0x5596c3e6aab9 in ???
#5 0x5596c3e77f72 in ???
#6 0x14a1b9e337e4 in ???
#7 0x5596c3e64b58 in ???
#8 0xffffffffffffffff in ???
./run.sh: line 4: 3872592 Segmentation fault (core dumped) extract_forceconstants -rc4 4.0 -s 1 > fc4.log).
Notably, I ran the test on a large‑memory node with 1 TB of RAM, and I have monitored memory usage in real‑time. No out‑of‑memory condition was observed. Does this mean the problem might stem from internal array allocation strategies rather than the final storage size.
Given that my computational resource is not modest (a 1 TB memory node), the failure caused by a small increase in cutoff radius is very puzzling.
Thank you again for your time.
fc4.log
Best regards,
Zhunyun
Dear Developers,
While using extract_forceconstants, I have encountered a puzzling technical issue, and I kindly ask for your advice and help.
Problem description:
I am trying to extract 4th‑order force constants from 100 MD trajectory snapshots of a supercell containing 375 atoms.
When I set the cutoff radius to 3.5 Å, the program finishes quickly and successfully, producing a force‑constant file of only about 1 MB. This suggests that the actual number of high‑order force constants that satisfy symmetry and distance constraints is not huge.
However, when I increase the cutoff radius only slightly to 4.0 Å, the program crashes :
(Program received signal SIGSEGV: Segmentation fault - invalid memory reference.
Backtrace for this error:
#0 0x14a1b9e475af in ???
#1 0x5596c427390e in ???
#2 0x5596c428df7f in ???
#3 0x5596c3fbc84a in ???
#4 0x5596c3e6aab9 in ???
#5 0x5596c3e77f72 in ???
#6 0x14a1b9e337e4 in ???
#7 0x5596c3e64b58 in ???
#8 0xffffffffffffffff in ???
./run.sh: line 4: 3872592 Segmentation fault (core dumped) extract_forceconstants -rc4 4.0 -s 1 > fc4.log).
Notably, I ran the test on a large‑memory node with 1 TB of RAM, and I have monitored memory usage in real‑time. No out‑of‑memory condition was observed. Does this mean the problem might stem from internal array allocation strategies rather than the final storage size.
Given that my computational resource is not modest (a 1 TB memory node), the failure caused by a small increase in cutoff radius is very puzzling.
Thank you again for your time.
fc4.log
Best regards,
Zhunyun