Skip to content

How to adjust Block2's memory limiting? #84

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

You must be logged in to vote

Thanks for reporting the problem.

If you look at the API documentation, for stack_mem it says:

The memory used for storing renormalized operators (in bytes). Default is 1 GB.

Note that 1073741824 = 1024 * 1024 * 1024.

In another section in the documentation you can find that:

For medium to large scale DMRG calculations, it is highly recommended to use a scratch space with high IO speed rather than the ./tmp used in the following example. One also needs to set a suitable stack_mem in the DMRGDriver constructor to set the memory used for storing renormalized operators (in bytes). The default is stack_mem=int(1024**3) (1 GB). For medium scale calculations 10 to 30 GB might be required.

I…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jtcantin
Comment options

@hczhai
Comment options

Answer selected by hczhai
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