Skip to content

Commit

Permalink
Clamp LND decomposition on low-res grid
Browse files Browse the repository at this point in the history
  • Loading branch information
amametjanov committed Sep 25, 2021
1 parent da9ef47 commit 938844c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ if [ `./xmlquery --value MACH` == theta ]||[ `./xmlquery --value MACH` == cori-k
./xmlchange MAX_MPITASKS_PER_NODE=64
./xmlchange MAX_TASKS_PER_NODE=128
./xmlchange NTHRDS=2
# avoid over-decomposing LND beyond 7688 clumps (grid cells)
if [ `./xmlquery --value NTASKS_LND` -gt 3844 ]; then ./xmlchange NTHRDS_LND=1; fi
else
./xmlchange NTHRDS=1
fi

0 comments on commit 938844c

Please sign in to comment.