本帖最后由 丁越 于 2021-12-6 22:31 编辑
关于CP2k-8.2使用OT方法时SCF卡住的解决方法
最近在论坛上好多小伙伴反映在编译openmpi的CP2K-8.2时明明一切编译的很顺利,没有任何报错,但是使用OT算法时SCF却莫名其妙卡死。于是去google group 上咨询了一下,Hutter教授是这样回复的:
there is a good chance that this behavior is due to an interface problem with the ELPA library. You can find information about it
in this mailing list or on the github repository.
Easy fix is to use the SCALAPACK library by adding
&GLOBAL
...
PREFERRED_DIAG_LIBRARY SL
&END GLOBAL
to your input.
regards
Juerg Hutter
由于CP2K-8.2中toolchain编译默认安装的ELPA库是elpa-2020.11.001.tar.gz,目前这个库太新了导致的bug还真不少 所以当下的解决办法要么是在&GLOBAL 中替换掉默认的对角化库ELPA改用SCALAPACK库,要么在编译的时候直接写--with-elpa=no。 PS:openmpi需要自行编译4.1.1版本,结合--with-elpa=no可以顺利解决OT卡住问题。
|