abacusmodeling / abacus-develop

An electronic structure package based on either plane wave basis or numerical atomic orbitals.
GNU Lesser General Public License v3.0
154 stars 154 forks source link

Setting different value of OMP_NUM_THREADS results in the fail of simulation #319

Open Love-sea opened 4 months ago

Love-sea commented 4 months ago

Describe the bug

For the same model, I ran simulations with the value (OMP_NUM_THREADS) set to 1 and 2, respectively, yielding drastically different results as shown in the figure below. When the parameter is set to 2, the simulation runs exceedingly slowly and generates a warning: "the movement of atom is larger than the length of cell," ultimately causing the simulation to terminate prematurely.

1715848436601

Expected behavior

No response

To Reproduce

No response

Environment

No response

Additional Context

No response

Task list for Issue attackers (only for developers)