Skip to content

When using SCAN in PW, enabling kpar parallelization can cause an error in pressure #2719

Description

@Chentao168

Describe the bug

The pressure is correct when kpar parallelization (scan-no-kpar) is not enabled.

$ grep PRESSURE scan-*/OUT*/run*
scan-kpar/OUT.Sn-alpha-2-2/running_scf.log: TOTAL-PRESSURE: +784.204126 KBAR
scan-no-kpar/OUT.Sn-alpha-2-2/running_scf.log: TOTAL-PRESSURE: +8.949799 KBAR

Expected behavior

No response

To Reproduce

20230711-bug.zip

Environment

Intel MKL with ABACUS v3.2.5

Additional Context

No response

Metadata

Metadata

Assignees

Labels

BugsBugs that only solvable with sufficient knowledge of DFT

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions