MOM_coms_infra module reference
Thin interfaces to non-domain-oriented mpp communication subroutines
Generic Interfaces
Communicate an array, string or scalar from one PE to others |
|
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used. |
|
Find the sum of field across PEs, and update PEs with the sums. |
|
Find the maximum value of field across PEs, and update PEs with the values. |
|
Find the minimum value of field across PEs, and update PEs with the values. |
Functions/Subroutines
Return the ID of the PE for the current process. |
|
Return the ID of the root PE for the PE list of the current procss. |
|
Return the number of PEs for the current PE list. |
|
Designate a PE as the root PE |
|
Set the current PE list. If no list is provided, then the current PE list is set to the list of all available PEs on the communicator. Setting the list will trigger a rank synchronization unless the no_sync flag is set. |
|
Retrieve the current PE list and any metadata if requested. |
|
Sync the PEs at a defined point in the model |
|
Communicate a 1-D array of character strings from one PE to others |
|
Communicate an integer from one PE to others |
|
Communicate an integer from one PE to others |
|
Communicate a 1-D array of integers from one PE to others |
|
Communicate a real number from one PE to others |
|
Communicate a 1-D array of reals from one PE to others |
|
Communicate a 2-D array of reals from one PE to others |
|
Communicate a 3-D array of reals from one PE to others |
|
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used. |
|
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used. |
|
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used. |
|
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used. |
|
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used. |
|
Find the sum of field across PEs, and return this sum in field. |
|
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field. |
|
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field. |
|
Find the sum of field across PEs, and return this sum in field. |
|
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field. |
|
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field. |
|
Find the sum of field across PEs, and return this sum in field. |
|
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field. |
|
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field. |
|
Find the maximum value of field across PEs, and store this maximum in field. |
|
Find the maximum value of field across PEs, and store this maximum in field. |
|
Find the maximum values in each position of field across PEs, and store these minima in field. |
|
Find the minimum value of field across PEs, and store this minimum in field. |
|
Find the minimum value of field across PEs, and store this minimum in field. |
|
Find the minimum values in each position of field across PEs, and store these minima in field. |
|
Implementation of any() intrinsic across PEs |
|
Implementation of all() intrinsic across PEs |
|
Initialize the model framework, including PE communication over a designated communicator. If no communicator ID is provided, the framework's default communicator is used. |
|
This subroutine carries out all of the calls required to close out the infrastructure cleanly. This should only be called in ocean-only runs, as the coupler takes care of this in coupled runs. |
Generic Interface Documentation
- interface broadcast
Communicate an array, string or scalar from one PE to others
Callers call graph
Text view
marbl_tracers::configure_marbl_tracers → mom_coms_infra::interface::broadcast
mom_domains::mom_domains_init → mom_coms_infra::interface::broadcast
mom_file_parser::populate_param_data → mom_coms_infra::interface::broadcast
mom_grid_initialize::set_grid_metrics_from_mosaic → mom_coms_infra::interface::broadcast
mom_horizontal_regridding::horiz_interp_and_extrap_tracer_fms_id → mom_coms_infra::interface::broadcast
mom_horizontal_regridding::horiz_interp_and_extrap_tracer_record → mom_coms_infra::interface::broadcast
mom_io::get_var_sizes → mom_coms_infra::interface::broadcast
mom_io::read_attribute_int32 → mom_coms_infra::interface::broadcast
mom_io::read_attribute_int64 → mom_coms_infra::interface::broadcast
mom_io::read_attribute_real → mom_coms_infra::interface::broadcast
mom_io::read_attribute_str → mom_coms_infra::interface::broadcast
mom_io::read_variable_0d → mom_coms_infra::interface::broadcast
mom_io::read_variable_0d_int → mom_coms_infra::interface::broadcast
mom_io::read_variable_1d → mom_coms_infra::interface::broadcast
mom_io::read_variable_1d_int → mom_coms_infra::interface::broadcast
mom_io::read_variable_2d → mom_coms_infra::interface::broadcast
mom_io::read_variable_3d → mom_coms_infra::interface::broadcast
mom_shared_initialization::reset_face_lengths_list → mom_coms_infra::interface::broadcast
- interface field_chksum
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used.
Callers call graph
Text view
mom_checksums::field_checksum_real_0d → mom_coms_infra::interface::field_chksum
mom_checksums::field_checksum_real_1d → mom_coms_infra::interface::field_chksum
mom_checksums::field_checksum_real_2d → mom_coms_infra::interface::field_chksum
mom_checksums::field_checksum_real_3d → mom_coms_infra::interface::field_chksum
mom_checksums::field_checksum_real_4d → mom_coms_infra::interface::field_chksum
- interface sum_across_PEs
Find the sum of field across PEs, and update PEs with the sums.
Callers call graph
Text view
mom::extract_surface_state → mom_coms_infra::interface::sum_across_pes
mom_ale_sponge::initialize_ale_sponge_fixed → mom_coms_infra::interface::sum_across_pes
mom_ale_sponge::initialize_ale_sponge_varying → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum1d → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum2d → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum3d → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_b_2d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_b_2d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_b_3d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_b_3d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_h_2d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_h_2d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_h_3d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_h_3d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_u_2d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_u_2d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_u_3d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_u_3d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_v_2d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_v_2d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_v_3d::subchk → mom_coms_infra::interface::sum_across_pes
mom_checksums::chksum_v_3d::substats → mom_coms_infra::interface::sum_across_pes
mom_checksums::is_nan_1d → mom_coms_infra::interface::sum_across_pes
mom_checksums::is_nan_2d → mom_coms_infra::interface::sum_across_pes
mom_checksums::is_nan_3d → mom_coms_infra::interface::sum_across_pes
mom_coms::efp_list_sum_across_pes → mom_coms_infra::interface::sum_across_pes
mom_coms::efp_val_sum_across_pes → mom_coms_infra::interface::sum_across_pes
mom_coms::reproducing_efp_sum_2d → mom_coms_infra::interface::sum_across_pes
mom_coms::reproducing_sum_2d → mom_coms_infra::interface::sum_across_pes
mom_coms::reproducing_sum_3d → mom_coms_infra::interface::sum_across_pes
mom_horizontal_regridding::fill_miss_2d → mom_coms_infra::interface::sum_across_pes
mom_horizontal_regridding::homogenize_field → mom_coms_infra::interface::sum_across_pes
mom_open_boundary::flood_fill → mom_coms_infra::interface::sum_across_pes
mom_open_boundary::flood_fill2 → mom_coms_infra::interface::sum_across_pes
mom_shared_initialization::reset_face_lengths_list → mom_coms_infra::interface::sum_across_pes
mom_spherical_harmonics::spherical_harmonics_forward → mom_coms_infra::interface::sum_across_pes
mom_sponge::initialize_sponge → mom_coms_infra::interface::sum_across_pes
mom_state_initialization::adjustetatofitbathymetry → mom_coms_infra::interface::sum_across_pes
mom_state_initialization::initialize_thickness_from_file → mom_coms_infra::interface::sum_across_pes
mom_state_initialization::mom_temp_salt_initialize_from_z → mom_coms_infra::interface::sum_across_pes
mom_sum_output::create_depth_list → mom_coms_infra::interface::sum_across_pes
mom_sum_output::write_energy → mom_coms_infra::interface::sum_across_pes
mom_tracer_advect::advect_tracer → mom_coms_infra::interface::sum_across_pes
mom_write_cputime::write_cputime → mom_coms_infra::interface::sum_across_pes
- interface max_across_PEs
Find the maximum value of field across PEs, and update PEs with the values.
Callers call graph
Text view
isomip_tracer::isomip_tracer_column_physics → mom_coms_infra::interface::max_across_pes
mom_checksum_packages::mom_state_stats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_b_2d::substats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_b_3d::substats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_h_2d::substats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_h_3d::substats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_u_2d::substats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_u_3d::substats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_v_2d::substats → mom_coms_infra::interface::max_across_pes
mom_checksums::chksum_v_3d::substats → mom_coms_infra::interface::max_across_pes
mom_coms_infra::any_across_pes → mom_coms_infra::interface::max_across_pes
mom_horizontal_regridding::fill_miss_2d → mom_coms_infra::interface::max_across_pes
mom_horizontal_regridding::horiz_interp_and_extrap_tracer_fms_id → mom_coms_infra::interface::max_across_pes
mom_horizontal_regridding::horiz_interp_and_extrap_tracer_record → mom_coms_infra::interface::max_across_pes
mom_horizontal_regridding::mystats → mom_coms_infra::interface::max_across_pes
mom_ice_shelf_dynamics::ice_shelf_solve_outer → mom_coms_infra::interface::max_across_pes
mom_ice_shelf_dynamics::shelf_advance_front → mom_coms_infra::interface::max_across_pes
mom_regridding::initialize_regridding → mom_coms_infra::interface::max_across_pes
mom_shared_initialization::diagnosemaximumdepth → mom_coms_infra::interface::max_across_pes
mom_spatial_means::array_global_min_max → mom_coms_infra::interface::max_across_pes
mom_sum_output::write_energy → mom_coms_infra::interface::max_across_pes
mom_tracer_hor_diff::tracer_hordiff → mom_coms_infra::interface::max_across_pes
- interface min_across_PEs
Find the minimum value of field across PEs, and update PEs with the values.
Callers call graph
Text view
mom_barotropic::set_dtbt → mom_coms_infra::interface::min_across_pes
mom_checksum_packages::mom_state_stats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_b_2d::substats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_b_3d::substats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_h_2d::substats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_h_3d::substats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_u_2d::substats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_u_3d::substats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_v_2d::substats → mom_coms_infra::interface::min_across_pes
mom_checksums::chksum_v_3d::substats → mom_coms_infra::interface::min_across_pes
mom_coms_infra::all_across_pes → mom_coms_infra::interface::min_across_pes
mom_hor_visc::hor_visc_init → mom_coms_infra::interface::min_across_pes
mom_horizontal_regridding::mystats → mom_coms_infra::interface::min_across_pes
mom_ice_shelf_dynamics::ice_time_step_cfl → mom_coms_infra::interface::min_across_pes
mom_spatial_means::array_global_min_max → mom_coms_infra::interface::min_across_pes
Functions/Subroutine Documentation
- function PE_here() result(pe)
Return the ID of the PE for the current process.
- Parameters
pe
PE ID of the current process
Callers call graph
Text view
mom_debugging::check_redundant_sb2d → mom_coms_infra::pe_here
mom_debugging::check_redundant_st2d → mom_coms_infra::pe_here
mom_debugging::check_redundant_vb2d → mom_coms_infra::pe_here
mom_debugging::check_redundant_vc2d → mom_coms_infra::pe_here
mom_debugging::check_redundant_vt2d → mom_coms_infra::pe_here
mom_diag_mediator::diag_mediator_init → mom_coms_infra::pe_here
mom_is_diag_mediator::mom_is_diag_mediator_init → mom_coms_infra::pe_here
mom_open_boundary::initialize_segment_data → mom_coms_infra::pe_here
External calls
- mpp_mod
mpp_pe (mpp_mod::mpp_pe)
- function root_PE() result(pe)
Return the ID of the root PE for the PE list of the current procss.
- Parameters
pe
root PE ID
Callers call graph
Text view
marbl_tracers::configure_marbl_tracers → mom_coms_infra::root_pe
mom_coms_infra::broadcast_int32_0d → mom_coms_infra::root_pe
mom_coms_infra::broadcast_int64_0d → mom_coms_infra::root_pe
mom_file_parser::populate_param_data → mom_coms_infra::root_pe
mom_grid_initialize::set_grid_metrics_from_mosaic → mom_coms_infra::root_pe
mom_shared_initialization::reset_face_lengths_list → mom_coms_infra::root_pe
External calls
- mpp_mod
mpp_root_pe (mpp_mod::mpp_root_pe)
- function num_PEs() result(npes)
Return the number of PEs for the current PE list.
- Parameters
npes
Number of PEs
Callers call graph
External calls
- mpp_mod
mpp_npes (mpp_mod::mpp_npes)
- subroutine set_rootPE(pe)
Designate a PE as the root PE
- Parameters
pe [in]
ID of the PE to be assigned as root
External calls
- mpp_mod
mpp_set_root_pe (mpp_mod::mpp_set_root_pe)
- subroutine Set_PEList(pelist, no_sync)
Set the current PE list. If no list is provided, then the current PE list is set to the list of all available PEs on the communicator. Setting the list will trigger a rank synchronization unless the no_sync flag is set.
- Parameters
pelist [in]
List of PEs to set for communication
no_sync [in]
Do not sync after list update.
Callers call graph
External calls
- mpp_mod
mpp_set_current_pelist (mpp_mod::mpp_set_current_pelist)
- subroutine Get_PEList(pelist, name, commID)
Retrieve the current PE list and any metadata if requested.
- Parameters
pelist [out]
List of PE IDs of the current PE list
name [out]
Name of PE list
commID [out]
Communicator ID of PE list
Callers call graph
External calls
- mpp_mod
mpp_get_current_pelist (mpp_mod::mpp_get_current_pelist)
- subroutine sync_PEs(pelist)
Sync the PEs at a defined point in the model
- Parameters
pelist [in]
The list of PEs to be synced
External calls
- mpp_mod
mpp_sync (mpp_mod::mpp_sync)
- subroutine broadcast_char(dat, length, from_PE, PElist, blocking)
Communicate a 1-D array of character strings from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
length [in]
The length of each string
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- subroutine broadcast_int64_0D(dat, from_PE, PElist, blocking)
Communicate an integer from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- subroutine broadcast_int32_0D(dat, from_PE, PElist, blocking)
Communicate an integer from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- subroutine broadcast_int1D(dat, length, from_PE, PElist, blocking)
Communicate a 1-D array of integers from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
length [in]
The number of data elements
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- subroutine broadcast_real0D(dat, from_PE, PElist, blocking)
Communicate a real number from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- subroutine broadcast_real1D(dat, length, from_PE, PElist, blocking)
Communicate a 1-D array of reals from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
length [in]
The number of data elements
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- subroutine broadcast_real2D(dat, length, from_PE, PElist, blocking)
Communicate a 2-D array of reals from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
length [in]
The total number of data elements
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- subroutine broadcast_real3D(dat, length, from_PE, PElist, blocking)
Communicate a 3-D array of reals from one PE to others
- Parameters
dat [inout]
The data to communicate and destination
length [in]
The total number of data elements
from_PE [in]
The source PE, by default the root PE
PElist [in]
The list of participating PEs, by default the active PE set as previously set via Set_PElist.
blocking [in]
If true, barriers are added around the call
External calls
- mpp_mod
mpp_broadcast (mpp_mod::mpp_broadcast)
mpp_sync (mpp_mod::mpp_sync)
mpp_sync_self (mpp_mod::mpp_sync_self)
- function field_chksum_real_0d(field, pelist, mask_val) result(chksum)
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used.
- Parameters
field [in]
Input scalar
pelist [in]
PE list of ranks to checksum
mask_val [in]
FMS mask value
chksum
checksum of array
External calls
- mpp_mod
mpp_chksum (mpp_mod::mpp_chksum)
- function field_chksum_real_1d(field, pelist, mask_val) result(chksum)
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used.
- Parameters
field [in]
Input array
pelist [in]
PE list of ranks to checksum
mask_val [in]
FMS mask value
chksum
checksum of array
External calls
- mpp_mod
mpp_chksum (mpp_mod::mpp_chksum)
- function field_chksum_real_2d(field, pelist, mask_val) result(chksum)
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used.
- Parameters
field [in]
Unrotated input field
pelist [in]
PE list of ranks to checksum
mask_val [in]
FMS mask value
chksum
checksum of array
External calls
- mpp_mod
mpp_chksum (mpp_mod::mpp_chksum)
- function field_chksum_real_3d(field, pelist, mask_val) result(chksum)
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used.
- Parameters
field [in]
Unrotated input field
pelist [in]
PE list of ranks to checksum
mask_val [in]
FMS mask value
chksum
checksum of array
External calls
- mpp_mod
mpp_chksum (mpp_mod::mpp_chksum)
- function field_chksum_real_4d(field, pelist, mask_val) result(chksum)
Compute a checksum for a field distributed over a PE list. If no PE list is provided, then the current active PE list is used.
- Parameters
field [in]
Unrotated input field
pelist [in]
PE list of ranks to checksum
mask_val [in]
FMS mask value
chksum
checksum of array
External calls
- mpp_mod
mpp_chksum (mpp_mod::mpp_chksum)
- subroutine sum_across_PEs_int4_0d(field, pelist)
Find the sum of field across PEs, and return this sum in field.
- Parameters
field [inout]
Value on this PE, and the sum across PEs upon return
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_int4_1d(field, length, pelist)
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.
- Parameters
field [inout]
The values to add, the sums upon return
length [in]
Number of elements in field to add
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_int4_2d(field, length, pelist)
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.
- Parameters
field [inout]
The values to add, the sums upon return
length [in]
Number of elements in field to add
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_int8_0d(field, pelist)
Find the sum of field across PEs, and return this sum in field.
- Parameters
field [inout]
Value on this PE, and the sum across PEs upon return
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_int8_1d(field, length, pelist)
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.
- Parameters
field [inout]
The values to add, the sums upon return
length [in]
Number of elements in field to add
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_int8_2d(field, length, pelist)
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.
- Parameters
field [inout]
The values to add, the sums upon return
length [in]
The total number of positions to sum, usually the product of the array sizes.
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_real_0d(field, pelist)
Find the sum of field across PEs, and return this sum in field.
- Parameters
field [inout]
Value on this PE, and the sum across PEs upon return
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_real_1d(field, length, pelist)
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.
- Parameters
field [inout]
The values to add, the sums upon return
length [in]
Number of elements in field to add
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine sum_across_PEs_real_2d(field, length, pelist)
Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.
- Parameters
field [inout]
The values to add, the sums upon return
length [in]
The total number of positions to sum, usually the product of the array sizes.
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_sum (mpp_mod::mpp_sum)
- subroutine max_across_PEs_int_0d(field, pelist)
Find the maximum value of field across PEs, and store this maximum in field.
- Parameters
field [inout]
The values to compare, the maximum upon return
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_max (mpp_mod::mpp_max)
- subroutine max_across_PEs_real_0d(field, pelist)
Find the maximum value of field across PEs, and store this maximum in field.
- Parameters
field [inout]
The values to compare, the maximum upon return
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_max (mpp_mod::mpp_max)
- subroutine max_across_PEs_real_1d(field, length, pelist)
Find the maximum values in each position of field across PEs, and store these minima in field.
- Parameters
field [inout]
The list of values being compared, with the maxima in each position upon return
length [in]
Number of elements in field to compare
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_max (mpp_mod::mpp_max)
- subroutine min_across_PEs_int_0d(field, pelist)
Find the minimum value of field across PEs, and store this minimum in field.
- Parameters
field [inout]
The values to compare, the minimum upon return
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_min (mpp_mod::mpp_min)
- subroutine min_across_PEs_real_0d(field, pelist)
Find the minimum value of field across PEs, and store this minimum in field.
- Parameters
field [inout]
The values to compare, the minimum upon return
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_min (mpp_mod::mpp_min)
- subroutine min_across_PEs_real_1d(field, length, pelist)
Find the minimum values in each position of field across PEs, and store these minima in field.
- Parameters
field [inout]
The list of values being compared, with the minima in each position upon return
length [in]
Number of elements in field to compare
pelist [in]
List of PEs to work with
External calls
- mpp_mod
mpp_min (mpp_mod::mpp_min)
- function any_across_PEs(field, pelist)
Implementation of any() intrinsic across PEs
- Parameters
field [in]
Local PE value
pelist [in]
List of PEs to work with
Callees call graph
- function all_across_PEs(field, pelist)
Implementation of all() intrinsic across PEs
- Parameters
field [in]
Local PE value
pelist [in]
List of PEs to work with
Callees call graph
- subroutine MOM_infra_init(localcomm)
Initialize the model framework, including PE communication over a designated communicator. If no communicator ID is provided, the framework's default communicator is used.
- Parameters
localcomm [in]
Communicator ID to initialize
External calls
- fms_mod
fms_init (fms_mod::fms_init)
- subroutine MOM_infra_end
This subroutine carries out all of the calls required to close out the infrastructure cleanly. This should only be called in ocean-only runs, as the coupler takes care of this in coupled runs.
External calls
- fms_mod
fms_end (fms_mod::fms_end)
- memutils_mod
print_memuse_stats (memutils_mod::print_memuse_stats)