-
Notifications
You must be signed in to change notification settings - Fork 134
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
Bad termination when setting out_mat_hs
=true
/True
.
#5389
Comments
you should use 1 instead of true, the throw of stoi means converting from string to integer. |
A nice question, it seems that you need to put 1 or 0, as described in the online document. |
@mohanchen other users used to have suggestions on this, maybe a simple function supporting 1, T, True, .TRUE., etc can solve this more gracefully, and this is what the solution of VASP. |
@ErjieWu ouch, thanks, now I realize what the real problem is. I will reopen this issue. Thanks for your comments. |
Describe the bug
When running ABACUS with input parameter
out_mat_hs=1
, it works normally. But if I setout_mat_hs
=True
ortrue
, it will throw a termination as follows:Expected behavior
No response
To Reproduce
The full INPUT file is:
STRU:
Environment
No response
Additional Context
No response
Task list for Issue attackers (only for developers)
The text was updated successfully, but these errors were encountered: