abacus-develop icon indicating copy to clipboard operation
abacus-develop copied to clipboard

`out_mat_dh` will lead to different result with MPI-1core with MPI-4core

Open dyzheng opened this issue 1 year ago • 2 comments

Describe the bug

207_NO_KP_OH_nscf.zip

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).

dyzheng avatar May 07 '24 07:05 dyzheng

In case 207_NO_KP_OTdH, no error occured with different MPI-cores, I guess the bug comes from R!=(0,0,0)

dyzheng avatar May 07 '24 07:05 dyzheng

Another problem is out_mat_dh will affect the result of out_mat_r.

dyzheng avatar May 07 '24 12:05 dyzheng