devitocodes / devito

DSL and compiler framework for automated finite-differences and stencil computation
http://www.devitoproject.org
MIT License
557 stars 226 forks source link

mpi: Add utility to get number of ranks on a single node #2265

Closed mloubout closed 10 months ago

codecov[bot] commented 10 months ago

Codecov Report

Merging #2265 (bf9a4b1) into master (b2b42b8) will decrease coverage by 0.02%. The diff coverage is 55.55%.

@@            Coverage Diff             @@
##           master    #2265      +/-   ##
==========================================
- Coverage   86.94%   86.92%   -0.02%     
==========================================
  Files         229      229              
  Lines       42109    42133      +24     
  Branches     7777     7785       +8     
==========================================
+ Hits        36610    36624      +14     
- Misses       4856     4861       +5     
- Partials      643      648       +5     
Files Coverage Δ
tests/test_mpi.py 99.19% <100.00%> (+<0.01%) :arrow_up:
devito/mpi/distributed.py 92.45% <75.00%> (-0.46%) :arrow_down:
examples/seismic/preset_models.py 61.62% <44.44%> (-2.50%) :arrow_down:

... and 1 file with indirect coverage changes