Skip to content

VBM and CBM parsing inconsistency in Pyiron #15

@ahmedabdelkawy

Description

@ahmedabdelkawy

In pyiron we parse the occupancy matrix from the outcar (last scf of each ionic step) and vasprun (last scf of last ionic step). However we parse them differently and in case when we use Methfessel-Paxton smearing (and also negative occupancies), that messes up with the outcar parser resulting in different values!

from pyiron import Project
pr = Project('.')
j = pr.create.job.Vasp('test', True)
j.structure = pr.create.structure.bulk('Al', cubic=True)
j.calc_static()
j.run(run_mode='queue')
es = j.get_electronic_structure()     # from vasprun -> last ionic step
es.vbm
j['output/generic/dft/vbm_list'] # from hdf which is from outcar -> one value per ionic step

I will add more to this later!

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions