pyiron_atomistics
pyiron_atomistics copied to clipboard
vasp_6_4 ML parser - sphinx eigenvalues parser
This is a draft (work still under progress) for the sphinx eigenvalues parser and vasp 6.4 ML potential parser.
- Changes to take into consideration (and also test):
- running ML job print out the following: for each DFT step you have two outputs: 1. DFT results 2. Dummy zeroes with ML label and for each ML step, you have only one output. This confuses the already existing parser.
- To fix this, two new variables: ml_steps, dft_steps to track the indices in the outcar steps of which values are to parse as ML or DFT
- Other quantities: volume change, stresses, and temperature come from DFT and ML
- We also parse all energies and from that, we parse only DFT and ML energies
- This becomes problematic with the new (and also old) get_steps function (needs to be fixed).
- It is also important to note that certain quantities only get printed out from DFT steps: scf_energies, magnetization??, and eigenvalues?? (here dft_steps comes to play).
- We currently don't know if this DFT+ML run can go back and rerun DFT steps after some ML steps (active learning style) or only go in one direction: training -> production fashion.
- Whether this parser will be problematic with regular Vasp jobs or not is also to be tested.
- get_energy_without_entropy_from_line parsing (line splitting) was changed as the additional ML string at the beginning breaks the parser.
- def get_index_type(filename="OUTCAR", lines=None): was introduced to save the ml_steps/dft_steps
- selective parsing is currently done in this fashion: self.parse_dict["energies_int"] = [energies_int[i] for i in dft_index] whether a nicer way to do it should also be done (filter function)??
- Changes to consider for the sphinx parser
- This fix should fix the eigenvalues for the static calculations (shape: n_electronic_steps) but for the minimization calculation (shape: n_ionic_stepsxn_electronic_steps) this fix still does not work.
- Sphinx does not parse eigenvalues for all steps, it currently only parses the last step.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.