QuantumATK Forum

QuantumATK => General Questions and Answers => Topic started by: kanna on January 20, 2016, 10:15

Title: understanding memory consumption
Post by: kanna on January 20, 2016, 10:15
Hi,

In the log
Quote
| Size of dense matrices = 10516 x 10516 [1687 MB per matrix]                  |

|                                                                              |
| Storage of orbitals in real space is disabled.                               |
| Enabling storage requires an additional   607 MB.                            |
|                                                                              |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
|                                                                              |
| Real space grid sampling is (61, 111, 773) in a, b, and c directions.        |
|                                                                              |
+------------------------------------------------------------------------------+
+------------------------------------------------------------------------------+
|                                                                              |
| Storage of atomic core grids requires    39 MB per grid                      |
|                                                                              |
+------------------------------------------------------------------------------+


Thanks
kanna
Title: Re: understanding memory consumption
Post by: Jess Wellendorff on January 20, 2016, 10:19
The of grid points for real space sampling is determined by the size of the simulation cell and by the "Density mesh cut-off" (in Hartree). The larger the cell and the high the cutoff, the more grid points are needed. k-point sampling has nothing to do with real space sampling.
Title: Re: understanding memory consumption
Post by: kanna on January 20, 2016, 10:25
Thanks Jess,
With reference to my above questions,
-Reducing cell size means that I need to have more k-points for the simulation so that I get good accuracy of results, even reducing the mesh cut-off reduces accuracy.
Is there a thumb rule for these parameters ?

Summarizing, to reduce memory consumption , the options are:
1. reduce k point sampling along c direction
2. reducing density mesh cutoff
3. basis set (DZP, SZP)
4. Does exchange correlation significantly affect memory / CPU time ?

Title: Re: understanding memory consumption
Post by: Anders Blom on January 20, 2016, 10:46
Where do you get the 10 GB number from? The grid sampling is how many points the grid contains. Each point is NOT 39 MB, it's the WHOLE grid which is 39 MB. You have 3-4 such grids in the calculation (density, effective potential, ...).

The main parameters to reduce memory consumption is mixing and basis set. See http://docs.quantumwise.com/tutorials/advanced_performance.html