Lines Matching refs:subrank
109 PetscMPIInt rank, size, subsize, subrank, duprank; in PetscSubcommView() local
115 PetscCallMPI(MPI_Comm_rank(psubcomm->child, &subrank)); in PetscSubcommView()
118 …or %d, sub-size %d, sub-rank %d, duprank %d\n", rank, psubcomm->color, subsize, subrank, duprank)); in PetscSubcommView()
195 …ErrorCode PetscSubcommSetTypeGeneral(PetscSubcomm psubcomm, PetscMPIInt color, PetscMPIInt subrank) in PetscSubcommSetTypeGeneral() argument
205 PetscCallMPI(MPI_Comm_split(comm, color, subrank, &subcomm)); in PetscSubcommSetTypeGeneral()
228 duprank += subrank; in PetscSubcommSetTypeGeneral()
375 PetscMPIInt rank, size, *subsize, duprank = -1, subrank = -1; in PetscSubcommCreate_contiguous() local
398 subrank = rank - rankstart; in PetscSubcommCreate_contiguous()
404 PetscCallMPI(MPI_Comm_split(comm, color, subrank, &subcomm)); in PetscSubcommCreate_contiguous()
446 PetscMPIInt rank, size, *subsize, duprank, subrank; in PetscSubcommCreate_interlaced() local
466 subrank = rank / nsubcomm; in PetscSubcommCreate_interlaced()
468 PetscCallMPI(MPI_Comm_split(comm, color, subrank, &subcomm)); in PetscSubcommCreate_interlaced()
474 duprank += subrank; in PetscSubcommCreate_interlaced()