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

the result is empty when dpdata complete the task of converting the data of cp2k to the data of deepmd #556

Closed
12jscvb opened this issue Oct 19, 2023 · 12 comments · Fixed by #558
Labels
cp2k wontfix This will not be worked on

Comments

@12jscvb
Copy link

12jscvb commented Oct 19, 2023

Data Summary
Labeled System

Frame Numbers : 0
Atom Numbers : 0
Including Virials : No
Element List :

how could I solve the problem Thank you for help

@12jscvb 12jscvb added the wontfix This will not be worked on label Oct 19, 2023
@robinzyb
Copy link
Collaborator

did the scf of cp2k output converge?

@12jscvb
Copy link
Author

12jscvb commented Oct 19, 2023

did the scf of cp2k output converge?

Data Summary
Labeled System

Frame Numbers : 0
Atom Numbers : 0
Including Virials : No
Element List :

yes, I have the output.log file through cp2k AIMD simulation ,so I want to convert this file to that deepmd needs

did the scf of cp2k output converge?

yes, I have the output.log file through cp2k AIMD simulation ,so I want to convert this file to that deepmd needs
out.zip

@robinzyb
Copy link
Collaborator

hello, out.zip only includes model deivaiton from lammps

@12jscvb
Copy link
Author

12jscvb commented Oct 19, 2023

你好,out.zip只包含来自Lamm ps的模型开发
sorry. I do not understand your meaning .what file I need to provide ? either. the output file is not correct.

@robinzyb
Copy link
Collaborator

I need output.log from cp2k which is not included in your provided files.

@12jscvb
Copy link
Author

12jscvb commented Oct 19, 2023

I need output.log from cp2k which is not included in your provided files.

Sorry, I'll send it to you again. Thank you very much for your help

output.zip

@robinzyb
Copy link
Collaborator

hello, I found this is MD simulation from cp2k. in this directory/folder, do you find -1.ener -pos-1.xyz, -frc-1.xyz files? if so please send upload as well.

@12jscvb
Copy link
Author

12jscvb commented Oct 20, 2023

hello, I found this is MD simulation from cp2k. in this directory/folder, do you find -1.ener -pos-1.xyz, -frc-1.xyz files? if so please send upload as well.

I'm so sorry. It's my fault. I appreciate your patience. Here are all my output files.
cp2kout.zip

@robinzyb
Copy link
Collaborator

It works very well. Could you try install cp2kdata and use dpdata plugin?

import dpdata
cp2kmd_dir = "./55-20rfj2"
cp2kmd_output_name = "1.out"
dp = dpdata.LabeledSystem(cp2kmd_dir, cp2k_output_name=cp2kmd_output_name, fmt="cp2kdata/md")
print(dp)
--- You are parsing data using package Cp2kData ---
Parsing Energies From ./55-20rfj2/aimd-1.ener
Parsing Structures From ./55-20rfj2/aimd-pos-1.xyz
Parsing Froces From ./55-20rfj2/aimd-frc-1.xyz
Parsing Cells Information from ./55-20rfj2/1.out
Atom names are fake chemical symbols as you set in cp2k input.
--- You are parsing data using package Cp2kData ---
Data Summary
Labeled System
-------------------
Frame Numbers      : 201
Atom Numbers       : 255
Including Virials  : No
Element List       :
-------------------
Al  N  H  Cl  O
55  20  80  20  80

@12jscvb
Copy link
Author

12jscvb commented Oct 20, 2023 via email

@robinzyb
Copy link
Collaborator

Sorry Just keep it in Github. Also, are your problem solved?

@12jscvb
Copy link
Author

12jscvb commented Oct 21, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cp2k wontfix This will not be worked on
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants