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

revert prod_force OMP in #1360 #1862

Merged
merged 3 commits into from
Aug 19, 2022
Merged

Conversation

njzjz
Copy link
Member

@njzjz njzjz commented Aug 17, 2022

Sometimes when the box is quite small (i.e. box size < 2 * rcut), the same atom may repeat to appear in the neighbor list built by DP. This cause inaccurate results when using OMP.

Sometimes when box is quite small (i.e. box size < 2 * rcut), the same atom may repeat to appear in the neighbor list. This cause inaccurate results when using OMP.
@codecov-commenter
Copy link

codecov-commenter commented Aug 17, 2022

Codecov Report

Merging #1862 (a5f672e) into devel (7aea9cf) will increase coverage by 15.44%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##            devel    #1862       +/-   ##
===========================================
+ Coverage   61.53%   76.98%   +15.44%     
===========================================
  Files           4      117      +113     
  Lines          13     9417     +9404     
===========================================
+ Hits            8     7250     +7242     
- Misses          5     2167     +2162     
Impacted Files Coverage Δ
deepmd/common.py 79.35% <0.00%> (ø)
deepmd/model/__init__.py 100.00% <0.00%> (ø)
deepmd/model/model.py 75.00% <0.00%> (ø)
deepmd/utils/neighbor_stat.py 94.23% <0.00%> (ø)
deepmd/cluster/slurm.py 100.00% <0.00%> (ø)
deepmd/utils/weight_avg.py 20.00% <0.00%> (ø)
deepmd/infer/deep_polar.py 65.21% <0.00%> (ø)
deepmd/nvnmd/utils/op.py 100.00% <0.00%> (ø)
deepmd/entrypoints/config.py 16.00% <0.00%> (ø)
source/op/_tabulate_grad.py 100.00% <0.00%> (ø)
... and 103 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@njzjz
Copy link
Member Author

njzjz commented Aug 17, 2022

I also fix the failure of GitHub Actions due to the breaking change of setuptools 64.

@wanghan-iapcm wanghan-iapcm merged commit acca2a6 into deepmodeling:devel Aug 19, 2022
mingzhong15 pushed a commit to mingzhong15/deepmd-kit that referenced this pull request Jan 15, 2023
* revert prod_force OMP in deepmodeling#1360

Sometimes when box is quite small (i.e. box size < 2 * rcut), the same atom may repeat to appear in the neighbor list. This cause inaccurate results when using OMP.

* do not update pip

Signed-off-by: Jinzhe Zeng <[email protected]>

* revert pining pip; setting env for setuptools>=64

Signed-off-by: Jinzhe Zeng <[email protected]>

Signed-off-by: Jinzhe Zeng <[email protected]>
@njzjz njzjz added the critical Critical bugs that may break the results without messages label Sep 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Core critical Critical bugs that may break the results without messages
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants