Fixed bug in ScanOptimizeFW PBEsol step#766
Conversation
|
I initially forgot to update the tests and the reference INCARs for the PBEsol precalculations. For some reason when I use pytest locally, everything in the relevant module (atomate/vasp/workflows/tests/test_vasp_workflows.py) gets skipped. |
|
OK, I do not really get why the tests fail still. Apparently there is still an INCAR written with a METAGGA tag, which is then not found in the reference file (because I deleted it). I am not sure why, since in testing this myself, I do not get this problem. I cannot debug the tests, since they are all skipped locally. Maybe there is some interaction with my other changes? Anyhow, I can confirm that |
|
Hi, @MichaelWolloch, thanks for your contribution. |
Hi @Zhuoying , I am not sure what you mean. Why should my approach not work for vasp 5.4.4? And why should the metagga flag not be set in the Note that my changes ONLY apply if there is a structure passed. As I said, I am using a custom fork, so I do not care that much if this is merged or not, but I do not really understand the problem with this PR. That of course does not mean that there are none, but please take the time to explain a bit more what your issues are. |
|
Hi @MichaelWolloch, Thanks for your detailed explanation. I thought the previous tests failed the PR due to a compatibility issue (maybe not, I am reopening the PR and taking a look). I just want to ensure the fix works for both 5.4.4 and 6.3.0. |
|
Hi @Zhuoying, thanks for opening this back up. I pulled the changes, and now fixed a bug for vdw SCAN. I hope all the tests pass now. |
Summary
I am using my own fork of atomate to enable better copying of vdW kernels and better chaining of OptimizeFW and StaticFW. I updated my fork recently and found that the PBEsol step of the ScanOptimizeFW is broken now. Specifically the removal of the METAGGA tag for that step is not working correctly.
Setting METAGGA = None in the INCAR (which one would assume is the default according to the Wiki) results in an error, at least for vasp 6.3:
It is better to remove the tag altogether, which is not hard to do with the following steps:
METAGGAflag in thevasp_input_set.incaror thevasp_input_set_paramsan put it in metagga_type."METAGGA": None, one unsets"METAGGA": metagga_type.TODO (maybe)