Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
ldos breaks symmetry after slight system size increase #6
Thanks for reporting this! It should be fixed now in 867b741.
This turned out to be a subtle but very serious issue specific to large multi-orbital models. In order to reduce RAM usage when building large systems, pybinding slices the work up into smaller pieces and buffers some intermediate hopping data. All the system slices have the same size except for the last one. This wasn't a problem for single-orbital models, but multi-orbital ones needed a buffer layout change in addition to the size change for that last slice. This is why the bug appeared in your example only after a certain size and for one side of the system (the last slice).