解决Wannier90报错:'Error: You must specify dimensions of the Monkhorst-Pack grid by setting mp_grid'

如果你在运行Wannier90时遇到以下错误信息:

Wannier90: Execution started on 26Jul2023 at 11:13:10 Exiting....... Error: You must specify dimensions of the Monkhorst-Pack grid by setting mp_grid

这意味着你没有在Wannier90输入文件中指定Monkhorst-Pack网格的尺寸。

解决方法

要解决这个问题,你需要在Wannier90输入文件中设置mp_grid参数。该参数定义了Monkhorst-Pack网格在倒易空间中沿每个方向的k点的数量。

例如,要在输入文件的&system部分设置一个2x2x2的网格,你需要添加以下行:

mp_grid = 2 2 2

确保在运行Wannier90之前,你已经根据你的需求正确设置了mp_grid参数。


原文地址: https://www.cveoy.top/t/topic/fTg1 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录