From 58cf1329d24517a86d511a2ae67650bb0a6560fd Mon Sep 17 00:00:00 2001 From: Patrick Worley Date: Tue, 11 Apr 2017 18:42:40 -0400 Subject: [PATCH] Enable physics load balancing for CAM-SE by default Recent ACME experiments across all target platforms, mesh sizes, and process and thread counts indicate that performance is improved (or, at least, not degraded) by using physics load balancing option 2 with the point-to-point implementation of the load balancing communication operator (phys_alltoall == 1). This changes the defaults to these option settings. Other options, including the original defaults, can be set in user_nl_cam. This is bit-for-bit compared to not using physics load balancing if the BFBFLAG in env_run.xml is TRUE, which is the current ACME default. [BFB] --- components/cam/bld/namelist_files/namelist_defaults_cam.xml | 2 +- components/cam/src/physics/cam/phys_grid.F90 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cam/bld/namelist_files/namelist_defaults_cam.xml b/components/cam/bld/namelist_files/namelist_defaults_cam.xml index b1ab477fa7e3..37a1f7e6a1d3 100644 --- a/components/cam/bld/namelist_files/namelist_defaults_cam.xml +++ b/components/cam/bld/namelist_files/namelist_defaults_cam.xml @@ -1245,7 +1245,7 @@ atm/cam/scam/iop/ARM95_4scam.nc - 0 + 2 3 diff --git a/components/cam/src/physics/cam/phys_grid.F90 b/components/cam/src/physics/cam/phys_grid.F90 index 8dea52322858..e5f4e8331191 100644 --- a/components/cam/src/physics/cam/phys_grid.F90 +++ b/components/cam/src/physics/cam/phys_grid.F90 @@ -301,7 +301,7 @@ module phys_grid integer, private, parameter :: modmin_alltoall = 11 integer, private, parameter :: modmax_alltoall = 13 # endif - integer, private, parameter :: def_alltoall = -1 ! default + integer, private, parameter :: def_alltoall = 1 ! default integer, private :: phys_alltoall = def_alltoall contains