cable_netcdf_create_decomp Function

public function cable_netcdf_create_decomp(compmap, dims, type) result(decomp)

Create a new decomposition for parallel I/O. This follows the degree of freedom approach for specifying I/O decompositions as described in Denis et al. (2011) [10.1177/1094342011428143].

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: compmap(:)

An array of data offsets describing where each element of the in-memory array is located in the netCDF variable data on disk.

integer, intent(in) :: dims(:)

An array of the global dimensions used to describe the shape of the data in the netCDF file

integer, intent(in) :: type

The data type of the in-memory array using the CABLE_NETCDF_TYPE_* constants.

Return Value class(cable_netcdf_decomp_t), allocatable


Calls

proc~~cable_netcdf_create_decomp~~CallsGraph proc~cable_netcdf_create_decomp cable_netcdf_create_decomp create_decomp create_decomp proc~cable_netcdf_create_decomp->create_decomp proc~cable_abort cable_abort proc~cable_netcdf_create_decomp->proc~cable_abort

Called by

proc~~cable_netcdf_create_decomp~~CalledByGraph proc~cable_netcdf_create_decomp cable_netcdf_create_decomp proc~io_decomp_land_to_land io_decomp_land_to_land proc~io_decomp_land_to_land->proc~cable_netcdf_create_decomp proc~io_decomp_land_to_x_y io_decomp_land_to_x_y proc~io_decomp_land_to_x_y->proc~cable_netcdf_create_decomp proc~io_decomp_patch_to_land_patch io_decomp_patch_to_land_patch proc~io_decomp_patch_to_land_patch->proc~cable_netcdf_create_decomp proc~io_decomp_patch_to_patch io_decomp_patch_to_patch proc~io_decomp_patch_to_patch->proc~cable_netcdf_create_decomp proc~io_decomp_patch_to_x_y_patch io_decomp_patch_to_x_y_patch proc~io_decomp_patch_to_x_y_patch->proc~cable_netcdf_create_decomp