计算化学公社

标题: 求助 如何使用gpu加速vasp机器学习力场计算? [打印本页]

作者
Author:
doma    时间: 2025-12-5 12:52
标题: 求助 如何使用gpu加速vasp机器学习力场计算?
本帖最后由 doma 于 2025-12-5 12:52 编辑

vasp6.5.0使用arch里的模板makefile.include.nvhpc_ompi_mkl_omp_acc成功编译了gpu版vasp 单卡v100 16g
在win11的wsl Ubuntu24中经测试跑标准密度泛函  使用mpirun -n 1 vasp_std  可以调用gpu跑满,也有加速效果
但一旦启用ML_MODE=RUN,任务管理器中没发现gpu有负载。
请问有大佬知道有可能是什么原因吗?
是不是VASP机器学习mlff本身不支持gpu?
作者
Author:
wangxc    时间: 2025-12-6 11:01
参考链接:https://vasp.at/wiki/Best_practi ... earned_force_fields
At present, VASP provides only MPI-based parallelization for the MLFF feature. Therefore, any operational mode relying exclusively on MLFF code - such as predictive MD simulations (ML_MODE = run) and local reference configuration selection (ML_MODE = select) - cannot leverage alternative forms of parallelization like OpenACC offloading to GPUs or an MPI/OpenMP hybrid approach. Conversely, a usual on-the-fly training involves both MLFF generation and ab-initio computations. When the latter component predominates in terms of computational demand, utilizing non-MPI parallelization remains practical.
作者
Author:
doma    时间: 2025-12-7 23:25
wangxc 发表于 2025-12-6 11:01
参考链接:https://vasp.at/wiki/Best_practices_for_machine-learned_force_fields
At present, VASP pro ...

感谢,看来目前只能第一步on the fly training在计算第一性原理的时候时能吃到GPU加速。
作者
Author:
Myth    时间: 2025-12-23 09:59
请问Vasp支持gpu加速的版本都有哪些呀?是只有最新版本才支持,还是旧的版本也会有?感谢
作者
Author:
doma    时间: 2025-12-26 04:43
Myth 发表于 2025-12-23 09:59
请问Vasp支持gpu加速的版本都有哪些呀?是只有最新版本才支持,还是旧的版本也会有?感谢

看起来新旧都有
https://www.vasp.at/wiki/OpenACC_GPU_port_of_VASP
https://www.vasp.at/wiki/Installing_VASP.5.X.X#For_the_GPU_port
作者
Author:
Myth    时间: 2025-12-26 09:20
doma 发表于 2025-12-26 04:43
看起来新旧都有
https://www.vasp.at/wiki/OpenACC_GPU_port_of_VASP
https://www.vasp.at/wiki/Instal ...

收到,十分感谢




欢迎光临 计算化学公社 (http://bbs.keinsci.com/) Powered by Discuz! X3.3