Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Perf: modify openmp strategy in module_gint #5898

Merged
merged 1 commit into from
Feb 13, 2025

Conversation

dzzz2001
Copy link
Collaborator

Background

In some cases, the computational workload varies significantly across different grids. Setting the OpenMP strategy to 'dynamic' can effectively balance the computational load and improve computational efficiency. Below is a comparison of computation times for one iteration of 'cal_gint_vlocal' before and after making these changes in several test cases:

before after
001_C2H6O 0.14s 0.08s
002_4MoS2 0.30s 0.13s
003_12Pt111 0.63s 0.27s

@dzzz2001 dzzz2001 requested a review from mohanchen February 13, 2025 12:53
@dzzz2001 dzzz2001 mentioned this pull request Feb 13, 2025
14 tasks
@mohanchen mohanchen added GPU & DCU & HPC GPU and DCU and HPC related any issues Useful Information Useful information for others to learn/study labels Feb 13, 2025
@mohanchen
Copy link
Collaborator

The PR largely enhances the grid integration efficiency when dealing with vacuum (molecules, surfaces, etc.) Excellent!

@mohanchen mohanchen merged commit 0f89113 into deepmodeling:develop Feb 13, 2025
14 checks passed
@dzzz2001 dzzz2001 deleted the openmp branch February 27, 2025 07:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GPU & DCU & HPC GPU and DCU and HPC related any issues Useful Information Useful information for others to learn/study
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants