Skip to content

BFGS in cell-relax cannot lead to convergence (48-atom C system) #4140

@kogareru1z

Description

@kogareru1z

Details

When using BFGS for structural optimization, the following error occurred: trust radius is too small! Break down
When I use the CG method, the step of relaxation continues indefinitely and cannot converge to the final result, and the following warning appeared: WARNING: PRICELL: NCELL != NTRANS! NCELL=24, NTRANS=13. Suggested solution: Use a larger symmetry_prec. Now regard the structure as a primitive cell

INPUT_PARAMETERS

#Parameters (1.General)
suffix C_600_test
calculation cell-relax
out_stru 1
cal_force 1
cal_stress 1
ntype 1
symmetry 1
vdw_method d3_bj
pseudo_dir ./
orbital_dir ./
relax_nmax 500
relax_new True
device gpu

#Parameters (2.Iteration)
ecutwfc 80
scf_thr 1.0e-7
scf_nmax 120

#Parameters (3.Basis)
basis_type pw
relax_method bfgs
symmetry_prec 5.0e-5
relax_bfgs_rmin 1e-6

#Parameters (4.Smearing)
smearing_method gaussian
smearing_sigma 0.001
force_thr_ev 0.001

ATOMIC_SPECIES
C 12.011 C_ONCV_PBE-1.2.upf

LATTICE_CONSTANT
1.889726

LATTICE_VECTORS
8.6465800000 0.0000000000 0.0000000000
0.0000000000 7.4881580000 0.0000000000
0.0000000000 0.0000000000 7.4907400000

ATOMIC_POSITIONS
Direct

C
0.0000000000
48
0.0824720000 0.1649430000 0.2500000000 1 1 1 mag 0.0
0.3350560000 0.0000000000 0.2500000000 1 1 1 mag 0.0
0.8324720000 0.3350560000 0.2500000000 1 1 1 mag 0.0
0.1675280000 0.3350560000 0.2500000000 1 1 1 mag 0.0
0.1649430000 0.0000000000 0.2500000000 1 1 1 mag 0.0
0.9175280000 0.1649430000 0.2500000000 1 1 1 mag 0.0
0.5824720000 0.1649400000 0.2500000000 1 1 1 mag 0.0
0.8350560000 0.0000000000 0.2500000000 1 1 1 mag 0.0
0.3324720000 0.3350620000 0.2500000000 1 1 1 mag 0.0
0.6675280000 0.3350560000 0.2500000000 1 1 1 mag 0.0
0.6649430000 0.0000000000 0.2500000000 1 1 1 mag 0.0
0.4175280000 0.1649430000 0.2500000000 1 1 1 mag 0.0
0.8324720000 0.6649430000 0.2500000000 1 1 1 mag 0.0
0.0850570000 0.5000000000 0.2500000000 1 1 1 mag 0.0
0.5824720000 0.8350560000 0.2500000000 1 1 1 mag 0.0
0.9175280000 0.8350560000 0.2500000000 1 1 1 mag 0.0
0.9149440000 0.5000000000 0.2500000000 1 1 1 mag 0.0
0.6675280000 0.6649430000 0.2500000000 1 1 1 mag 0.0
0.3324720000 0.6649430000 0.2500000000 1 1 1 mag 0.0
0.5850570000 0.5000000000 0.2500000000 1 1 1 mag 0.0
0.0824720000 0.8350560000 0.2500000000 1 1 1 mag 0.0
0.4175280000 0.8350560000 0.2500000000 1 1 1 mag 0.0
0.4149440000 0.5000000000 0.2500000000 1 1 1 mag 0.0
0.1675280000 0.6649430000 0.2500000000 1 1 1 mag 0.0
0.0824720000 0.1649430000 0.7500000000 1 1 1 mag 0.0
0.3350560000 0.0000000000 0.7500000000 1 1 1 mag 0.0
0.8324720000 0.3350560000 0.7500000000 1 1 1 mag 0.0
0.1675280000 0.3350560000 0.7500000000 1 1 1 mag 0.0
0.1649430000 0.0000000000 0.7500000000 1 1 1 mag 0.0
0.9175280000 0.1649430000 0.7500000000 1 1 1 mag 0.0
0.5824720000 0.1649430000 0.7500000000 1 1 1 mag 0.0
0.8350560000 0.0000000000 0.7500000000 1 1 1 mag 0.0
0.3324720000 0.3350560000 0.7500000000 1 1 1 mag 0.0
0.6675280000 0.3350560000 0.7500000000 1 1 1 mag 0.0
0.6649430000 0.0000000000 0.7500000000 1 1 1 mag 0.0
0.4175280000 0.1649430000 0.7500000000 1 1 1 mag 0.0
0.8324720000 0.6649430000 0.7500000000 1 1 1 mag 0.0
0.0850570000 0.5000000000 0.7500000000 1 1 1 mag 0.0
0.5824720000 0.8350560000 0.7500000000 1 1 1 mag 0.0
0.9175280000 0.8350560000 0.7500000000 1 1 1 mag 0.0
0.9149440000 0.5000000000 0.7500000000 1 1 1 mag 0.0
0.6675280000 0.6649430000 0.7500000000 1 1 1 mag 0.0
0.3324720000 0.6649430000 0.7500000000 1 1 1 mag 0.0
0.5850570000 0.5000000000 0.7500000000 1 1 1 mag 0.0
0.0824720000 0.8350520000 0.7500000000 1 1 1 mag 0.0
0.4175280000 0.8350560000 0.7500000000 1 1 1 mag 0.0
0.4149440000 0.5000000000 0.7500000000 1 1 1 mag 0.0
0.1675280000 0.6649430000 0.7500000000 1 1 1 mag 0.0

Have you read FAQ on the online manual http://abacus.deepmodeling.com/en/latest/community/faq.html

  • Yes, I have read the FAQ part on online manual.

Task list for Issue attackers (only for developers)

  • Understand the problem or question described by the user.
  • Check if the issue is a known problem or has been addressed in the documentation.
  • Test the issue or problem on a similar system or environment, if possible.
  • Identify the root cause or provide clarification on the user's question.
  • Provide a step-by-step guide, including any necessary resources, to resolve the issue or answer the question.
  • If the issue is related to documentation, update the documentation to prevent future confusion (optional).
  • If the issue is related to code, consider implementing a fix or improvement (optional).
  • Review and incorporate any relevant feedback from users or developers.
  • Ensure the user's issue is resolved or their question is answered and close the ticket.

Metadata

Metadata

Assignees

Labels

GeometryRelaxationIssues related to geometry relaxation

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions