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, allgather_data interface scatter_data_from_master module procedure scatter_1darray_int module procedure scatter_1darray_real module procedure scatter_2darray_int module procedure scatter_2darray_real end interface interface gather_data_to_master module procedure gather_1darray_int module procedure gather_1darray_real module procedure gather_2darray_int module procedure gather_2darray_real end interface interface allgather_data module procedure allgather_1darray_int module procedure allgather_1darray_real module procedure allgather_2darray_int module procedure allgather_2darray_real end interfaceREVISION HISTORY:
Author: Mariana Vertenstein