split_n_tasks Subroutine

public subroutine split_n_tasks(n, lo, hi)

split n tasks over current communicator. Returns the low and high indices for a given processor. Assumes indices start at 1

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: n
integer, intent(out) :: lo
integer, intent(out) :: hi