Skip to content

Automatic adjustment of 'symmetry' from 1 to 0 #2723

Description

@scott-5

Background

Sometimes when doing cell-relax calculations, several situations will occur like that:

 Refine the lattice parameters in STRU or use a different`symmetry_prec`. 
 CHECK IN FILE : OUT.ABACUS/warning.log

or

ERROR: Symmetry cannot be kept due to the lost of accuracy with atom position during cell-relax.
Please set `symmetry` to 0 or -1 in INPUT file.  

So we need to adjust symmetry_prec or symmetry manually. Especially when I need to lots of DFT calculations, for example in CALYPSO, in order to avoid manual intervention, I have to set symmetry to 0. But it costs more time.
running_cell-relax.zip

Describe the solution you'd like

If ABACUS can add an option that automatically symmetry switches from 1 to 0 when symmetry analysis goes wrong, that will save a lot of resources. Further, it would be better if it implement that when the accuracy is restored, symmetry dynamically turns back to 1.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Feature DiscussedThe features will be discussed first but will not be implemented soon

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