cb-geo / mpm

CB-Geo High-Performance Material Point Method
https://www.cb-geo.com/research/mpm
Other
247 stars 82 forks source link

:rocket: Parallel/dynamic load balancing #616

Closed kks32 closed 4 years ago

kks32 commented 4 years ago

Describe the PR Dynamic load balancing with graph updates at a fixed frequency. This improves performance with 4 MPI tasks by 1.6x compared to the case of no load balancing.

Additional context Graph class is split to multiple functions to construct graph at different stages to calculate # of particles/cell and repartition graph

codecov[bot] commented 4 years ago

Codecov Report

Merging #616 into develop will increase coverage by 0.22%. The diff coverage is 83.45%.

Impacted file tree graph

@@             Coverage Diff             @@
##           develop     #616      +/-   ##
===========================================
+ Coverage    96.93%   97.15%   +0.22%     
===========================================
  Files          119      119              
  Lines        25116    25202      +86     
===========================================
+ Hits         24346    24485     +139     
+ Misses         770      717      -53     
Impacted Files Coverage Δ
include/mesh.h 100.00% <ø> (+16.67%) :arrow_up:
include/solvers/mpm.h 100.00% <ø> (ø)
include/solvers/mpm_base.h 0.00% <ø> (ø)
include/solvers/mpm_base.tcc 69.91% <26.67%> (-2.47%) :arrow_down:
include/solvers/mpm_explicit.tcc 71.90% <75.00%> (+7.11%) :arrow_up:
include/cell.h 100.00% <100.00%> (ø)
include/graph.tcc 96.10% <100.00%> (+39.35%) :arrow_up:
include/mesh.tcc 95.48% <100.00%> (+0.28%) :arrow_up:
tests/cell_test.cc 100.00% <100.00%> (ø)
tests/graph_test.cc 100.00% <100.00%> (+6.39%) :arrow_up:
... and 5 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c7a6e1e...494b232. Read the comment docs.