Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] _Accelerate fp calculation part by splitting it into two steps #1198

Open
ZHANG-JINYU-1994 opened this issue Apr 28, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@ZHANG-JINYU-1994
Copy link

ZHANG-JINYU-1994 commented Apr 28, 2023

Summary

Accelerate fp calculation by splitting it into two steps
Detailed Description

fp calculations in dpgen usually consumes most resources during the whole training process. Dpgen requires many static calculations which need to starts from a bad initial wavefunction. The minimization from the initial wavefunction will consume a lot of time in the traininig process. The performance can be accelerated by several times if we minimize the wavefunction to an accuracy of meV quickly, pass the WAVECAR, and do a second minimization accurately. In the first minimization, the LREAL, PREC, and, ENCUT can be tuned to accelerate the performance. The improvement is a typical feature for traininig the potential since the usual applications of fp, e.g., structural minimization and aimd only perform one minimization from the initial wavefunction at the first ionic step. Therefore, this is not a feature request for VASP but for DPGEN.

Further Information, Files, and Links

Attached is a performance test of a CeZrO system. The DFT calculation with rare earth element like Ce will greatly slow down the fp calculation. By splitting the fp calculation into two steps, the performance can be accelerated by 6 times, which I think is an great improvement for the training process.
Performance_test_zjy.pdf

@ZHANG-JINYU-1994
Copy link
Author

ZHANG-JINYU-1994 commented Apr 28, 2023

For now, this can be realized by modifying the command tag in fp in the machine.json. At least, it would be benificial if the user can be aware of this potential improvement from the manual.

@njzjz njzjz added enhancement New feature or request and removed new feature labels Oct 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants