NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

iterative wind solver and wind rotation parallel bug #146

Closed gutmann closed 1 year ago

gutmann commented 1 year ago

Both the iterative wind solver and the wind rotation to the grid appear to have minor errors that change the windfield when run in parallel relative to the value when run in serial. Setting a larger halo size (3) fixes this, but with a very large computational cost.

Expected Behavior

wind fields are the same in serial and parallel

Current Behavior

difference between serial and parallel wind fields appear between processes.

Possible Solution

increase size of u and v grids to provide more information outside of immediate boundary, without increasing the halo being passed in all variables.

Steps to Reproduce (for bugs)

  1. cafrun -np 36 icar
  2. cafrun -np 1 icar
  3. difference output files

Your Environment

scrasmussen commented 1 year ago

Closed by PR #149