Closed loudesplat closed 1 year ago
Hi Louise,
this error is a sanity check of the input which finds a mistake that it was not intended to find.
What it is supposed to find is 2 inputs of the same atom types and same distance.
Here however there seems to be a real programming error reading in the input. It seems that it finds 2 instances of the same input line with distance 2, although there is only one.
Most probably this is due to the commented lines after the last used phonon_harmonic input. Adding a new line to separate the last entry, the error disappears and at first gaze it looks reasonable.
For now I think adding this input line should be sufficient, in general someone should look at the input routine to find out why it fails so drastically.
Thanks Patrick! Extra line indeed works as temporary fix.
Hi Louise,
I made a commit in a new branch:fix-Hinput-comments.
This should fix that issue and allow comments within that type of multiline Hamiltonian input.
Please test that and merge that branch into yours if that works (and then delete the fix-branch).
Cheers, Patrick
Hi Patrick, as far as I can tell that seems to have fixed the issue! Thanks!
[still github because trying to keep all MD issues in the same place]
I dont know what this error even is but F1,2,3 works and F1,2 gives this error, exactly same system otherwise. spindyn with J1,2 with 3 sites works fine.