Home
last modified time | relevance | path

Searched refs:PetscSynchronizedPrintf (Results 1 – 25 of 74) sorted by relevance

123

/petsc/src/vec/vec/tests/
H A Dex36.c47 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d: Setting values...\n", rank)); in main()
48 …for (i = 0; i < m; i++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d: idx[%" PetscInt_F… in main()
70 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d: Fetching these values from vector...\n", … in main()
71 …for (i = 0; i < m; i++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d: idx[%" PetscInt_F… in main()
76 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d: Fetched values:\n", rank)); in main()
77 …for (i = 0; i < m; i++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d: idx[%" PetscInt_F… in main()
/petsc/src/snes/tests/
H A Dex2.c99 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]Point %" PetscInt_FMT " (", rank, p)); in CreatePoints_Centroid()
101 … PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%g", (double)(*pcoords)[p * spaceDim + d])); in CreatePoints_Centroid()
102 if (d < spaceDim - 1) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, ", ")); in CreatePoints_Centroid()
104 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, ")\n")); in CreatePoints_Centroid()
147 … PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]Point %" PetscInt_FMT " (", rank, n)); in CreatePoints_Grid()
149 … PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%g", (double)(*pcoords)[n * spaceDim + d])); in CreatePoints_Grid()
150 if (d < spaceDim - 1) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, ", ")); in CreatePoints_Grid()
152 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, ")\n")); in CreatePoints_Grid()
189 … PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]Point %" PetscInt_FMT " (", rank, n)); in CreatePoints_GridReplicated()
191 … PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%g", (double)(*pcoords)[n * spaceDim + d])); in CreatePoints_GridReplicated()
[all …]
/petsc/src/mat/tests/
H A Dex75.c138 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatGetSize()\n", rank)); in main()
147 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatGetLocalSize()\n", rank)); in main()
187 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MaGetOwnershipRange()\n", rank)); in main()
204 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatDiagonalScale() or MatGetDiag… in main()
223 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatMult() or MatScale()\n", rank… in main()
229 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatMultAdd()\n", rank)); in main()
242 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatMult() or MatScale(), err=%g\… in main()
255 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatMultAdd(), err=%g \n", rank, … in main()
266 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatDuplicate() or MatMult()\n", … in main()
271 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d], Error: MatDuplicate() or MatMultAdd(()\… in main()
H A Dex240.c42 PetscCall(PetscSynchronizedPrintf(MPI_COMM_WORLD, "[%d]Global colors \n", rank)); in main()
43 …for (i = 0; i < N; i++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%" PetscInt_FMT " %" … in main()
62 PetscCall(PetscSynchronizedPrintf(MPI_COMM_WORLD, "[%d] Compressed matrix \n", rank)); in main()
64 …for (j = 0; j < nc; j++) PetscCall(PetscSynchronizedPrintf(MPI_COMM_WORLD, "%12.4e ", (double)Pet… in main()
65 PetscCall(PetscSynchronizedPrintf(MPI_COMM_WORLD, "\n")); in main()
H A Dex19.c115 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "processor number %d: start=%" PetscInt_FMT ",… in main()
119 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, " C[%" PetscInt_FMT ", %" PetscInt_FMT "] = %… in main()
121 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, " C[%" PetscInt_FMT ", %" PetscInt_FMT "] = %… in main()
/petsc/src/dm/tests/
H A Dex43.c27 …PetscCall(PetscSynchronizedPrintf(com, "begin rank %d portion (with ghosts, %" PetscInt_FMT " x %"… in PrintVecWithGhosts()
30 …for (j = info.gys; j < info.gys + info.gym; j++) PetscCall(PetscSynchronizedPrintf(com, "%g, ", (d… in PrintVecWithGhosts()
31 PetscCall(PetscSynchronizedPrintf(com, "\n")); in PrintVecWithGhosts()
34 PetscCall(PetscSynchronizedPrintf(com, "end rank %d portion\n", rank)); in PrintVecWithGhosts()
/petsc/src/sys/tutorials/
H A Dex2.c44 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] Synchronized Hello World.\n", rank)); in main()
45 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] Synchronized Hello World - Part II.\n", … in main()
H A Dex2f.F9027 PetscCallA(PetscSynchronizedPrintf(PETSC_COMM_WORLD, outputString, ierr))
30 PetscCallA(PetscSynchronizedPrintf(PETSC_COMM_WORLD, outputString, ierr))
/petsc/src/dm/impls/plex/tests/
H A Dex17.c111 PetscCall(PetscSynchronizedPrintf(comm, "[%d] Found %" PetscInt_FMT " particles\n", rank, Nfd)); in TestCustomLocation()
120 …PetscCall(PetscSynchronizedPrintf(comm, " point %" PetscInt_FMT " cell %" PetscInt_FMT "\n", poin… in TestCustomLocation()
123 PetscCall(PetscSynchronizedPrintf(comm, " ")); in TestCustomLocation()
124 …for (PetscInt d = 0; d < cdim; ++d) PetscCall(PetscSynchronizedPrintf(comm, " %g", (double)PetscRe… in TestCustomLocation()
125 PetscCall(PetscSynchronizedPrintf(comm, "\n")); in TestCustomLocation()
H A Dex9.c252 …PetscCall(PetscSynchronizedPrintf(comm, "[%d] Cones: %" PetscInt_FMT " Total time: %.3es Average t… in TestCone()
255 …PetscCall(PetscSynchronizedPrintf(comm, "[%d] Cones: %" PetscInt_FMT " Average time per cone: %gs … in TestCone()
297 …PetscCall(PetscSynchronizedPrintf(comm, "[%d] Closures: %" PetscInt_FMT " Total time: %.3es Averag… in TestTransitiveClosure()
300 …PetscCall(PetscSynchronizedPrintf(comm, "[%d] Closures: %" PetscInt_FMT " Average time per cone: %… in TestTransitiveClosure()
375 …PetscCall(PetscSynchronizedPrintf(comm, "[%d] %s: %" PetscInt_FMT " Total time: %.3es Average time… in TestVecClosure()
379 …PetscCall(PetscSynchronizedPrintf(comm, "[%d] %s: %" PetscInt_FMT " Average time per vector closur… in TestVecClosure()
/petsc/src/sys/tests/
H A Dex16.c19 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]Processor rank is %s", rank, output)); in main()
26 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]The result is %s", rank, output)); in main()
H A Dex63.c53 PetscCall(PetscSynchronizedPrintf(comm, "[")); in PrintSet()
56 PetscCall(PetscSynchronizedPrintf(comm, text, set[ii])); in PrintSet()
58 PetscCall(PetscSynchronizedPrintf(comm, "]\n")); in PrintSet()
H A Dex11.c13 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "Greetings from %d\n", rank)); in main()
/petsc/src/sys/objects/
H A Dgarbage.c277 PetscCall(PetscSynchronizedPrintf(comm, "Rank %i:: ", rank)); in PetscGarbageView()
279 PetscCall(PetscSynchronizedPrintf(comm, text, entries)); in PetscGarbageView()
281 …PetscCall(PetscSynchronizedPrintf(comm, "| Key | Type | Name … in PetscGarbageView()
282 …PetscCall(PetscSynchronizedPrintf(comm, "|-------|------------------------|-----------------------… in PetscGarbageView()
287 …PetscCall(PetscSynchronizedPrintf(comm, text, keys[ii], obj->class_name, obj->description, obj->id… in PetscGarbageView()
/petsc/src/vec/vec/tutorials/
H A Dex31.c23 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]Processor rank is\n %s", rank, output)); in main()
32 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]The result is\n %s", rank, output)); in main()
H A Dex9.c125 …for (i = 0; i < nlocal + nghost; i++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%" Pets… in main()
132 …if (rank == 0) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\nTesting VecGhostUpdate with … in main()
145 …for (i = 0; i < nlocal + nghost; i++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%" Pets… in main()
/petsc/src/vec/is/ao/tests/
H A Dex1.c37 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] 2,1,9,7 PetscToApplication %" PetscInt_F… in main()
38 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] 0,3,4 ApplicationToPetsc %" PetscInt_FMT… in main()
100 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] 2,1,9,7 PetscToApplication %" PetscInt_F… in main()
101 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] 0,3,4 ApplicationToPetsc %" PetscInt_FMT… in main()
/petsc/src/dm/impls/plex/
H A Dplexinterpolate.c875 if (rank == 0) PetscCall(PetscSynchronizedPrintf(comm, "Referenced roots\n")); in DMPlexOrientInterface_Internal()
888 …PetscCall(PetscSynchronizedPrintf(comm, "[%d] %4" PetscInt_FMT ": cone=[%4" PetscInt_FMT " %4" Pe… in DMPlexOrientInterface_Internal()
914 …if (debug) PetscCall(PetscSynchronizedPrintf(comm, " mainCone=[%4" PetscInt_FMT " %4" PetscInt_FMT… in DMPlexOrientInterface_Internal()
918 } else if (debug) PetscCall(PetscSynchronizedPrintf(comm, " ==\n")); in DMPlexOrientInterface_Internal()
940 PetscCall(PetscSynchronizedPrintf(comm, "[%d]%s:\n", rank, name)); in IntArrayViewFromOptions()
941 …for (idx = 0; idx < n; ++idx) PetscCall(PetscSynchronizedPrintf(comm, "[%d]%s %" PetscInt_FMT " %s… in IntArrayViewFromOptions()
956 PetscCall(PetscSynchronizedPrintf(comm, "[%d]%s:\n", rank, name)); in SFNodeArrayViewFromOptions()
958 …for (idx = 0; idx < n; ++idx) PetscCall(PetscSynchronizedPrintf(comm, "[%d]%s %" PetscInt_FMT " ra… in SFNodeArrayViewFromOptions()
960 …for (idx = 0; idx < n; ++idx) PetscCall(PetscSynchronizedPrintf(comm, "[%d]rank %" PetscInt_FMT " … in SFNodeArrayViewFromOptions()
1106 …if (debug) PetscCall(PetscSynchronizedPrintf(comm, "[%d] Skipping face %" PetscInt_FMT " to avo… in DMPlexAddSharedFace_Private()
[all …]
/petsc/src/ts/event/tests/
H A Dex2.c129 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d\t%g\t%g\t%s\n", ctx.rank, (double)ctx.evre… in main()
175 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] At t = %20.16g : %" PetscInt_FMT " event… in Postevent()
176 …for (PetscInt j = 0; j < nev_zero; j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g"… in Postevent()
177 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\n")); in Postevent()
H A Dex1sin.c128 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d\t%g\t%g\t%s\n", ctx.rank, (double)ctx.evre… in main()
165 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] At t = %20.16g : %" PetscInt_FMT " event… in Postevent()
166 …for (PetscInt j = 0; j < nev_zero; j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g"… in Postevent()
167 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\n")); in Postevent()
H A Dex3.c161 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d\t%g\t%g\t%s\n", ctx.rank, (double)ctx.evre… in main()
212 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] At t = %20.16g : %" PetscInt_FMT " event… in Postevent()
213 …for (PetscInt j = 0; j < nev_zero; j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g"… in Postevent()
214 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\n")); in Postevent()
H A Dex4.c172 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%d\t%g\t%g\t%s\n", ctx.rank, (double)ctx.evre… in main()
227 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] At t = %20.16g : %" PetscInt_FMT " event… in Postevent()
228 …for (PetscInt j = 0; j < nev_zero; j++) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\t%g"… in Postevent()
229 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "\n")); in Postevent()
/petsc/src/dm/tutorials/
H A Dex51.c34 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]X subrank: %d subsize: %d\n", rank, subra… in main()
38 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d]Y subrank: %d subsize: %d\n", rank, subra… in main()
/petsc/src/vec/is/sf/tutorials/
H A Dex1.c218 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
229 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
299 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
316 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
327 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
353 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
370 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
381 PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "%s\n", buf)); in main()
/petsc/src/ksp/ksp/tests/
H A Dex11.c98 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] lnu = %" PetscInt_FMT " | lnp = %" Petsc… in LoadTestMatrices()
99 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] s_u = %" PetscInt_FMT " | e_u = %" Petsc… in LoadTestMatrices()
100 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] s_p = %" PetscInt_FMT " | e_p = %" Petsc… in LoadTestMatrices()
101 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] is_u (offset) = %" PetscInt_FMT " \n", r… in LoadTestMatrices()
102 …PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "[%d] is_p (offset) = %" PetscInt_FMT " \n", r… in LoadTestMatrices()

123