You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
All HexxR have been reduced to only one process. Will this lead to memory crashes in large-scale computing?
exx_lri.Hexxs is already a global matrix (with the same value on all the processors) no need for extra reduction.
What I did is simply that: if DRANK==0, convert to CSR and write; else, do nothing.
All HexxR have been reduced to only one process. Will this lead to memory crashes in large-scale computing?
exx_lri.Hexxs is already a global matrix (with the same value on all the processors) no need for extra reduction. What I did is simply that: if DRANK==0, convert to CSR and write; else, do nothing.
For each process, only part of Hexx is stored in memory.
Although the same Hexx[I][J] may appear repeatedly in multiple processes, it does not mean that each process contains all Hexx.
For large systems, the memory requirement to store the global Hamiltonian matrices is unacceptable.
For each process, only part of Hexx is stored in memory. Although the same Hexx[I][J] may appear repeatedly in multiple processes, it does not mean that each process contains all Hexx. For large systems, the memory requirement to store the global Hamiltonian matrices is unacceptable.
So there's a waste of memory in Hexx to be improved. Maybe I can have a try in another PR.
This PR is to circumvent cereal's bug, as long as to "convert to CSR and write" in every processor can achieve this goal, right?
For each process, only part of Hexx is stored in memory. Although the same Hexx[I][J] may appear repeatedly in multiple processes, it does not mean that each process contains all Hexx. For large systems, the memory requirement to store the global Hamiltonian matrices is unacceptable.
So there's a waste of memory in EXX Hexx to be improved. Maybe I can have a try in another PR. This PR is to circumvent cereal's bug, as long as to "convert to CSR and write" in every processor can achieve this goal, right?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Background
Currently, EXX-NSCF suffers from cereal's bug in reading Hexx(R) (related issues: #2235 #3323), which forces the users to turn to PyATB.
What's changed