Skip to content

use error->one for get_file_content #2473

Merged
wanghan-iapcm merged 1 commit intodeepmodeling:develfrom
njzjz:error_one
Apr 25, 2023
Merged

use error->one for get_file_content #2473
wanghan-iapcm merged 1 commit intodeepmodeling:develfrom
njzjz:error_one

Conversation

@njzjz
Copy link
Member

@njzjz njzjz commented Apr 23, 2023

Fix #2466.

get_file_content only throws errors for rank 0, so we should use error->one instead of error->all.

`get_file_content` only throws errors for rank 0, so we should use `error->one` instead of `error->all`.
@codecov
Copy link

codecov bot commented Apr 23, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (edb4e69) 74.38% compared to head (3d8d7a9) 74.39%.

Additional details and impacted files
@@           Coverage Diff           @@
##            devel    #2473   +/-   ##
=======================================
  Coverage   74.38%   74.39%           
=======================================
  Files         227      227           
  Lines       23401    23401           
  Branches     1673     1673           
=======================================
+ Hits        17408    17410    +2     
+ Misses       4896     4895    -1     
+ Partials     1097     1096    -1     
Impacted Files Coverage Δ
source/lmp/pair_deepmd.cpp 48.77% <0.00%> (ø)

... and 2 files with indirect coverage changes

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

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

@wanghan-iapcm wanghan-iapcm merged commit 4f386ec into deepmodeling:devel Apr 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] DPMD cannot end the calculation when the .pb file is not found at Bohrium

2 participants