Perform SPMD gather and scatter operations.
USES:
use clm_varcon, only: spval, ispval use decompMod, only : get_clmlevel_gsmap use shr_kind_mod, only: r8 => shr_kind_r8 use spmdMod use clm_mct_mod use abortutils, only : endrun use clm_varctl, only : iulog use perf_modPUBLIC TYPES:
implicit nonePUBLIC MEMBER FUNCTIONS:
public scatter_data_from_master, gather_data_to_master
interface scatter_data_from_master
module procedure scatter_1darray_int
module procedure scatter_1darray_real
end interface
interface gather_data_to_master
module procedure gather_1darray_int
module procedure gather_1darray_real
end interface
REVISION HISTORY:
Author: Mariana Vertenstein