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

How to parse output the OUTCAR file generated by ML method #11

Open
Guodonglin-cqust opened this issue Jun 2, 2024 · 10 comments
Open

Comments

@Guodonglin-cqust
Copy link

Guodonglin-cqust commented Jun 2, 2024

Dear developer

 For normal OUTCAR file, i can parse output the OUTCAR using the tdep_parse_output.py, but for OUTCAR generated by ML method, i can not parse output the OUTCAR file, could you help me. Thank you very much.

The attach file is the  OUTCAR generated by ML method.

Besh wishes

Donglin

@Guodonglin-cqust
Copy link
Author

OUTCAR0001.zip

@flokno
Copy link
Owner

flokno commented Jun 2, 2024

Hi @Guodonglin-cqust ,
We generally recommend the vasprun.xml for parsing — do you have this file?

@Guodonglin-cqust
Copy link
Author

I have the vasprun.xml, and the attach file is the vasprun.xml generated by ML method.
vasprun.zip

@Guodonglin-cqust
Copy link
Author

Based on the vasprun.xml generated by ML method, i also can not parse output the vasprun.xml file

(base) cqwl111@cqwl111:/Videos/456$ tdep_parse_output vasprun.xml
Parse 1 file(s)
... empty forces will be ignored: False
*** SIMULATION TEMPERATURE IS NOT GIVEN
--> set to -314.15K to remind you
... parse file 1: 'vasprun.xml'
... found 0 samples
... discard 0 steps at beginning
... no data found, abort.
(base) cqwl111@cqwl111:
/Videos/456$

@flokno
Copy link
Owner

flokno commented Jun 3, 2024

Hi @Guodonglin-cqust , there seems to be an issue with parsing this output. Since we use ASE for parsing, I would transfer this to the ASE issue tracker: https://gitlab.com/ase/ase/-/issues . Is it ok if I share your output there?

@Guodonglin-cqust
Copy link
Author

OK, thank you very much.

@Guodonglin-cqust
Copy link
Author

Could you help me revise the tdep_parse_output.py, making it to parse output the OUTCAR generated by ML method. The ML method could speed up the iteration process of TDEP code. Therefore, I believe that the users of tdeptools expect tdep _ parse _ output.py could read any OUTCAR file, making it more universal.

@nityasagarjena
Copy link

Hi, you could use the following python parser to get the tdep infiles from VASP MLFF runs,
tdep_infiles_VASP_MLFF.py.zip

@Guodonglin-cqust
Copy link
Author

yes, it works well, thank you very much @nityasagarjena nityasagarjena

@phyjz
Copy link

phyjz commented Jan 10, 2025

Hi, you could use the following python parser to get the tdep infiles from VASP MLFF runs, tdep_infiles_VASP_MLFF.py.zip

I discovered that your Python script inaccurately identifies the number of molecular dynamics steps in VASP. I ran 4000 steps with VASP, but it recognized 4296 steps. These additional 296 steps were precisely DFT calculations rather than those fitted using force fields. My VASP version is 6.43.What could be the reason for this?@nityasagarjena

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants