NCAR / DART

Data Assimilation Research Testbed
https://dart.ucar.edu/
Apache License 2.0
197 stars 145 forks source link

Remove extra subroutine for all_reduce_min_max in mpi utilites #766

Closed mjs2369 closed 2 weeks ago

mjs2369 commented 2 weeks ago

Description:

Removed an unnecessary subroutine since all_reduce_min_max and broadcast_minmax were doing the work of a single subroutine.

Fixes issue

fixes #762

Types of changes

Documentation changes needed?

Tests

Compiled and ran lorenz

Checklist for merging

Checklist for release

Testing Datasets

hkershaw-brown commented 2 weeks ago

Compiled and ran lorenz

lorenz doesn't call broadcast_minmax (or all_reduce_min_max) so this is not a great test for this pull request. You can use the github action to run all quickbuild.sh: https://github.com/NCAR/DART/actions/workflows/run_all_quickbuilds.yml