Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

ldos breaks symmetry after slight system size increase #6

Closed
oroszl opened this issue Jul 11, 2017 · 2 comments
Closed

ldos breaks symmetry after slight system size increase #6

oroszl opened this issue Jul 11, 2017 · 2 comments

Comments

@oroszl
Copy link

oroszl commented Jul 11, 2017

As seen in this gist a symmetry present in the local dos suddenly breaks down at a given system size.

@dean0x7d
Copy link
Owner

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).

@oroszl
Copy link
Author

oroszl commented Jul 12, 2017

Great, the day is saved !
Can confirm now that the freshest pull from github !

@oroszl oroszl closed this as completed Jul 12, 2017
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants