Skip to content

Minimal Memory Usage #151

Answered by hczhai
cfengno1 asked this question in Q&A
Discussion options

You must be logged in to vote

The optimal settings can be system dependent. Generic ways to reduce the memory usage can be:

  1. Set symm_type=SymmetryTypes.SU2 | SymmetryTypes.SP to activate single precision mode. This should work for most model systems, and reduce half of the memory and computational cost. The Davidson threshold thrds should be set to 1E-5 to 1E-6 in this mode.
  2. Set dot=1 in driver.get_random_mps to do 1-site DMRG. It may converge to local minima in some cases.
  3. Use MPI and multiple nodes to distribute the memory. To get instructions on how to do this I have to know the complete input file.

If the above does not solve the problem, further system specific suggestions have to be based on the detailed infor…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by cfengno1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants