abacus-develop
abacus-develop copied to clipboard
`out_mat_dh` will lead to different result with MPI-1core with MPI-4core
Describe the bug
Result files of data-dHRx-sparse_SPIN0.csr and data-dHRy-sparse_SPIN0.csr and data-dHRz-sparse_SPIN0.csr should not change with different MPI cores
Expected behavior
No response
To Reproduce
No response
Environment
No response
Additional Context
No response
Task list for Issue attackers (only for developers)
- [ ] Verify the issue is not a duplicate.
- [ ] Describe the bug.
- [ ] Steps to reproduce.
- [ ] Expected behavior.
- [ ] Error message.
- [ ] Environment details.
- [ ] Additional context.
- [ ] Assign a priority level (low, medium, high, urgent).
- [ ] Assign the issue to a team member.
- [ ] Label the issue with relevant tags.
- [ ] Identify possible related issues.
- [ ] Create a unit test or automated test to reproduce the bug (if applicable).
- [ ] Fix the bug.
- [ ] Test the fix.
- [ ] Update documentation (if necessary).
- [ ] Close the issue and inform the reporter (if applicable).
In case 207_NO_KP_OTdH, no error occured with different MPI-cores, I guess the bug comes from R!=(0,0,0)
Another problem is out_mat_dh will affect the result of out_mat_r.