Why EPW consume so much memory? In my calculation (1T-TiTe2, 3 atoms in unit cell, 44 valence electrons, 24 q-points in ph.x calculation) I used 48 CPUs, 180 GB memory and 90 GB swap, however the calculation was crashed due to the exhaustion of memory! I attach the k and q meshes I used here.
If its before the writing of the *.epmatwp file then you can try to reduce the memory need by - increasing the number of CPUs - Reducing the initial coarse k-grid. Are you sure you really need 12x12x8 ? Maybe you can try 6x6x4 for the initial k-grid. Usually the Wannier interpolation works well and you do not need such large k-grid. - With 6x6x4 k-grid you can use a maximum of 144 CPUs. I recommend to use that number if you have enough resource. - using etf_mem = .false. (the .true. means you put everything in memory).
Best,
Samuel
Prof. Samuel Poncé
Chercheur qualifié F.R.S.-FNRS / Professeur UCLouvain
Institute of Condensed Matter and Nanosciences
UCLouvain, Belgium
Web: https://www.samuelponce.com
Dear Samuel, Thanks for your reply. I will reduce the initial coarse k-grid and try again. But some problems also happen. -When etf_mem = .false. used, the memory indeed decreases, but the communication is as large as 200 MB/s. So the CPUs are dead due to waiting for the data read form the disk. -In some cases I found that the memory is also not insufficient after the *.epmatwp file generated. How to reduce? Does it mean I should increase the memory of my sever if I do not increase the number of CPU? -By the way, whats the relationship between the number of CPU and the meshes of nk and nkf?
During the first part of EPW, the parallelization is done on nk and on nkf during the interpolation part.
Therefore you can only use nk1*nk2*nk3 CPU max during the first part and nkf1*nkf2*nkf3 CPU max during the second part.
The second part (if you want to use more CPU than nk1*nk2*nk3 in the second part) is new and will be release with QE 6.0 (next week or so).
Best,
Samuel
Prof. Samuel Poncé
Chercheur qualifié F.R.S.-FNRS / Professeur UCLouvain
Institute of Condensed Matter and Nanosciences
UCLouvain, Belgium
Web: https://www.samuelponce.com