MOM_coms_infra module reference

Thin interfaces to non-domain-oriented mpp communication subroutines

Generic Interfaces

broadcast

Communicate an array, string or scalar from one PE to others

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.

sum_across_PEs

Find the sum of field across PEs, and update PEs with the sums.

max_across_PEs

Find the maximum value of field across PEs, and update PEs with the values.

min_across_PEs

Find the minimum value of field across PEs, and update PEs with the values.

Functions/Subroutines

PE_here

Return the ID of the PE for the current process.

root_PE

Return the ID of the root PE for the PE list of the current procss.

num_PEs

Return the number of PEs for the current PE list.

set_rootPE

Designate a PE as the root PE

Set_PEList

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.

Get_PEList

Retrieve the current PE list and any metadata if requested.

sync_PEs

Sync the PEs at a defined point in the model

broadcast_char

Communicate a 1-D array of character strings from one PE to others

broadcast_int64_0D

Communicate an integer from one PE to others

broadcast_int32_0D

Communicate an integer from one PE to others

broadcast_int1D

Communicate a 1-D array of integers from one PE to others

broadcast_real0D

Communicate a real number from one PE to others

broadcast_real1D

Communicate a 1-D array of reals from one PE to others

broadcast_real2D

Communicate a 2-D array of reals from one PE to others

broadcast_real3D

Communicate a 3-D array of reals from one PE to others

field_chksum_real_0d

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.

field_chksum_real_1d

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.

field_chksum_real_2d

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.

field_chksum_real_3d

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.

field_chksum_real_4d

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.

sum_across_PEs_int4_0d

Find the sum of field across PEs, and return this sum in field.

sum_across_PEs_int4_1d

Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.

sum_across_PEs_int4_2d

Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.

sum_across_PEs_int8_0d

Find the sum of field across PEs, and return this sum in field.

sum_across_PEs_int8_1d

Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.

sum_across_PEs_int8_2d

Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.

sum_across_PEs_real_0d

Find the sum of field across PEs, and return this sum in field.

sum_across_PEs_real_1d

Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.

sum_across_PEs_real_2d

Find the sum of the values in corresponding positions of field across PEs, and return these sums in field.

max_across_PEs_int_0d

Find the maximum value of field across PEs, and store this maximum in field.

max_across_PEs_real_0d

Find the maximum value of field across PEs, and store this maximum in field.

max_across_PEs_real_1d

Find the maximum values in each position of field across PEs, and store these minima in field.

min_across_PEs_int_0d

Find the minimum value of field across PEs, and store this minimum in field.

min_across_PEs_real_0d

Find the minimum value of field across PEs, and store this minimum in field.

min_across_PEs_real_1d

Find the minimum values in each position of field across PEs, and store these minima in field.

any_across_PEs

Implementation of any() intrinsic across PEs

all_across_PEs

Implementation of all() intrinsic across PEs

MOM_infra_init

Initialize the model framework, including PE communication over a designated communicator. If no communicator ID is provided, the framework's default communicator is used.

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.

Generic Interface Documentation

interface broadcast

Communicate an array, string or scalar from one PE to others

Callers call graph
Callers of mom_coms_infra::interface::broadcast calls cluster_marbl_tracers MARBL_tracers cluster_mom_coms_infra MOM_coms_infra cluster_mom_domains MOM_domains cluster_mom_file_parser MOM_file_parser cluster_mom_grid_initialize MOM_grid_initialize cluster_mom_horizontal_regridding MOM_horizontal_regridding cluster_mom_io MOM_io cluster_mom_shared_initialization MOM_shared_initialization marbl_tracers::configure_marbl_tracers configure_MARBL_tracers [private/internal] mom_coms_infra::interface::broadcast broadcast (interface) marbl_tracers::configure_marbl_tracers->mom_coms_infra::interface::broadcast mom_domains::mom_domains_init MOM_domains_init mom_domains::mom_domains_init->mom_coms_infra::interface::broadcast mom_file_parser::populate_param_data populate_param_data [private/internal] mom_file_parser::populate_param_data->mom_coms_infra::interface::broadcast mom_grid_initialize::set_grid_metrics_from_mosaic set_grid_metrics_from_mosaic [private/internal] mom_grid_initialize::set_grid_metrics_from_mosaic->mom_coms_infra::interface::broadcast mom_horizontal_regridding::horiz_interp_and_extrap_tracer_fms_id horiz_interp_and_extrap_tracer_fms_id [private/internal] mom_horizontal_regridding::horiz_interp_and_extrap_tracer_fms_id->mom_coms_infra::interface::broadcast mom_horizontal_regridding::horiz_interp_and_extrap_tracer_record horiz_interp_and_extrap_tracer_record [private/internal] mom_horizontal_regridding::horiz_interp_and_extrap_tracer_record->mom_coms_infra::interface::broadcast mom_io::get_var_sizes get_var_sizes mom_io::get_var_sizes->mom_coms_infra::interface::broadcast mom_io::read_attribute_int32 read_attribute_int32 [private/internal] mom_io::read_attribute_int32->mom_coms_infra::interface::broadcast mom_io::read_attribute_int64 read_attribute_int64 [private/internal] mom_io::read_attribute_int64->mom_coms_infra::interface::broadcast mom_io::read_attribute_real read_attribute_real [private/internal] mom_io::read_attribute_real->mom_coms_infra::interface::broadcast mom_io::read_attribute_str read_attribute_str [private/internal] mom_io::read_attribute_str->mom_coms_infra::interface::broadcast mom_io::read_variable_0d read_variable_0d [private/internal] mom_io::read_variable_0d->mom_coms_infra::interface::broadcast mom_io::read_variable_0d_int read_variable_0d_int [private/internal] mom_io::read_variable_0d_int->mom_coms_infra::interface::broadcast mom_io::read_variable_1d read_variable_1d [private/internal] mom_io::read_variable_1d->mom_coms_infra::interface::broadcast mom_io::read_variable_1d_int read_variable_1d_int [private/internal] mom_io::read_variable_1d_int->mom_coms_infra::interface::broadcast mom_io::read_variable_2d read_variable_2d [private/internal] mom_io::read_variable_2d->mom_coms_infra::interface::broadcast mom_io::read_variable_3d read_variable_3d [private/internal] mom_io::read_variable_3d->mom_coms_infra::interface::broadcast mom_shared_initialization::reset_face_lengths_list reset_face_lengths_list mom_shared_initialization::reset_face_lengths_list->mom_coms_infra::interface::broadcast
Text view
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
Callers of mom_coms_infra::interface::field_chksum calls cluster_mom_checksums MOM_checksums cluster_mom_coms_infra MOM_coms_infra mom_checksums::field_checksum_real_0d field_checksum_real_0d [private/internal] mom_coms_infra::interface::field_chksum field_chksum (interface) mom_checksums::field_checksum_real_0d->mom_coms_infra::interface::field_chksum mom_checksums::field_checksum_real_1d field_checksum_real_1d [private/internal] mom_checksums::field_checksum_real_1d->mom_coms_infra::interface::field_chksum mom_checksums::field_checksum_real_2d field_checksum_real_2d [private/internal] mom_checksums::field_checksum_real_2d->mom_coms_infra::interface::field_chksum mom_checksums::field_checksum_real_3d field_checksum_real_3d [private/internal] mom_checksums::field_checksum_real_3d->mom_coms_infra::interface::field_chksum mom_checksums::field_checksum_real_4d field_checksum_real_4d [private/internal] mom_checksums::field_checksum_real_4d->mom_coms_infra::interface::field_chksum
Text view
interface sum_across_PEs

Find the sum of field across PEs, and update PEs with the sums.

Callers call graph
Callers of mom_coms_infra::interface::sum_across_pes calls cluster_mom MOM cluster_mom_ale_sponge MOM_ALE_sponge cluster_mom_checksums MOM_checksums cluster_mom_coms MOM_coms cluster_mom_coms_infra MOM_coms_infra cluster_mom_horizontal_regridding MOM_horizontal_regridding cluster_mom_open_boundary MOM_open_boundary cluster_mom_shared_initialization MOM_shared_initialization cluster_mom_spherical_harmonics MOM_spherical_harmonics cluster_mom_sponge MOM_sponge cluster_mom_state_initialization MOM_state_initialization cluster_mom_sum_output MOM_sum_output cluster_mom_tracer_advect MOM_tracer_advect cluster_mom_write_cputime MOM_write_cputime mom::extract_surface_state extract_surface_state mom_coms_infra::interface::sum_across_pes sum_across_PEs (interface) mom::extract_surface_state->mom_coms_infra::interface::sum_across_pes mom_ale_sponge::initialize_ale_sponge_fixed initialize_ALE_sponge_fixed [private/internal] mom_ale_sponge::initialize_ale_sponge_fixed->mom_coms_infra::interface::sum_across_pes mom_ale_sponge::initialize_ale_sponge_varying initialize_ALE_sponge_varying [private/internal] mom_ale_sponge::initialize_ale_sponge_varying->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum1d chksum1d [private/internal] mom_checksums::chksum1d->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum2d chksum2d [private/internal] mom_checksums::chksum2d->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum3d chksum3d [private/internal] mom_checksums::chksum3d->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_b_2d::subchk chksum_b_2d subchk [private/internal] mom_checksums::chksum_b_2d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_b_2d::substats chksum_b_2d subStats [private/internal] mom_checksums::chksum_b_2d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_b_3d::subchk chksum_b_3d subchk [private/internal] mom_checksums::chksum_b_3d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_b_3d::substats chksum_b_3d subStats [private/internal] mom_checksums::chksum_b_3d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_h_2d::subchk chksum_h_2d subchk [private/internal] mom_checksums::chksum_h_2d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_h_2d::substats chksum_h_2d subStats [private/internal] mom_checksums::chksum_h_2d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_h_3d::subchk chksum_h_3d subchk [private/internal] mom_checksums::chksum_h_3d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_h_3d::substats chksum_h_3d subStats [private/internal] mom_checksums::chksum_h_3d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_u_2d::subchk chksum_u_2d subchk [private/internal] mom_checksums::chksum_u_2d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_u_2d::substats chksum_u_2d subStats [private/internal] mom_checksums::chksum_u_2d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_u_3d::subchk chksum_u_3d subchk [private/internal] mom_checksums::chksum_u_3d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_u_3d::substats chksum_u_3d subStats [private/internal] mom_checksums::chksum_u_3d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_v_2d::subchk chksum_v_2d subchk [private/internal] mom_checksums::chksum_v_2d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_v_2d::substats chksum_v_2d subStats [private/internal] mom_checksums::chksum_v_2d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_v_3d::subchk chksum_v_3d subchk [private/internal] mom_checksums::chksum_v_3d::subchk->mom_coms_infra::interface::sum_across_pes mom_checksums::chksum_v_3d::substats chksum_v_3d subStats [private/internal] mom_checksums::chksum_v_3d::substats->mom_coms_infra::interface::sum_across_pes mom_checksums::is_nan_1d is_NaN_1d [private/internal] mom_checksums::is_nan_1d->mom_coms_infra::interface::sum_across_pes mom_checksums::is_nan_2d is_NaN_2d [private/internal] mom_checksums::is_nan_2d->mom_coms_infra::interface::sum_across_pes mom_checksums::is_nan_3d is_NaN_3d [private/internal] mom_checksums::is_nan_3d->mom_coms_infra::interface::sum_across_pes mom_coms::efp_list_sum_across_pes EFP_list_sum_across_PEs mom_coms::efp_list_sum_across_pes->mom_coms_infra::interface::sum_across_pes mom_coms::efp_val_sum_across_pes EFP_val_sum_across_PEs [private/internal] mom_coms::efp_val_sum_across_pes->mom_coms_infra::interface::sum_across_pes mom_coms::reproducing_efp_sum_2d reproducing_EFP_sum_2d [private/internal] mom_coms::reproducing_efp_sum_2d->mom_coms_infra::interface::sum_across_pes mom_coms::reproducing_sum_2d reproducing_sum_2d [private/internal] mom_coms::reproducing_sum_2d->mom_coms_infra::interface::sum_across_pes mom_coms::reproducing_sum_3d reproducing_sum_3d [private/internal] mom_coms::reproducing_sum_3d->mom_coms_infra::interface::sum_across_pes mom_horizontal_regridding::fill_miss_2d fill_miss_2d [private/internal] mom_horizontal_regridding::fill_miss_2d->mom_coms_infra::interface::sum_across_pes mom_horizontal_regridding::homogenize_field homogenize_field mom_horizontal_regridding::homogenize_field->mom_coms_infra::interface::sum_across_pes mom_open_boundary::flood_fill flood_fill mom_open_boundary::flood_fill->mom_coms_infra::interface::sum_across_pes mom_open_boundary::flood_fill2 flood_fill2 mom_open_boundary::flood_fill2->mom_coms_infra::interface::sum_across_pes mom_shared_initialization::reset_face_lengths_list reset_face_lengths_list mom_shared_initialization::reset_face_lengths_list->mom_coms_infra::interface::sum_across_pes mom_spherical_harmonics::spherical_harmonics_forward spherical_harmonics_forward mom_spherical_harmonics::spherical_harmonics_forward->mom_coms_infra::interface::sum_across_pes mom_sponge::initialize_sponge initialize_sponge mom_sponge::initialize_sponge->mom_coms_infra::interface::sum_across_pes mom_state_initialization::adjustetatofitbathymetry adjustEtaToFitBathymetry [private/internal] mom_state_initialization::adjustetatofitbathymetry->mom_coms_infra::interface::sum_across_pes mom_state_initialization::initialize_thickness_from_file initialize_thickness_from_file [private/internal] mom_state_initialization::initialize_thickness_from_file->mom_coms_infra::interface::sum_across_pes mom_state_initialization::mom_temp_salt_initialize_from_z MOM_temp_salt_initialize_from_Z [private/internal] mom_state_initialization::mom_temp_salt_initialize_from_z->mom_coms_infra::interface::sum_across_pes mom_sum_output::create_depth_list create_depth_list [private/internal] mom_sum_output::create_depth_list->mom_coms_infra::interface::sum_across_pes mom_sum_output::write_energy write_energy mom_sum_output::write_energy->mom_coms_infra::interface::sum_across_pes mom_tracer_advect::advect_tracer advect_tracer mom_tracer_advect::advect_tracer->mom_coms_infra::interface::sum_across_pes mom_write_cputime::write_cputime write_cputime mom_write_cputime::write_cputime->mom_coms_infra::interface::sum_across_pes
Text view
interface max_across_PEs

Find the maximum value of field across PEs, and update PEs with the values.

Callers call graph
Callers of mom_coms_infra::interface::max_across_pes calls cluster_isomip_tracer ISOMIP_tracer cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_checksums MOM_checksums cluster_mom_coms_infra MOM_coms_infra cluster_mom_horizontal_regridding MOM_horizontal_regridding cluster_mom_ice_shelf_dynamics MOM_ice_shelf_dynamics cluster_mom_regridding MOM_regridding cluster_mom_shared_initialization MOM_shared_initialization cluster_mom_spatial_means MOM_spatial_means cluster_mom_sum_output MOM_sum_output cluster_mom_tracer_hor_diff MOM_tracer_hor_diff isomip_tracer::isomip_tracer_column_physics ISOMIP_tracer_column_physics mom_coms_infra::interface::max_across_pes max_across_PEs (interface) isomip_tracer::isomip_tracer_column_physics->mom_coms_infra::interface::max_across_pes mom_checksum_packages::mom_state_stats MOM_state_stats mom_checksum_packages::mom_state_stats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_b_2d::substats chksum_b_2d subStats [private/internal] mom_checksums::chksum_b_2d::substats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_b_3d::substats chksum_b_3d subStats [private/internal] mom_checksums::chksum_b_3d::substats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_h_2d::substats chksum_h_2d subStats [private/internal] mom_checksums::chksum_h_2d::substats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_h_3d::substats chksum_h_3d subStats [private/internal] mom_checksums::chksum_h_3d::substats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_u_2d::substats chksum_u_2d subStats [private/internal] mom_checksums::chksum_u_2d::substats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_u_3d::substats chksum_u_3d subStats [private/internal] mom_checksums::chksum_u_3d::substats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_v_2d::substats chksum_v_2d subStats [private/internal] mom_checksums::chksum_v_2d::substats->mom_coms_infra::interface::max_across_pes mom_checksums::chksum_v_3d::substats chksum_v_3d subStats [private/internal] mom_checksums::chksum_v_3d::substats->mom_coms_infra::interface::max_across_pes mom_coms_infra::any_across_pes any_across_PEs mom_coms_infra::any_across_pes->mom_coms_infra::interface::max_across_pes mom_horizontal_regridding::fill_miss_2d fill_miss_2d [private/internal] mom_horizontal_regridding::fill_miss_2d->mom_coms_infra::interface::max_across_pes mom_horizontal_regridding::horiz_interp_and_extrap_tracer_fms_id horiz_interp_and_extrap_tracer_fms_id [private/internal] 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 horiz_interp_and_extrap_tracer_record [private/internal] mom_horizontal_regridding::horiz_interp_and_extrap_tracer_record->mom_coms_infra::interface::max_across_pes mom_horizontal_regridding::mystats myStats mom_horizontal_regridding::mystats->mom_coms_infra::interface::max_across_pes mom_ice_shelf_dynamics::ice_shelf_solve_outer ice_shelf_solve_outer [private/internal] mom_ice_shelf_dynamics::ice_shelf_solve_outer->mom_coms_infra::interface::max_across_pes mom_ice_shelf_dynamics::shelf_advance_front shelf_advance_front mom_ice_shelf_dynamics::shelf_advance_front->mom_coms_infra::interface::max_across_pes mom_regridding::initialize_regridding initialize_regridding mom_regridding::initialize_regridding->mom_coms_infra::interface::max_across_pes mom_shared_initialization::diagnosemaximumdepth diagnoseMaximumDepth mom_shared_initialization::diagnosemaximumdepth->mom_coms_infra::interface::max_across_pes mom_spatial_means::array_global_min_max array_global_min_max mom_spatial_means::array_global_min_max->mom_coms_infra::interface::max_across_pes mom_sum_output::write_energy write_energy mom_sum_output::write_energy->mom_coms_infra::interface::max_across_pes mom_tracer_hor_diff::tracer_hordiff tracer_hordiff mom_tracer_hor_diff::tracer_hordiff->mom_coms_infra::interface::max_across_pes
Text view
interface min_across_PEs

Find the minimum value of field across PEs, and update PEs with the values.

Callers call graph
Callers of mom_coms_infra::interface::min_across_pes calls cluster_mom_barotropic MOM_barotropic cluster_mom_checksum_packages MOM_checksum_packages cluster_mom_checksums MOM_checksums cluster_mom_coms_infra MOM_coms_infra cluster_mom_hor_visc MOM_hor_visc cluster_mom_horizontal_regridding MOM_horizontal_regridding cluster_mom_ice_shelf_dynamics MOM_ice_shelf_dynamics cluster_mom_spatial_means MOM_spatial_means mom_barotropic::set_dtbt set_dtbt mom_coms_infra::interface::min_across_pes min_across_PEs (interface) mom_barotropic::set_dtbt->mom_coms_infra::interface::min_across_pes mom_checksum_packages::mom_state_stats MOM_state_stats mom_checksum_packages::mom_state_stats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_b_2d::substats chksum_b_2d subStats [private/internal] mom_checksums::chksum_b_2d::substats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_b_3d::substats chksum_b_3d subStats [private/internal] mom_checksums::chksum_b_3d::substats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_h_2d::substats chksum_h_2d subStats [private/internal] mom_checksums::chksum_h_2d::substats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_h_3d::substats chksum_h_3d subStats [private/internal] mom_checksums::chksum_h_3d::substats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_u_2d::substats chksum_u_2d subStats [private/internal] mom_checksums::chksum_u_2d::substats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_u_3d::substats chksum_u_3d subStats [private/internal] mom_checksums::chksum_u_3d::substats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_v_2d::substats chksum_v_2d subStats [private/internal] mom_checksums::chksum_v_2d::substats->mom_coms_infra::interface::min_across_pes mom_checksums::chksum_v_3d::substats chksum_v_3d subStats [private/internal] mom_checksums::chksum_v_3d::substats->mom_coms_infra::interface::min_across_pes mom_coms_infra::all_across_pes all_across_PEs mom_coms_infra::all_across_pes->mom_coms_infra::interface::min_across_pes mom_hor_visc::hor_visc_init hor_visc_init mom_hor_visc::hor_visc_init->mom_coms_infra::interface::min_across_pes mom_horizontal_regridding::mystats myStats mom_horizontal_regridding::mystats->mom_coms_infra::interface::min_across_pes mom_ice_shelf_dynamics::ice_time_step_cfl ice_time_step_CFL mom_ice_shelf_dynamics::ice_time_step_cfl->mom_coms_infra::interface::min_across_pes mom_spatial_means::array_global_min_max array_global_min_max mom_spatial_means::array_global_min_max->mom_coms_infra::interface::min_across_pes
Text view

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
Callers of mom_coms_infra::pe_here calls cluster_marbl_tracers MARBL_tracers cluster_mom_checksums MOM_checksums cluster_mom_coms_infra MOM_coms_infra cluster_mom_debugging MOM_debugging cluster_mom_diag_mediator MOM_diag_mediator cluster_mom_grid_initialize MOM_grid_initialize cluster_mom_is_diag_mediator MOM_IS_diag_mediator cluster_mom_meke MOM_MEKE cluster_mom_open_boundary MOM_open_boundary cluster_mom_pointaccel MOM_PointAccel cluster_mom_restart MOM_restart marbl_tracers::print_marbl_log print_marbl_log [private/internal] mom_coms_infra::pe_here PE_here marbl_tracers::print_marbl_log->mom_coms_infra::pe_here mom_checksums::chksum1d chksum1d [private/internal] mom_checksums::chksum1d->mom_coms_infra::pe_here mom_debugging::check_redundant_sb2d check_redundant_sB2d [private/internal] mom_debugging::check_redundant_sb2d->mom_coms_infra::pe_here mom_debugging::check_redundant_st2d check_redundant_sT2d [private/internal] mom_debugging::check_redundant_st2d->mom_coms_infra::pe_here mom_debugging::check_redundant_vb2d check_redundant_vB2d [private/internal] mom_debugging::check_redundant_vb2d->mom_coms_infra::pe_here mom_debugging::check_redundant_vc2d check_redundant_vC2d [private/internal] mom_debugging::check_redundant_vc2d->mom_coms_infra::pe_here mom_debugging::check_redundant_vt2d check_redundant_vT2d [private/internal] mom_debugging::check_redundant_vt2d->mom_coms_infra::pe_here mom_diag_mediator::diag_mediator_init diag_mediator_init mom_diag_mediator::diag_mediator_init->mom_coms_infra::pe_here mom_grid_initialize::find_root find_root [private/internal] mom_grid_initialize::find_root->mom_coms_infra::pe_here mom_is_diag_mediator::mom_is_diag_mediator_init MOM_IS_diag_mediator_init mom_is_diag_mediator::mom_is_diag_mediator_init->mom_coms_infra::pe_here mom_meke::ml_meke_init ML_MEKE_init [private/internal] mom_meke::ml_meke_init->mom_coms_infra::pe_here mom_open_boundary::initialize_segment_data initialize_segment_data mom_open_boundary::initialize_segment_data->mom_coms_infra::pe_here mom_pointaccel::write_u_accel write_u_accel mom_pointaccel::write_u_accel->mom_coms_infra::pe_here mom_pointaccel::write_v_accel write_v_accel mom_pointaccel::write_v_accel->mom_coms_infra::pe_here mom_restart::restore_state restore_state mom_restart::restore_state->mom_coms_infra::pe_here mom_restart::save_restart save_restart mom_restart::save_restart->mom_coms_infra::pe_here
Text view

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
Callers of mom_coms_infra::root_pe calls cluster_marbl_tracers MARBL_tracers cluster_mom_checksums MOM_checksums cluster_mom_coms_infra MOM_coms_infra cluster_mom_file_parser MOM_file_parser cluster_mom_grid_initialize MOM_grid_initialize cluster_mom_shared_initialization MOM_shared_initialization cluster_mom_stochastics MOM_stochastics marbl_tracers::configure_marbl_tracers configure_MARBL_tracers [private/internal] mom_coms_infra::root_pe root_PE marbl_tracers::configure_marbl_tracers->mom_coms_infra::root_pe mom_checksums::chksum1d chksum1d [private/internal] mom_checksums::chksum1d->mom_coms_infra::root_pe mom_coms_infra::broadcast_char broadcast_char [private/internal] mom_coms_infra::broadcast_char->mom_coms_infra::root_pe mom_coms_infra::broadcast_int1d broadcast_int1D [private/internal] mom_coms_infra::broadcast_int1d->mom_coms_infra::root_pe mom_coms_infra::broadcast_int32_0d broadcast_int32_0D [private/internal] mom_coms_infra::broadcast_int32_0d->mom_coms_infra::root_pe mom_coms_infra::broadcast_int64_0d broadcast_int64_0D [private/internal] mom_coms_infra::broadcast_int64_0d->mom_coms_infra::root_pe mom_coms_infra::broadcast_real0d broadcast_real0D [private/internal] mom_coms_infra::broadcast_real0d->mom_coms_infra::root_pe mom_coms_infra::broadcast_real1d broadcast_real1D [private/internal] mom_coms_infra::broadcast_real1d->mom_coms_infra::root_pe mom_coms_infra::broadcast_real2d broadcast_real2D [private/internal] mom_coms_infra::broadcast_real2d->mom_coms_infra::root_pe mom_coms_infra::broadcast_real3d broadcast_real3D [private/internal] mom_coms_infra::broadcast_real3d->mom_coms_infra::root_pe mom_file_parser::populate_param_data populate_param_data [private/internal] mom_file_parser::populate_param_data->mom_coms_infra::root_pe mom_grid_initialize::set_grid_metrics_from_mosaic set_grid_metrics_from_mosaic [private/internal] mom_grid_initialize::set_grid_metrics_from_mosaic->mom_coms_infra::root_pe mom_shared_initialization::reset_face_lengths_list reset_face_lengths_list mom_shared_initialization::reset_face_lengths_list->mom_coms_infra::root_pe mom_stochastics::stochastics_init stochastics_init mom_stochastics::stochastics_init->mom_coms_infra::root_pe
Text view

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
Callers of mom_coms_infra::num_pes calls cluster_mom MOM cluster_mom_checksums MOM_checksums cluster_mom_coms MOM_coms cluster_mom_coms_infra MOM_coms_infra cluster_mom_domains MOM_domains cluster_mom_error_handler MOM_error_handler cluster_mom_ice_shelf MOM_ice_shelf cluster_mom_open_boundary MOM_open_boundary cluster_mom_stochastics MOM_stochastics cluster_mom_unit_testing MOM_unit_testing cluster_mom_write_cputime MOM_write_cputime mom::initialize_mom initialize_MOM mom_coms_infra::num_pes num_PEs mom::initialize_mom->mom_coms_infra::num_pes mom_checksums::chksum1d chksum1d [private/internal] mom_checksums::chksum1d->mom_coms_infra::num_pes mom_coms::efp_list_sum_across_pes EFP_list_sum_across_PEs mom_coms::efp_list_sum_across_pes->mom_coms_infra::num_pes mom_coms::efp_val_sum_across_pes EFP_val_sum_across_PEs [private/internal] mom_coms::efp_val_sum_across_pes->mom_coms_infra::num_pes mom_coms::reproducing_efp_sum_2d reproducing_EFP_sum_2d [private/internal] mom_coms::reproducing_efp_sum_2d->mom_coms_infra::num_pes mom_coms::reproducing_sum_2d reproducing_sum_2d [private/internal] mom_coms::reproducing_sum_2d->mom_coms_infra::num_pes mom_coms::reproducing_sum_3d reproducing_sum_3d [private/internal] mom_coms::reproducing_sum_3d->mom_coms_infra::num_pes mom_domains::mom_domains_init MOM_domains_init mom_domains::mom_domains_init->mom_coms_infra::num_pes mom_error_handler::disable_fatal_errors disable_fatal_errors mom_error_handler::disable_fatal_errors->mom_coms_infra::num_pes mom_ice_shelf::initialize_ice_shelf initialize_ice_shelf mom_ice_shelf::initialize_ice_shelf->mom_coms_infra::num_pes mom_open_boundary::initialize_segment_data initialize_segment_data mom_open_boundary::initialize_segment_data->mom_coms_infra::num_pes mom_open_boundary::open_boundary_config open_boundary_config mom_open_boundary::open_boundary_config->mom_coms_infra::num_pes mom_stochastics::stochastics_init stochastics_init mom_stochastics::stochastics_init->mom_coms_infra::num_pes mom_unit_testing::run_unit_test run_unit_test [private/internal] mom_unit_testing::run_unit_test->mom_coms_infra::num_pes mom_write_cputime::write_cputime write_cputime mom_write_cputime::write_cputime->mom_coms_infra::num_pes
Text view

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

Callers call graph
Callers of mom_coms_infra::set_rootpe calls cluster_mom_coms_infra MOM_coms_infra cluster_mom_oda_driver_mod MOM_oda_driver_mod mom_coms_infra::set_rootpe set_rootPE mom_oda_driver_mod::init_oda init_oda mom_oda_driver_mod::init_oda->mom_coms_infra::set_rootpe
Text view

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
Callers of mom_coms_infra::set_pelist calls cluster_External External cluster_mom_coms_infra MOM_coms_infra cluster_mom_oda_driver_mod MOM_oda_driver_mod cluster_mom_open_boundary MOM_open_boundary External::mom6::initialize_ocean_only_ensembles mom6 initialize_ocean_only_ensembles [private/internal] mom_coms_infra::set_pelist Set_PEList External::mom6::initialize_ocean_only_ensembles->mom_coms_infra::set_pelist mom_oda_driver_mod::get_posterior_tracer get_posterior_tracer mom_oda_driver_mod::get_posterior_tracer->mom_coms_infra::set_pelist mom_oda_driver_mod::init_oda init_oda mom_oda_driver_mod::init_oda->mom_coms_infra::set_pelist mom_oda_driver_mod::oda oda mom_oda_driver_mod::oda->mom_coms_infra::set_pelist mom_oda_driver_mod::set_prior_tracer set_prior_tracer mom_oda_driver_mod::set_prior_tracer->mom_coms_infra::set_pelist mom_open_boundary::initialize_segment_data initialize_segment_data mom_open_boundary::initialize_segment_data->mom_coms_infra::set_pelist
Text view

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
Callers of mom_coms_infra::get_pelist calls cluster_mom_coms_infra MOM_coms_infra cluster_mom_open_boundary MOM_open_boundary cluster_mom_stochastics MOM_stochastics mom_coms_infra::get_pelist Get_PEList mom_open_boundary::initialize_segment_data initialize_segment_data mom_open_boundary::initialize_segment_data->mom_coms_infra::get_pelist mom_stochastics::stochastics_init stochastics_init mom_stochastics::stochastics_init->mom_coms_infra::get_pelist
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_char calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_char broadcast_char [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_char->mom_coms_infra::root_pe
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_int64_0d calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_int64_0d broadcast_int64_0D [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_int64_0d->mom_coms_infra::root_pe
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_int32_0d calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_int32_0d broadcast_int32_0D [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_int32_0d->mom_coms_infra::root_pe
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_int1d calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_int1d broadcast_int1D [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_int1d->mom_coms_infra::root_pe
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_real0d calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_real0d broadcast_real0D [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_real0d->mom_coms_infra::root_pe
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_real1d calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_real1d broadcast_real1D [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_real1d->mom_coms_infra::root_pe
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_real2d calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_real2d broadcast_real2D [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_real2d->mom_coms_infra::root_pe
Text view

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

Callees call graph
Callees of mom_coms_infra::broadcast_real3d calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::broadcast_real3d broadcast_real3D [private/internal] mom_coms_infra::root_pe root_PE mom_coms_infra::broadcast_real3d->mom_coms_infra::root_pe
Text view

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
Callees of mom_coms_infra::any_across_pes calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::any_across_pes any_across_PEs mom_coms_infra::interface::max_across_pes max_across_PEs (interface) mom_coms_infra::any_across_pes->mom_coms_infra::interface::max_across_pes
Text view
Callers call graph
Callers of mom_coms_infra::any_across_pes calls cluster_mom_barotropic MOM_barotropic cluster_mom_coms_infra MOM_coms_infra cluster_mom_file_parser MOM_file_parser cluster_mom_open_boundary MOM_open_boundary mom_barotropic::initialize_bt_obc initialize_BT_OBC [private/internal] mom_coms_infra::any_across_pes any_across_PEs mom_barotropic::initialize_bt_obc->mom_coms_infra::any_across_pes mom_file_parser::open_param_file open_param_file mom_file_parser::open_param_file->mom_coms_infra::any_across_pes mom_open_boundary::obc_any_io OBC_any_IO [private/internal] mom_open_boundary::obc_any_io->mom_coms_infra::any_across_pes
Text view
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
Callees of mom_coms_infra::all_across_pes calls cluster_mom_coms_infra MOM_coms_infra mom_coms_infra::all_across_pes all_across_PEs mom_coms_infra::interface::min_across_pes min_across_PEs (interface) mom_coms_infra::all_across_pes->mom_coms_infra::interface::min_across_pes
Text view
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

Callers call graph
Callers of mom_coms_infra::mom_infra_init calls cluster_External External cluster_mom_coms_infra MOM_coms_infra External::mom6 MOM6 mom_coms_infra::mom_infra_init MOM_infra_init External::mom6->mom_coms_infra::mom_infra_init
Text view

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.

Callers call graph
Callers of mom_coms_infra::mom_infra_end calls cluster_External External cluster_mom_coms_infra MOM_coms_infra External::mom6 MOM6 mom_coms_infra::mom_infra_end MOM_infra_end External::mom6->mom_coms_infra::mom_infra_end
Text view

External calls

fms_mod
  • fms_end (fms_mod::fms_end)

memutils_mod
  • print_memuse_stats (memutils_mod::print_memuse_stats)

API generated with Flint · Rendered from reStructuredText