get_index_for_rank Subroutine

private subroutine get_index_for_rank(idx, rank, num_proc, start_idx, end_idx)

returns start and end index values for an array dimension of size idx distributed over num_procs

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: idx
integer, intent(in) :: rank
integer, intent(in) :: num_proc
integer, intent(out) :: start_idx
integer, intent(out) :: end_idx

Called by

proc~~get_index_for_rank~~CalledByGraph proc~get_index_for_rank get_index_for_rank proc~build_table_qr_acr_qg build_table_qr_acr_qg proc~build_table_qr_acr_qg->proc~get_index_for_rank proc~build_table_qr_acr_qs build_table_qr_acr_qs proc~build_table_qr_acr_qs->proc~get_index_for_rank proc~tempo_build_tables tempo_build_tables proc~tempo_build_tables->proc~build_table_qr_acr_qg proc~tempo_build_tables->proc~build_table_qr_acr_qs program~build_tables build_tables program~build_tables->proc~tempo_build_tables