Skip to content

How can I accelerate an LCAO-based NVT molecular dynamics calculation on CPU nodes? #7826

Description

@ESROAMER

Details

Current setup

  • ABACUS: develop branch, CPU build
  • Hardware: 2 nodes, 64 physical cores per node
  • Parallel layout: 64 MPI processes with 2 OpenMP threads per process
  • System size: 322 atoms
  • Basis: LCAO DZP
  • Exchange-correlation: PBE
  • van der Waals correction: D3(BJ)
  • k-points: Gamma-only
  • Plane-wave cutoff: ecutwfc = 100 Ry
  • MD ensemble: NVT with a Nose–Hoover chain
  • Temperature: 300 K
  • Time step: currently 0.2 fs
  • SCF threshold: 1e-6
  • SCF solver: Broyden mixing
  • mixing_beta = 0.6
  • mixing_ndim = 8
  • Charge density restarted from a previous converged calculation

Performance

With this setup, one MD step takes approximately 339 seconds. A typical step requires about 23 electronic iterations, with each iteration taking approximately 7 seconds.

I also added an ion-only restraint force to the code. Direct timing shows that the restraint calculation takes approximately 22 microseconds per MD step, so it has no measurable
impact on the total runtime and is not the performance bottleneck.

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

QuestionsRaise your quesiton! We will answer it.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions