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

Unable to generate fields for calculating relative force deviation when using external lammps templates #1693

Open
xiaohe-njust opened this issue Dec 20, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@xiaohe-njust
Copy link

Bug summary

During the structural exploration stage, when using an external lammps template, the field “relative 1.0” cannot be generated for calculating the relative force deviation.Lammps files generated from non-external templates contain the field “relative 1.0”.I tried adding the “relative 1.0” field to the template file, but it didn't work.

Generated from external templates: pair_style deepmd ../graph.000.pb ../graph.001.pb ../graph.002.pb ../graph.003.pb out_freq 100 out_file model_devi.out
Non external template generated: pair_style deepmd ../graph.000.pb ../graph.001.pb ../graph.002.pb ../graph.003.pb out_freq ${THERMO_FREQ} out_file model_devi.out relative 1.0

DP-GEN Version

0.12.1

Platform, Python Version, Remote Platform, etc

No response

Input Files, Running Commands, Error Log, etc.

BUG.zip

Steps to Reproduce

dpgen run param.json machine.json

Further Information, Files, and Links

No response

@xiaohe-njust xiaohe-njust added the bug Something isn't working label Dec 20, 2024
@njzjz
Copy link
Member

njzjz commented Dec 20, 2024

Is it the same as your previous issue #1639? Note that we don't have enough developers, so if you could fix this issue by yourself, welcome to contribute to the code.

@xiaohe-njust
Copy link
Author

Is it the same as your previous issue #1639? Note that we don't have enough developers, so if you could fix this issue by yourself, welcome to contribute to the code.

Yes, same problem as before, found out today that it was due to not generating the appropriate fields, I hope this discovery is informative. We don't have the ability to modify the code.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants