The epmatwp file is too large, causing an EPW runtime error
Posted: Fri Aug 29, 2025 12:04 am
Dear EPW developers, I am unsure if this is a bug.
With a 4x4x4 q-point grid:
In the epw.in input file, if the settings are: etf_mem = 0, mp_mesh_k = .false., epw_memdist = .true., the EPW run terminates.
If the settings are: etf_mem = 1, mp_mesh_k = .false., the EPW run completes successfully, but the SnSe.epmatwp file size is 33.37 GB.
When the q-point grid is reduced from 4x4x4 to 3x3x3:
With the settings: etf_mem = 0, mp_mesh_k = .false., epw_memdist = .true., the EPW run is successful, and the SnSe.epmatwp file size is 3.39 GB.
With the settings: etf_mem = 1, mp_mesh_k = .false., the EPW run is successful, and the SnSe.epmatwp file size is 3.39 GB.
For the 3x3x3 q-point grid, both settings work successfully, resulting in a SnSe.epmatwp file size of 3.39 GB. For the 4x4x4 q-point grid, only the settings etf_mem = 1, mp_mesh_k = .false. lead to a successful run, resulting in a SnSe.epmatwp file size of 33.37 GB, while the settings etf_mem = 0, mp_mesh_k = .false., epw_memdist = .true. cause the run to fail. Therefore, I suspect that the SnSe.epmatwp file might be too large, leading to the EPW runtime error.
With a 4x4x4 q-point grid:
In the epw.in input file, if the settings are: etf_mem = 0, mp_mesh_k = .false., epw_memdist = .true., the EPW run terminates.
If the settings are: etf_mem = 1, mp_mesh_k = .false., the EPW run completes successfully, but the SnSe.epmatwp file size is 33.37 GB.
When the q-point grid is reduced from 4x4x4 to 3x3x3:
With the settings: etf_mem = 0, mp_mesh_k = .false., epw_memdist = .true., the EPW run is successful, and the SnSe.epmatwp file size is 3.39 GB.
With the settings: etf_mem = 1, mp_mesh_k = .false., the EPW run is successful, and the SnSe.epmatwp file size is 3.39 GB.
For the 3x3x3 q-point grid, both settings work successfully, resulting in a SnSe.epmatwp file size of 3.39 GB. For the 4x4x4 q-point grid, only the settings etf_mem = 1, mp_mesh_k = .false. lead to a successful run, resulting in a SnSe.epmatwp file size of 33.37 GB, while the settings etf_mem = 0, mp_mesh_k = .false., epw_memdist = .true. cause the run to fail. Therefore, I suspect that the SnSe.epmatwp file might be too large, leading to the EPW runtime error.