| /petsc/src/ksp/pc/impls/redistribute/ |
| H A D | redistribute.c | 83 PetscMPIInt *onodes1, *olengths1; in PCSetUp_Redistribute() local 184 PetscCall(PetscGatherMessageLengths(comm, nsends, nrecvs, sizes, &onodes1, &olengths1)); in PCSetUp_Redistribute() 185 PetscCall(PetscSortMPIIntWithArray(nrecvs, onodes1, olengths1)); in PCSetUp_Redistribute() 187 for (PetscMPIInt i = 0; i < nrecvs; i++) recvtotal += olengths1[i]; in PCSetUp_Redistribute() 193 …PetscCallMPI(MPIU_Irecv(rvalues + count, olengths1[i], MPIU_INT, onodes1[i], tag, comm, recv_waits… in PCSetUp_Redistribute() 194 count += olengths1[i]; in PCSetUp_Redistribute() 231 PetscCall(PetscFree(olengths1)); in PCSetUp_Redistribute()
|
| /petsc/src/sys/utils/ |
| H A D | mpimesg.c | 239 …1[], const PetscMPIInt ilengths2[], PetscMPIInt **onodes, PetscMPIInt **olengths1, PetscMPIInt **o… in PetscGatherMessageLengths2() argument 254 PetscCall(PetscMalloc1(nrecvs, olengths1)); in PetscGatherMessageLengths2() 281 (*olengths1)[i] = buf_j[0]; in PetscGatherMessageLengths2()
|
| /petsc/src/mat/impls/baij/mpi/ |
| H A D | baijov.c | 65 PetscMPIInt *onodes1, *olengths1, *onodes2, *olengths2, proc = -1; in MatIncreaseOverlap_MPIBAIJ_Once() local 136 PetscCall(PetscGatherMessageLengths(comm, nrqs, nrqr, w1, &onodes1, &olengths1)); in MatIncreaseOverlap_MPIBAIJ_Once() 139 PetscCall(PetscPostIrecvInt(comm, tag1, nrqr, onodes1, olengths1, &rbuf, &r_waits1)); in MatIncreaseOverlap_MPIBAIJ_Once() 272 PetscCall(PetscFree(olengths1)); in MatIncreaseOverlap_MPIBAIJ_Once() 637 PetscMPIInt *onodes1, *olengths1, end; local 808 PetscCall(PetscGatherMessageLengths(comm, nrqs, nrqr, w1, &onodes1, &olengths1)); 812 PetscCall(PetscPostIrecvInt(comm, tag0, nrqr, onodes1, olengths1, &rbuf1, &r_waits1)); 896 end = olengths1[i]; 913 PetscCall(PetscFree(olengths1));
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpiov.c | 495 PetscMPIInt *w1, *w2, nrqr, *w3, *w4, *onodes1, *olengths1, *onodes2, *olengths2; in MatIncreaseOverlap_MPIAIJ_Once() local 579 PetscCall(PetscGatherMessageLengths(comm, nrqs, nrqr, w1, &onodes1, &olengths1)); in MatIncreaseOverlap_MPIAIJ_Once() 582 PetscCall(PetscPostIrecvInt(comm, tag1, nrqr, onodes1, olengths1, &rbuf, &r_waits1)); in MatIncreaseOverlap_MPIAIJ_Once() 725 PetscCall(PetscFree(olengths1)); in MatIncreaseOverlap_MPIAIJ_Once() 1242 PetscMPIInt *onodes1, *olengths1, idex, end, *row2proc; in MatCreateSubMatrices_MPIAIJ_SingleIS_Local() local 1317 PetscCall(PetscGatherMessageLengths(comm, nrqs, nrqr, w1, &onodes1, &olengths1)); in MatCreateSubMatrices_MPIAIJ_SingleIS_Local() 1320 PetscCall(PetscPostIrecvInt(comm, tag1, nrqr, onodes1, olengths1, &rbuf1, &r_waits1)); in MatCreateSubMatrices_MPIAIJ_SingleIS_Local() 1323 PetscCall(PetscFree(olengths1)); in MatCreateSubMatrices_MPIAIJ_SingleIS_Local() 2058 PetscMPIInt *onodes1, *olengths1, end, **row2proc, *row2proc_i; in MatCreateSubMatrices_MPIAIJ_Local() local 2212 PetscCall(PetscGatherMessageLengths(comm, nrqs, nrqr, w1, &onodes1, &olengths1)); in MatCreateSubMatrices_MPIAIJ_Local() [all …]
|