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

There is an Error: The movement of atom is larger than the length of cell.

Open ieiue opened this issue 8 months ago • 6 comments

Describe the bug

When running ABACUS(v3.9.0.3) with bfgs_trad method, there is an error. The system is pure Fe(128 atoms) with 10au TZDP orbital. I tried relax or cell-relax calculations, and got the same error.

Image

Expected behavior

No response

To Reproduce

No response

Environment

ABACUS(v3.9.0.3)

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

ieiue avatar May 08 '25 05:05 ieiue

INPUT INPUT_PARAMETERS suffix Fe128 pseudo_dir ./ orbital_dir ./ ecutwfc 100 # Rydberg scf_nmax 100 scf_thr 1e-7 # Rydberg basis_type lcao calculation relax smearing_method gauss #type of smearing_method: gauss; fd; fixed; mp; mp2; mv symmetry 1 smearing_sigma 0.015 mixing_type broyden mixing_beta 0.4 mixing_gg0 1 nspin 2 force_thr_ev 0.01 stress_thr 0.5 relax_nmax 100 out_stru 1 cal_force 1 cal_stress 1 relax_method bfgs_trad

STRU ATOMIC_SPECIES Fe 55.85 Fe_ONCV_PBE-1.0.upf

NUMERICAL_ORBITAL
Fe_gga_10au_100Ry_6s3p3d2f.orb

LATTICE_CONSTANT
1.8897261258369282

LATTICE_VECTORS
    11.325470393         0.0000000000         0.0000000000
    0.0000000000        11.325470393         0.0000000000
    0.0000000000         0.0000000000        11.325470393

ATOMIC_POSITIONS
Direct

Fe
4
128
 0.000000000         0.000000000         0.000000000
 0.125000000         0.125000000         0.125000000
 0.250000000         0.000000000         0.000000000
 0.375000000         0.125000000         0.125000000
 0.500000000         0.000000000         0.000000000
 0.625000000         0.125000000         0.125000000
 0.750000000         0.000000000         0.000000000
 0.875000000         0.125000000         0.125000000
 0.000000000         0.250000000         0.000000000
 0.125000000         0.375000000         0.125000000
 0.250000000         0.250000000         0.000000000
 0.375000000         0.375000000         0.125000000
 0.500000000         0.250000000         0.000000000
 0.625000000         0.375000000         0.125000000
 0.750000000         0.250000000         0.000000000
 0.875000000         0.375000000         0.125000000
 0.000000000         0.500000000         0.000000000
 0.125000000         0.625000000         0.125000000
 0.250000000         0.500000000         0.000000000
 0.375000000         0.625000000         0.125000000
 0.500000000         0.500000000         0.000000000
 0.625000000         0.625000000         0.125000000
 0.750000000         0.500000000         0.000000000
 0.875000000         0.625000000         0.125000000
 0.000000000         0.750000000         0.000000000
 0.125000000         0.875000000         0.125000000
 0.250000000         0.750000000         0.000000000
 0.375000000         0.875000000         0.125000000
 0.500000000         0.750000000         0.000000000
 0.625000000         0.875000000         0.125000000
 0.750000000         0.750000000         0.000000000
 0.875000000         0.875000000         0.125000000
 0.000000000         0.000000000         0.250000000
 0.125000000         0.125000000         0.375000000
 0.250000000         0.000000000         0.250000000
 0.375000000         0.125000000         0.375000000
 0.500000000         0.000000000         0.250000000
 0.625000000         0.125000000         0.375000000
 0.750000000         0.000000000         0.250000000
 0.875000000         0.125000000         0.375000000
 0.000000000         0.250000000         0.250000000
 0.125000000         0.375000000         0.375000000
 0.250000000         0.250000000         0.250000000
 0.375000000         0.375000000         0.375000000
 0.500000000         0.250000000         0.250000000
 0.625000000         0.375000000         0.375000000
 0.750000000         0.250000000         0.250000000
 0.875000000         0.375000000         0.375000000
 0.000000000         0.500000000         0.250000000
 0.125000000         0.625000000         0.375000000
 0.250000000         0.500000000         0.250000000
 0.375000000         0.625000000         0.375000000
 0.500000000         0.500000000         0.250000000
 0.625000000         0.625000000         0.375000000
 0.750000000         0.500000000         0.250000000
 0.875000000         0.625000000         0.375000000
 0.000000000         0.750000000         0.250000000
 0.125000000         0.875000000         0.375000000
 0.250000000         0.750000000         0.250000000
 0.375000000         0.875000000         0.375000000
 0.500000000         0.750000000         0.250000000
 0.625000000         0.875000000         0.375000000
 0.750000000         0.750000000         0.250000000
 0.875000000         0.875000000         0.375000000
 0.000000000         0.000000000         0.500000000
 0.125000000         0.125000000         0.625000000
 0.250000000         0.000000000         0.500000000
 0.375000000         0.125000000         0.625000000
 0.500000000         0.000000000         0.500000000
 0.625000000         0.125000000         0.625000000
 0.750000000         0.000000000         0.500000000
 0.875000000         0.125000000         0.625000000
 0.000000000         0.250000000         0.500000000
 0.125000000         0.375000000         0.625000000
 0.250000000         0.250000000         0.500000000
 0.375000000         0.375000000         0.625000000
 0.500000000         0.250000000         0.500000000
 0.625000000         0.375000000         0.625000000
 0.750000000         0.250000000         0.500000000
 0.875000000         0.375000000         0.625000000
 0.000000000         0.500000000         0.500000000
 0.125000000         0.625000000         0.625000000
 0.250000000         0.500000000         0.500000000
 0.375000000         0.625000000         0.625000000
 0.500000000         0.500000000         0.500000000
 0.625000000         0.625000000         0.625000000
 0.750000000         0.500000000         0.500000000
 0.875000000         0.625000000         0.625000000
 0.000000000         0.750000000         0.500000000
 0.125000000         0.875000000         0.625000000
 0.250000000         0.750000000         0.500000000
 0.375000000         0.875000000         0.625000000
 0.500000000         0.750000000         0.500000000
 0.625000000         0.875000000         0.625000000
 0.750000000         0.750000000         0.500000000
 0.875000000         0.875000000         0.625000000
 0.000000000         0.000000000         0.750000000
 0.125000000         0.125000000         0.875000000
 0.250000000         0.000000000         0.750000000
 0.375000000         0.125000000         0.875000000
 0.500000000         0.000000000         0.750000000
 0.625000000         0.125000000         0.875000000
 0.750000000         0.000000000         0.750000000
 0.875000000         0.125000000         0.875000000
 0.000000000         0.250000000         0.750000000
 0.125000000         0.375000000         0.875000000
 0.250000000         0.250000000         0.750000000
 0.375000000         0.375000000         0.875000000
 0.500000000         0.250000000         0.750000000
 0.625000000         0.375000000         0.875000000
 0.750000000         0.250000000         0.750000000
 0.875000000         0.375000000         0.875000000
 0.000000000         0.500000000         0.750000000
 0.125000000         0.625000000         0.875000000
 0.250000000         0.500000000         0.750000000
 0.375000000         0.625000000         0.875000000
 0.500000000         0.500000000         0.750000000
 0.625000000         0.625000000         0.875000000
 0.750000000         0.500000000         0.750000000
 0.875000000         0.625000000         0.875000000
 0.000000000         0.750000000         0.750000000
 0.125000000         0.875000000         0.875000000
 0.250000000         0.750000000         0.750000000
 0.375000000         0.875000000         0.875000000
 0.500000000         0.750000000         0.750000000
 0.625000000         0.875000000         0.875000000
 0.750000000         0.750000000         0.750000000
 0.875000000         0.875000000         0.875000000

KPT K_POINTS 0 Gamma 3 3 3 0 0 0

ieiue avatar May 08 '25 06:05 ieiue

Maybe the forces or stress are too large?

mohanchen avatar May 08 '25 13:05 mohanchen

Image Using regular unit cells as the STRU, 2 step relaxation can be accomplished, but the force is not large.

ieiue avatar May 09 '25 02:05 ieiue

Could you upload all test files as a zip file, including the INPUT, STRU, and pseudopotential files?

19hello avatar May 15 '25 02:05 19hello

Failed to upload "Fe128_issue.zip" is shown here. Maybe I can send it to you in other ways.

ieiue avatar May 18 '25 14:05 ieiue

Sorry for the late reply. Could you please send the test file to my email [email protected]

19hello avatar Oct 24 '25 07:10 19hello