Closed dhoulek closed 1 month ago
Can reproduce the issue.
Should be fixed in the next release, but I can't see a workaround quickly, short of deleting the offending line from OUTCAR and then manually recollecting the job as
job.status.collect = True
job.run()
@dhoulek The new version is now available on conda https://anaconda.org/conda-forge/pyiron_atomistics you can install it using:
conda install -c conda-forge pyiron_atomistics=0.6.10
Summary
VASP 6.4.3 (and earlier?) prints in the OUTCAR also the INCAR file. If INCAR contains
NBLOCK
tag, as is the case of automatically happening withcalc_md
, the parser breaks at (lines 716-719 in the current version, lines 683-686 in the pyiron_atomistics version 0.5.3)since the first
line
containingNBLOCK
does not end with:Either change the if condition to:
if nblock is None and "NBLOCK" in line and "KBLOCK" in line:
or remove the semicolon fromnblock_regex = re.compile(r"NBLOCK =\s+(\d+);")
.pyiron Version and Platform
0.5.3 Linux, but should also apply to the current stable version on github
Expected Behavior
OUTCAR is parsed :-)
Actual Behavior
Parsing is broken with the message "run out of index" (or so...) at line
nblock = int(nblock_regex.findall(line)[0])
Steps to Reproduce
Add
NBLOCK
tag into Incar and run with VASP 6.4.3