Lines Matching refs:nlengths
1522 …PetscMPIInt tag1 = stash->tag1, tag2 = stash->tag2, *sizes, *nlengths, nreceives, insends, … in MatStashScatterBegin_ScaLAPACK() local
1540 PetscCall(PetscCalloc1(size, &nlengths)); in MatStashScatterBegin_ScaLAPACK()
1552 nlengths[j]++; in MatStashScatterBegin_ScaLAPACK()
1563 if (nlengths[i]) { in MatStashScatterBegin_ScaLAPACK()
1573 PetscCall(PetscGatherNumberOfMessages(comm, sizes, nlengths, &nreceives)); in MatStashScatterBegin_ScaLAPACK()
1575 PetscCall(PetscGatherMessageLengths(comm, insends, nreceives, nlengths, &onodes, &olengths)); in MatStashScatterBegin_ScaLAPACK()
1597 startv[i] = startv[i - 1] + nlengths[i - 1]; in MatStashScatterBegin_ScaLAPACK()
1598 starti[i] = starti[i - 1] + 2 * nlengths[i - 1]; in MatStashScatterBegin_ScaLAPACK()
1620 sindices[starti[j] + nlengths[j]] = sp_idy[l]; in MatStashScatterBegin_ScaLAPACK()
1628 for (PetscMPIInt i = 1; i < size; i++) startv[i] = startv[i - 1] + nlengths[i - 1]; in MatStashScatterBegin_ScaLAPACK()
1632 …PetscCallMPI(MPIU_Isend(sindices + 2 * startv[i], 2 * nlengths[i], MPIU_INT, i, tag1, comm, send_w… in MatStashScatterBegin_ScaLAPACK()
1633 …PetscCallMPI(MPIU_Isend(svalues + bs2 * startv[i], bs2 * nlengths[i], MPIU_SCALAR, i, tag2, comm, … in MatStashScatterBegin_ScaLAPACK()
1639 …if (sizes[i]) PetscCall(PetscInfo(NULL, "Mesg_to: %d: size: %zu bytes\n", i, (size_t)(nlengths[i] … in MatStashScatterBegin_ScaLAPACK()
1642 PetscCall(PetscFree(nlengths)); in MatStashScatterBegin_ScaLAPACK()