Skip to content

Trouble converting CP2K data to DeepMD input file #748

Answered by gwenwhite
gwenwhite asked this question in Q&A
Discussion options

You must be logged in to vote

Decided to just start from scratch. Created a new environment, ran pip install cp2kdata, and things seem to be working now. I think I may installed both cp2k and dpdata or some variations of those.
For reference here is the working code below, Thanks!!:

cp2k_output_file = "cp2k-test.log"
cp2koutput = Cp2kOutput(cp2k_output_file, path_prefix="cp2k-data")
print(cp2koutput)

Cp2k Output Summary

--------------------------------------

Cp2k Version       : 2023.1

Run Type           : MD

Atom Numbers       : 200

Frame Numbers      : 101

Force in Output    : Yes

Stress in Output   : Yes

Element List       : Na   Cl   

Element Numb       : 100  100  
--------------------------------------

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@gwenwhite
Comment options

@robinzyb
Comment options

@gwenwhite
Comment options

Answer selected by robinzyb
@robinzyb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants