Open worleyph opened 1 year ago
@worleyph @sarats I created a unit test for ocean reproducible sums that attempt to fill in arrays with random values that span the range for a given data type to try and increase the difficulty for reproducibility. The interfaces for the ocean are different and it also tests sum-with-product, but it may be an easier starting point. It sits over in the MPAS-Dev github space in: MPAS-Dev/MPAS-QuickViz/ocean/reproducible_sums/sumTest.F90
FYI, distracted by Frontier deployment/testing etc. Will revisit in a week or two.
Interest has been expressed in creating a unit test for shr_reprosum_mod.F90. I have created some standalone code and tests for development purposes, so am willing to help, but I have never created a unit test. Assigning provisionally to @sarats , but do not know who should drive this.