-
Notifications
You must be signed in to change notification settings - Fork 109
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG]: Tetrahedron method not properly fixed with 1x1x1 k-points #335
Comments
thanks for catching this! it's not visible on GitHub but @esoteric-ephemera and i were pair-programming at the time so in that sense there was a reviewer on PR #284 (i'm not versed enough in VASP automatic error handling to design such "fixes" myself). though apparently we still fell short of due diligence |
Noted, thanks! I think the problem here boils down to trying to handle two different issues simultaneously, as "tet" will always have very small number of k-points (e.g. 1x1x1) so the fix won't work. |
I posted some preliminary thoughts on #336. Our fix doesn't work because we used |
Also, my apologies to @janosh and @esoteric-ephemera. I realize in hindsight that my original post likely came off as argumentative, and that is on me. Sleep deprivation took its toll, and I should have been more cognizant of that. |
Problem
When using ISMEAR=-5 with NKPT<4, VASP crashes with the following error:
The solution in this case should be to update ISMEAR to 0 (and set SIGMA to 0.05). However, that's not done.
Instead, Custodian tries to increase the number of k-points by 20% here:
custodian/custodian/vasp/handlers.py
Lines 202 to 204 in bc9ecbb
There are two issues with this approach:
This behavior was a breaking change introduced in #284.
@janosh: I saw you referred to https://vasp.at/forum/viewtopic.php?f=3&t=416&p=4047&hilit=dentet#p4047 in your PR. If you'd like to handle the "dentet" error differently, that's fine, but it should not impact the "tet" error handler in any way. I also am hesitant about updating the number of k-points in general. I would recommend trying to increase NEDOS, as mentioned in the forum, before considering any changes to the number of k-points with the dentet error. In any case, that is secondary to the main issue reported here.
The text was updated successfully, but these errors were encountered: