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

After installing cp2kdata, the trajectory with an MD of 100 Although the trajectory can be read But throw an error:dpdata.system.DataError: Shape of coords is (51, 130, 3), but expected (5001, 130, 3 #543

Closed
XuFanffei opened this issue Sep 25, 2023 · 8 comments
Labels
cp2k wontfix This will not be worked on

Comments

@XuFanffei
Copy link

After installing cp2kdata, the trajectory with an MD of 100 Although the trajectory can be read But throw an error:dpdata.system.DataError: Shape of coords is (51, 130, 3), but expected (5001, 130, 3),The default MD is still 1

@XuFanffei XuFanffei added the wontfix This will not be worked on label Sep 25, 2023
@robinzyb
Copy link
Collaborator

hello, could you upload the error messages after you executed the code ?

@hanrm94
Copy link

hanrm94 commented Oct 6, 2023

hello, could you upload the error messages after you executed the code ?

Hello, I have a similar question and hope to get your help.
The reference file is too large to upload. If you need it, you can contact me with this email rongmei_h1351878@163.com
error

@robinzyb
Copy link
Collaborator

robinzyb commented Oct 6, 2023

@hanrm94 Do you have inconsistent number of output in -1.ener and -pos-1.xyz files? for example, the -1.ener has 5000 values(5000line) and the -pos-1.xyz has only 50 structures

@hanrm94
Copy link

hanrm94 commented Oct 7, 2023

@robinzyb Thank you for your reply.I will try to modify my initial file.

@robinzyb
Copy link
Collaborator

robinzyb commented Oct 8, 2023

@robinzyb Thank you for your reply.I will try to modify my initial file.

Is the problem solved?

@hanrm94
Copy link

hanrm94 commented Oct 9, 2023

@robinzyb Thank you for your reply.I will try to modify my initial file.

Is the problem solved?

It hasn't been solved yet.
I'm trying to see if I can change which part of the cp2k input file goes from 5000 values to 50 values in the output -1.ener file.
Since I am a beginner and not familiar with these software and programs, can my ideas be realized?

@robinzyb
Copy link
Collaborator

robinzyb commented Oct 9, 2023

@robinzyb Thank you for your reply.I will try to modify my initial file.

Is the problem solved?

It hasn't been solved yet. I'm trying to see if I can change which part of the cp2k input file goes from 5000 values to 50 values in the output -1.ener file. Since I am a beginner and not familiar with these software and programs, can my ideas be realized?

No need, just move out the -1.ener, the cp2kdata will parse energy from -pos-1.xyz as well.

@hanrm94
Copy link

hanrm94 commented Oct 11, 2023

@robinzyb Thank you for your reply.I will try to modify my initial file.

Is the problem solved?

It hasn't been solved yet. I'm trying to see if I can change which part of the cp2k input file goes from 5000 values to 50 values in the output -1.ener file. Since I am a beginner and not familiar with these software and programs, can my ideas be realized?

No need, just move out the -1.ener, the cp2kdata will parse energy from -pos-1.xyz as well.

Thank you very much for your help, my problem is solved.

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

No branches or pull requests

4 participants