Skip to content
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]Function make_abacus_scf_stru() has no magnetic moment determination. #1487

Open
metaliuyong opened this issue Mar 19, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@metaliuyong
Copy link

Bug summary

The line 270 of code dpgen/generator/lib/abacus_scf.py sets the magnetic moment line lin the STRU file to 0 in any case, even if the configuration set in ”sys_configs“ to generate md trajectory at 01.model_devi stage has nonzero magnetic moment. This will result in first-principle calculations at the 02.fp stage without spin polarization turned on or without a correct initial magnetic moment. It is hoped that developers can add a determination of the magnetic moment to generate STRU files.

DP-GEN Version

0.12.0

Platform, Python Version, Remote Platform, etc

No response

Input Files, Running Commands, Error Log, etc.

dpgen_abacus_bug

Steps to Reproduce

dpgen run run_param.json machine.json

Further Information, Files, and Links

No response

@kaiqi-wang
Copy link

I meet the same situation and in my opinion, this is not a bug, magnetic should not be consindered in this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants