Dear Michael,
I appreciate your effort in testing my calculation, but the FERWE/FERDO tags are absolutely vital to the issue. Sorry if I was unclear.
I have no issues running the ground state, for now. I run very small systems and in gamma-point in order to try out the functionality, and convergence tests are planned if I can get the PEAD algorithm to work. My issue is very precisely that the PEAD routine refuses to run when setting FERWE/FERDO to an excited state of the defect. Error/warning:
The calculation of changes in the macroscopic polarization due to the application of a finite electric field, by means of the PEAD method (LCALCEPS=.TRUE. or EFIELD_PEAD/=0), requires your system to be insulating. This does not seem to be the case. VASP will skip this part of your job, sorry...
I tried running with higher K-points (see added input/output), but made no difference. If I look at the source, it looks to me like the criteria for the warning (and skipping PEAD) is having any gaps in occupation. This is an issue for me, who wants to try running precisely when I have a hole and an excited electron inside the bandgap of the semiconductor.
I am looking for insight into how to achieve the PEAD calculation even for such an occupation, or if it is unphysical/unstable to start with due to the internals of the PEAD routine. Would you be able to provide a workaround or guidance to how I could tweak the routines? Or do you know beforehand that the PEAD technique simply cannot handle excited states?
Best regards,
Oscar
PS:
Many system settings I had in the file are vital for my (point-defect) system, which understandably can seem like over-specifying the calculation. But any issues fundamentally arising from these tags, would also defeat the purpose of my calculation, so I would include the ones below in any test.
NELECT: sets the charge state of the system to -e. The added charge will be localized to the defect, and add a monopole to the system.
ISPIN: The defect actually has an effective spin of 3/2 in the intended charge state, and the ISPIN=2 is vital to capture this, and it is indeed found in my example (maybe 1/2 if done in the neutral state). The excitation I need is only in the spin-down channel.
LPEAD_RELAX: I am actually trying to relax the structure accounting for the electric field. But I am stuck on the step before that. It also limits the ALGO (https://www.vasp.at/forum/viewtopic.php?t=19899).
ISYM: The structural relaxation of the defect can reduce the symmetry of the system, so as standard is not determined/constrained in the calculation (ISYM=0).
There is also a small but finite gap of about 86 meV, which seems to be enough for PEAD calculations
Just to avoid confusion: The gap of 86 meV is not the bandgap of the system. The true bandgap of the system is 2.2 eV (with PBE) because the first conduction band state is the first non-localized unoccupied states and there may be several unoccupied defect states. This is what I think is creating incompatibility with the metallic checks currently implemented. What you specify is simply the difference between localized, dispersionless, defect levels, as could be seen in the bandplot if I had it available. It would be fine if the occupation between these states were to change due to an applied electric field. It would simply reflect charge transport within the defect and it would be interesting, but most importantly it would not imply any metallic behavior. But I will keep this in mind if the PEAD algorithm will behave unphysically if I breach that defect state gap.
You do not have the required permissions to view the files attached to this post.