| /petsc/src/vec/is/tests/output/ |
| H A D | ex7_ltog_info_nsize-4_bs-1_test-2.out | 18 [0] procs[0] = 0, shared 3 22 [0] procs[1] = 1, shared 2 25 [0] procs[2] = 2, shared 2 28 [0] procs[3] = 3, shared 1 31 [1] procs[0] = 1, shared 3 35 [1] procs[1] = 0, shared 2 38 [1] procs[2] = 2, shared 1 40 [1] procs[3] = 3, shared 2 44 [2] procs[0] = 2, shared 2 47 [2] procs[1] = 0, shared 2 [all …]
|
| H A D | ex7_ltog_info_nsize-4_bs-1_test-1.out | 21 [0] procs[0] = 0, shared 3 25 [0] procs[1] = 1, shared 2 28 [0] procs[2] = 2, shared 2 31 [0] procs[3] = 3, shared 1 34 [1] procs[0] = 1, shared 3 38 [1] procs[1] = 0, shared 2 41 [1] procs[2] = 2, shared 1 43 [1] procs[3] = 3, shared 2 47 [2] procs[0] = 2, shared 3 51 [2] procs[1] = 0, shared 2 [all …]
|
| H A D | ex7_ltog_info_nsize-4_bs-3_test-2.out | 18 [0] procs[0] = 0, shared 9 28 [0] procs[1] = 1, shared 6 35 [0] procs[2] = 2, shared 6 42 [0] procs[3] = 3, shared 3 47 [1] procs[0] = 1, shared 9 57 [1] procs[1] = 0, shared 6 64 [1] procs[2] = 2, shared 3 68 [1] procs[3] = 3, shared 6 76 [2] procs[0] = 2, shared 6 83 [2] procs[1] = 0, shared 6 [all …]
|
| H A D | ex7_ltog_info_nsize-4_bs-3_test-1.out | 21 [0] procs[0] = 0, shared 9 31 [0] procs[1] = 1, shared 6 38 [0] procs[2] = 2, shared 6 45 [0] procs[3] = 3, shared 3 50 [1] procs[0] = 1, shared 9 60 [1] procs[1] = 0, shared 6 67 [1] procs[2] = 2, shared 3 71 [1] procs[3] = 3, shared 6 79 [2] procs[0] = 2, shared 9 89 [2] procs[1] = 0, shared 6 [all …]
|
| H A D | ex7_ltog_info_nsize-2_bs-1_test-2.out | 18 [0] procs[0] = 0, shared 7 26 [0] procs[1] = 1, shared 5 33 [1] procs[0] = 1, shared 3 37 [1] procs[1] = 0, shared 3 90 [0] procs[0] = 0, shared 7 98 [0] procs[1] = 1, shared 5 105 [1] procs[0] = 1, shared 3 109 [1] procs[1] = 0, shared 3
|
| H A D | ex7_ltog_info_nsize-5_bs-1_test-2.out | 18 [0] procs[0] = 0, shared 7 26 [0] procs[1] = 4, shared 5 36 [4] procs[0] = 4, shared 3 40 [4] procs[1] = 0, shared 3 96 [0] procs[0] = 0, shared 7 104 [0] procs[1] = 4, shared 5 114 [4] procs[0] = 4, shared 3 118 [4] procs[1] = 0, shared 3
|
| H A D | ex7_ltog_info_nsize-3_bs-1_test-2.out | 18 [0] procs[0] = 0, shared 7 26 [0] procs[1] = 2, shared 5 34 [2] procs[0] = 2, shared 3 38 [2] procs[1] = 0, shared 3 92 [0] procs[0] = 0, shared 7 100 [0] procs[1] = 2, shared 5 108 [2] procs[0] = 2, shared 3 112 [2] procs[1] = 0, shared 3
|
| H A D | ex7_ltog_info_nsize-2_bs-1_test-1.out | 21 [0] procs[0] = 0, shared 6 28 [0] procs[1] = 1, shared 4 34 [1] procs[0] = 1, shared 6 41 [1] procs[1] = 0, shared 4 103 [0] procs[0] = 0, shared 6 110 [0] procs[1] = 1, shared 4 116 [1] procs[0] = 1, shared 6 123 [1] procs[1] = 0, shared 4
|
| H A D | ex7_ltog_info_nsize-3_bs-1_test-1.out | 21 [0] procs[0] = 0, shared 6 28 [0] procs[1] = 2, shared 4 35 [2] procs[0] = 2, shared 6 42 [2] procs[1] = 0, shared 4 105 [0] procs[0] = 0, shared 6 112 [0] procs[1] = 2, shared 4 119 [2] procs[0] = 2, shared 6 126 [2] procs[1] = 0, shared 4
|
| H A D | ex7_ltog_info_nsize-5_bs-1_test-1.out | 21 [0] procs[0] = 0, shared 6 28 [0] procs[1] = 4, shared 4 37 [4] procs[0] = 4, shared 6 44 [4] procs[1] = 0, shared 4 109 [0] procs[0] = 0, shared 6 116 [0] procs[1] = 4, shared 4 125 [4] procs[0] = 4, shared 6 132 [4] procs[1] = 0, shared 4
|
| H A D | ex7_ltog_info_nsize-2_bs-3_test-2.out | 18 [0] procs[0] = 0, shared 21 40 [0] procs[1] = 1, shared 15 57 [1] procs[0] = 1, shared 9 67 [1] procs[1] = 0, shared 9 214 [0] procs[0] = 0, shared 7 222 [0] procs[1] = 1, shared 5 229 [1] procs[0] = 1, shared 3 233 [1] procs[1] = 0, shared 3
|
| H A D | ex7_ltog_info_nsize-3_bs-3_test-2.out | 18 [0] procs[0] = 0, shared 21 40 [0] procs[1] = 2, shared 15 58 [2] procs[0] = 2, shared 9 68 [2] procs[1] = 0, shared 9 216 [0] procs[0] = 0, shared 7 224 [0] procs[1] = 2, shared 5 232 [2] procs[0] = 2, shared 3 236 [2] procs[1] = 0, shared 3
|
| H A D | ex7_ltog_info_nsize-5_bs-3_test-2.out | 18 [0] procs[0] = 0, shared 21 40 [0] procs[1] = 4, shared 15 60 [4] procs[0] = 4, shared 9 70 [4] procs[1] = 0, shared 9 220 [0] procs[0] = 0, shared 7 228 [0] procs[1] = 4, shared 5 238 [4] procs[0] = 4, shared 3 242 [4] procs[1] = 0, shared 3
|
| H A D | ex7_ltog_info_nsize-3_bs-3_test-1.out | 21 [0] procs[0] = 0, shared 18 40 [0] procs[1] = 2, shared 12 55 [2] procs[0] = 2, shared 18 74 [2] procs[1] = 0, shared 12 249 [0] procs[0] = 0, shared 6 256 [0] procs[1] = 2, shared 4 263 [2] procs[0] = 2, shared 6 270 [2] procs[1] = 0, shared 4
|
| H A D | ex7_ltog_info_nsize-2_bs-3_test-1.out | 21 [0] procs[0] = 0, shared 18 40 [0] procs[1] = 1, shared 12 54 [1] procs[0] = 1, shared 18 73 [1] procs[1] = 0, shared 12 247 [0] procs[0] = 0, shared 6 254 [0] procs[1] = 1, shared 4 260 [1] procs[0] = 1, shared 6 267 [1] procs[1] = 0, shared 4
|
| H A D | ex7_ltog_info_nsize-5_bs-3_test-1.out | 21 [0] procs[0] = 0, shared 18 40 [0] procs[1] = 4, shared 12 57 [4] procs[0] = 4, shared 18 76 [4] procs[1] = 0, shared 12 253 [0] procs[0] = 0, shared 6 260 [0] procs[1] = 4, shared 4 269 [4] procs[0] = 4, shared 6 276 [4] procs[1] = 0, shared 4
|
| H A D | ex7_ltog_info_nsize-1_bs-1_test-2.out | 18 [0] procs[0] = 0, shared 10 77 [0] procs[0] = 0, shared 10
|
| H A D | ex7_ltog_info_nsize-1_bs-1_test-1.out | 21 [0] procs[0] = 0, shared 12 90 [0] procs[0] = 0, shared 12
|
| /petsc/src/benchmarks/ |
| H A D | benchmarkBatch.py | 2 def generateBatchScript(num, procs, time, *args): argument 20 ''' % (num, (time%86400)/3600, (time%3600)/60, time%60, procs, num, ' '.join(args), num, ' '.join(a… 42 procs = int(sys.argv[3]) variable 44 generateBatchScript(num, procs, time, *sys.argv[4:])
|
| H A D | benchmarkAssembly.py | 110 procs = [1, 2, 4, 8] variable 112 grid = [10]*len(procs) 114 grid = [1250]*len(procs) 120 procs = [1]*len(grid) variable 121 for n, p in zip(grid, procs):
|
| /petsc/src/dm/partitioner/impls/simple/ |
| H A D | partsimple.c | 48 const PetscInt *procs = p->processGrid; in PetscPartitionerPartition_Simple_Grid() local 60 for (i = 0; i < 3; ++i) Np *= nodes[i] * procs[i]; in PetscPartitionerPartition_Simple_Grid() 64 for (i = 0; i < p->gridDim; ++i) cells[i] = nodes[i] * procs[i]; in PetscPartitionerPartition_Simple_Grid() 74 …procs[i]) == 0, PETSC_COMM_SELF, PETSC_ERR_ARG_INCOMP, "dir %" PetscInt_FMT ". Number of cells (%"… in PetscPartitionerPartition_Simple_Grid() 75 pcells[i] = cells[i] / (nodes[i] * procs[i]); in PetscPartitionerPartition_Simple_Grid() 90 for (pk = 0; pk < procs[2]; ++pk) { in PetscPartitionerPartition_Simple_Grid() 91 for (pj = 0; pj < procs[1]; ++pj) { in PetscPartitionerPartition_Simple_Grid() 92 for (pi = 0; pi < procs[0]; ++pi) { in PetscPartitionerPartition_Simple_Grid() 93 const PetscInt pid = ((nid * procs[2] + pk) * procs[1] + pj) * procs[0] + pi; in PetscPartitionerPartition_Simple_Grid() 99 …tscInt cid = (((nk * procs[2] + pk) * pcells[2] + ck) * cells[1] + ((nj * procs[1] + pj) * pcells[… in PetscPartitionerPartition_Simple_Grid()
|
| /petsc/src/vec/is/utils/ |
| H A D | isltog.c | 1102 …ngGetBlockInfo(ISLocalToGlobalMapping mapping, PetscInt *nproc, PetscInt *procs[], PetscInt *numpr… in ISLocalToGlobalMappingGetBlockInfo() argument 1108 if (procs) *procs = mapping->info_procs; in ISLocalToGlobalMappingGetBlockInfo() 1138 …BlockNodeInfo(ISLocalToGlobalMapping mapping, PetscInt *n, PetscInt *n_procs[], PetscInt **procs[]) in ISLocalToGlobalMappingGetBlockNodeInfo() argument 1145 if (procs) *procs = mapping->info_nodei; in ISLocalToGlobalMappingGetBlockNodeInfo() 1165 …BlockNodeInfo(ISLocalToGlobalMapping mapping, PetscInt *n, PetscInt *n_procs[], PetscInt **procs[]) in ISLocalToGlobalMappingRestoreBlockNodeInfo() argument 1171 if (procs) *procs = NULL; in ISLocalToGlobalMappingRestoreBlockNodeInfo() 1403 …storeBlockInfo(ISLocalToGlobalMapping mapping, PetscInt *nproc, PetscInt *procs[], PetscInt *numpr… in ISLocalToGlobalMappingRestoreBlockInfo() argument 1408 if (procs) *procs = NULL; in ISLocalToGlobalMappingRestoreBlockInfo() 1441 …MappingGetInfo(ISLocalToGlobalMapping mapping, PetscInt *nproc, PetscInt *procs[], PetscInt *numpr… in ISLocalToGlobalMappingGetInfo() argument 1468 if (procs) *procs = bprocs; in ISLocalToGlobalMappingGetInfo() [all …]
|
| /petsc/src/vec/is/utils/ftn-custom/ |
| H A D | zisltogf.c | 29 …appinggetinfo_(ISLocalToGlobalMapping *mapping, PetscInt *size, PetscInt *procs, PetscInt *numproc… in islocaltoglobalmappinggetinfo_() argument 36 *ierr = PetscArraycpy(procs, sprocs, *size); in islocaltoglobalmappinggetinfo_()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vscat.c | 244 …Int *n, const PetscInt **starts, const PetscInt **indices, const PetscMPIInt **procs, PetscInt *bs) in VecScatterGetRemote_Private() argument 263 if (procs) *procs = &ranks[remote_start]; in VecScatterGetRemote_Private() 268 if (procs) *procs = NULL; in VecScatterGetRemote_Private() 297 …Int *n, const PetscInt **starts, const PetscInt **indices, const PetscMPIInt **procs, PetscInt *bs) in VecScatterGetRemoteOrdered_Private() argument 300 PetscCall(VecScatterGetRemote_Private(sf, send, n, starts, indices, procs, bs)); in VecScatterGetRemoteOrdered_Private() 301 if (PetscUnlikelyDebug(n && procs)) { in VecScatterGetRemoteOrdered_Private() 304 …for (i = *n - 1; i > 0; i--) PetscCheck((*procs)[i - 1] <= (*procs)[i], PETSC_COMM_SELF, PETSC_ERR… in VecScatterGetRemoteOrdered_Private() 325 …Int *n, const PetscInt **starts, const PetscInt **indices, const PetscMPIInt **procs, PetscInt *bs) in VecScatterRestoreRemote_Private() argument 330 if (procs) *procs = NULL; in VecScatterRestoreRemote_Private() 350 …Int *n, const PetscInt **starts, const PetscInt **indices, const PetscMPIInt **procs, PetscInt *bs) in VecScatterRestoreRemoteOrdered_Private() argument [all …]
|
| /petsc/src/ts/characteristic/interface/ |
| H A D | characteristic.c | 716 PetscMPIInt **procs, pi, pj, pim, pip, pjm, pjp, PIi, PJi; in DMDAGetNeighborsRank() local 730 PetscCall(PetscMalloc1(PJ, &procs)); in DMDAGetNeighborsRank() 732 PetscCall(PetscMalloc1(PI, &procs[pj])); in DMDAGetNeighborsRank() 734 procs[pj][pi] = rank; in DMDAGetNeighborsRank() 748 neighbors[1] = procs[pj][pim]; in DMDAGetNeighborsRank() 749 neighbors[2] = procs[pjp][pim]; in DMDAGetNeighborsRank() 750 neighbors[3] = procs[pjp][pi]; in DMDAGetNeighborsRank() 751 neighbors[4] = procs[pjp][pip]; in DMDAGetNeighborsRank() 752 neighbors[5] = procs[pj][pip]; in DMDAGetNeighborsRank() 753 neighbors[6] = procs[pjm][pip]; in DMDAGetNeighborsRank() [all …]
|