Home
last modified time | relevance | path

Searched +full:stage +full:- +full:3 (Results 1 – 25 of 156) sorted by relevance

1234567

/petsc/
H A D.gitlab-ci.yml2 # stage-1 take only a few minutes; they do not run the full test suite or external packages.
4 # stage-2 runs on MCS systems and may take 10 to 15 minutes. They run the full test suite but with …
6 # stage-3 runs on MCS systems and may take an hour or more. They run the full test suite and heavil…
8 # The stage-(n) tests are only started if all of the stage-(n-1) tests run without error
9 # You can limit the testing by using the variable STAGE with value 1 or 2
13 - stage-1
14 - stage-2
15 - stage-3
16 - stage-4
19 GIT_CLEAN_FLAGS: -ffdxq
[all …]
/petsc/lib/petsc/bin/
H A Dpetsclogformat.py246 return Sorted.index(a) - Sorted.index(b)
249 …Prints a simple table that displays the percent of time, flops, etc for each event in each stage'''
257 print(" & & \multicolumn{4}{c}{--------------- Percent of -------------} & \\\\")
262 print(" --------- Percent of ------")
274 for stage in sumStages:
279 print("Stage: "+stage)
280 L = sumStages[stage].keys()
288 elif event.startswith("KSPGMRESOrthog"): space = 3
290 elif event.startswith("PC"): space = 3
291 elif event.startswith("MatMult"): space = 3
[all …]
/petsc/src/ts/tutorials/output/
H A Dex20adj_4.out6 TSTrajectorySet: stepnum 3, time 0.003 (stages 1)
19 Store in checkpoint number 3 (located in RAM)
32 Skip the step from 12 to 13 (stage values already checkpointed)
37 Skip the step from 12 to 13 (stage values already checkpointed)
39 Restore in checkpoint number 3 (located in RAM)
41 Skip the step from 10 to 11 (stage values already checkpointed)
44 Restore in checkpoint number 3 (located in RAM)
46 Skip the step from 10 to 11 (stage values already checkpointed)
50 Skip the step from 8 to 9 (stage values already checkpointed)
55 Skip the step from 8 to 9 (stage values already checkpointed)
[all …]
H A Dex20adj_6.out5 TSTrajectorySet: stepnum 3, time 0.003 (stages 1)
13 Store in checkpoint number 10 with stage values (located in RAM)
17 Store in checkpoint number 13 with stage values (located in RAM)
22 Restore in checkpoint number 13 with stage values (located in RAM)
24 Restore in checkpoint number 13 with stage values (located in RAM)
26 Restore in checkpoint number 10 with stage values (located in RAM)
27 Store in checkpoint number 11 with stage values (located in RAM)
29 Restore in checkpoint number 11 with stage values (located in RAM)
31 Restore in checkpoint number 10 with stage values (located in RAM)
34 Store in checkpoint number 4 with stage values (located in RAM)
[all …]
H A Dex30_0_dirk.out1 ----------------------------
9 IC : 3
13 ----------------------------
14 ---------- Testing Jacobian -------------
15 …Run with -snes_test_jacobian_view and optionally -snes_test_jacobian <threshold> to show difference
16 of hand-coded and finite difference Jacobian entries greater than <threshold>.
17 Testing hand-coded Jacobian, if (for double precision runs) ||J - Jfd||_F/||J||_F is
18 O(1.e-8), the hand-coded Jacobian is probably correct.
19 ||J - Jfd||_F/||J||_F = 7.63695e-14, ||J - Jfd||_F = 7.42506e-13
20 0 TS: time 0., energy 0.796955, intp -3.07049e-21, ell 0.
[all …]
H A Dex30_0_dirk_fieldsplit.out1 ----------------------------
9 IC : 3
13 ----------------------------
14 ---------- Testing Jacobian -------------
15 …Run with -snes_test_jacobian_view and optionally -snes_test_jacobian <threshold> to show difference
16 of hand-coded and finite difference Jacobian entries greater than <threshold>.
17 Testing hand-coded Jacobian, if (for double precision runs) ||J - Jfd||_F/||J||_F is
18 O(1.e-8), the hand-coded Jacobian is probably correct.
19 ||J - Jfd||_F/||J||_F = 7.63695e-14, ||J - Jfd||_F = 7.42506e-13
20 0 TS: time 0., energy 0.796955, intp -3.07049e-21, ell 0.
[all …]
/petsc/src/ksp/ksp/tutorials/output/
H A Dex39_1.out1 Initialization stage
4 Initialization stage: creating level 2
11 General setup stage
13 After 3 iterations residual norm is 0.042859
14 After 3 iterations Rayleigh quotient of residual is 0.040705
17 General setup stage
18 Adding candidate vector 3
23 General setup stage
28 3 KSP Residual norm 0.000959025
29 4 KSP Residual norm 1.43311e-05
H A Dex40_1.out2 Initialization stage
5 Initialization stage: creating level 2
12 General setup stage
14 After 3 iterations residual norm is 0.027320
15 After 3 iterations Rayleigh quotient of residual is 0.040753
18 General setup stage
19 Adding candidate vector 3
24 General setup stage
29 3 KSP Residual norm 0.0108729
32 6 KSP Residual norm 4.85307e-06
H A Dex38_1.out1 Initialization stage
4 Initialization stage: creating level 2
11 After 3 iterations residual norm is 0.000002
12 After 3 iterations Rayleigh quotient of residual is 0.006120
15 General setup stage
19 1 KSP Residual norm < 1.e-11
/petsc/src/sys/tests/
H A Dex68.c26 …PetscCall(PetscOptionsBool("-main_visible", "The logging visibility of the main stage", NULL, main… in main()
27 …PetscCall(PetscOptionsBool("-unrelated_visible", "The logging visibility of the unrelated stage", … in main()
33 - Pausing events should send the log data for the runtime initialization in main()
34 to the Main Stage in main()
36 - Turning the Main Stage invisible should hide it from -log_view in main()
38 So the runtime initialization should be more or less missing from -log_view. */ in main()
50 PetscCall(PetscLogStageRegister("Unrelated stage 1", &unrelated_stage_1)); in main()
51 PetscCall(PetscLogStageRegister("Unrelated stage 2", &unrelated_stage_2)); in main()
52 PetscCall(PetscLogStageGetId("Main Stage", &main_stage)); in main()
61 …PetscCheck(main_visible == get_main_visible, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Get/Set stage visib… in main()
[all …]
/petsc/src/ts/impls/implicit/glle/
H A Dglle.h13 PetscInt q; /* stage-order of the method */
20 PetscScalar *alpha; /* X_n(t_n) - X_{n-1}(t_n) = - alpha^T h^{p+1} x^{(p+1)}(t_n) */
21 PetscScalar *beta; /* - beta^T h^{p+2} x^{(p+2)}(t_n) */
22 PetscScalar *gamma; /* - gamma^T h^{p+2} f' x^{(p+1)}(t_n) + O(h^{p+3}) */
28 PetscScalar *phi; /* dim=[3][s] for estimating higher moments, see B,J,W 2007 */
29 PetscScalar *psi; /* dim=[3][r-1], [0 psi^T] of B,J,W 2007 */
34 PetscBool fsal; /* First Same As Last: X[1] = h*Ydot[s-1] (and stiffly accurate) */
41 …re only stored so that they can be printed in TSView_GLLE() without making these schemes full-blown
57 …Vec *himom; /* len=3, Estimates of h^{p+1}x^{(p+1)}, h^{p+2}x^{(p+2)}, h^{p+2}(df/dx) x^{(p+1…
61 Vec *Ydot; /* Derivatives of stage vectors, must be stored */
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A DLog.pyx1 # --------------------------------------------------------------------
6 # --------------------------------------------------------------------
12 def Stage(cls, name: str) -> LogStage: member in Log
13 """Create a log stage.
18 ----------
20 Stage name.
23 -------
24 stage : LogStage
25 The log stage. If a stage already exists with name ``name`` then
29 --------
[all …]
/petsc/src/sys/logging/handler/interface/
H A Dloghandler.c7 PetscLogHandlerCreate - Create a log handler for profiling events and stages. PETSc
14 . comm - the communicator for synchronizing and viewing events with this handler
17 . handler - the `PetscLogHandler`
43 PetscLogHandlerDestroy - Destroy a `PetscLogHandler`
48 . handler - handler to be destroyed
63 if (--((PetscObject)h)->refct > 0) PetscFunctionReturn(PETSC_SUCCESS); in PetscLogHandlerDestroy()
65 PetscCall(PetscLogStateDestroy(&h->state)); in PetscLogHandlerDestroy()
73 …PetscLogHandlerSetState - Set the logging state that provides the stream of events and stages for …
78 + h - the `PetscLogHandler`
79 - state - the `PetscLogState`
[all …]
/petsc/src/benchmarks/
H A DbenchmarkExample.py61 …pipe = Popen(command, cwd=cwd, stdin=None, stdout=PIPE, stderr=PIPE, bufsize=-1, shell=True, unive…
71 a.append('-'+key)
73 a.append('-'+key+' '+str(value))
103 cmd += ' -n ' + str(numProcs) + ' '
105 cmd += ' -hostfile hostfile '
112 out, err, ret = self.runShellCommand('qsub -q gpu '+filename, log = log)
131 stageName = row["Stage Name"]
162 stage = m.Stages[stageName]
163 if name in stage:
166 event = stage[name][0]
[all …]
/petsc/src/dm/impls/plex/tests/
H A Dex9.c30 options->dim = 2; in ProcessOptions()
31 options->cellSimplex = PETSC_TRUE; in ProcessOptions()
32 options->spectral = PETSC_FALSE; in ProcessOptions()
33 options->interpolate = PETSC_FALSE; in ProcessOptions()
34 options->refinementLimit = 0.0; in ProcessOptions()
35 options->numFields = 0; in ProcessOptions()
36 options->numComponents = NULL; in ProcessOptions()
37 options->numDof = NULL; in ProcessOptions()
38 options->reuseArray = PETSC_FALSE; in ProcessOptions()
39 options->errors = PETSC_FALSE; in ProcessOptions()
[all …]
/petsc/src/snes/impls/ms/
H A Dms.c13 PetscReal *gamma; /* Coefficients of 3S* method */
14 PetscReal *delta; /* Coefficients of 3S* method */
15 PetscReal *betasub; /* Subdiagonal of beta in Shu-Osher form */
26 SNESMSTableau tableau; /* Tableau in low-storage form */
31 SNESMSRegisterAll - Registers all of the multi-stage methods in `SNESMS`
51 PetscReal gamma[3][6] = { in SNESMSRegisterAll()
52 …0000000000E+00, -7.0304722367110606E-01, -1.9836719667506464E-01, -1.6023843981863788E+00, 9.44838… in SNESMSRegisterAll()
53 …025767083920E+00, 5.6150921583923230E-01, 7.4151723494934041E-01, 3.1714538168600587E-01, 4.64… in SNESMSRegisterAll()
54 …+00, 0.0000000000000000E+00, 6.7968174970583317E-01, -4.1755042846051737E-03, -1.91156681299238… in SNESMSRegisterAll()
56 …000000000000000E+00, 5.3275427433201750E-01, 6.0143544663985238E-01, 4.5874077053842177E-01, 2.754… in SNESMSRegisterAll()
[all …]
/petsc/src/sys/logging/handler/impls/default/
H A Dlogdefault.c14 eventInfo->visible = PETSC_TRUE; in PetscEventPerfInfoInit()
15 eventInfo->id = -1; in PetscEventPerfInfoInit()
16 eventInfo->dof[0] = -1.0; in PetscEventPerfInfoInit()
17 eventInfo->dof[1] = -1.0; in PetscEventPerfInfoInit()
18 eventInfo->dof[2] = -1.0; in PetscEventPerfInfoInit()
19 eventInfo->dof[3] = -1.0; in PetscEventPerfInfoInit()
20 eventInfo->dof[4] = -1.0; in PetscEventPerfInfoInit()
21 eventInfo->dof[5] = -1.0; in PetscEventPerfInfoInit()
22 eventInfo->dof[6] = -1.0; in PetscEventPerfInfoInit()
23 eventInfo->dof[7] = -1.0; in PetscEventPerfInfoInit()
[all …]
/petsc/src/dm/partitioner/impls/multistage/
H A Dmspart.c10 …" title = {High-order accurate entropy-stable discontinuous collocated Galerkin methods with th…
24 PetscInt stage; member
26 /* Stage partitioners */
54 PetscPartitioner_MS *p = (PetscPartitioner_MS *)part->data; in PetscPartitionerView_Multistage()
66 …if (!p->stagedm || p->stage == 0) PetscCall(PetscViewerASCIIPrintf(viewer, "Multistage graph parti… in PetscPartitionerView_Multistage()
69 for (PetscInt l = 0; l < p->levels; l++) { in PetscPartitionerView_Multistage()
70 PetscPartitioner ppart = p->ppart[l]; in PetscPartitionerView_Multistage()
78 pgroup = p->lgroup[0]; in PetscPartitionerView_Multistage()
95 if (gem) uniq--; in PetscPartitionerView_Multistage()
96 …if (!p->stagedm || l == p->stage) PetscCall(PetscViewerASCIIPrintf(viewer, "Stage %" PetscInt_FMT … in PetscPartitionerView_Multistage()
[all …]
/petsc/src/benchmarks/results/
H A Dperformance_arco12-np 1 ./ex10 -f0 ~/datafiles/matrices/medium -f1 ~/datafiles/matrices/arco1 -pc_type ilu -ksp_gmre…
3-np 1 ./ex10 -f0 ~/datafiles/matrices/medium -f1 ~/datafiles/matrices/arco1 -pc_type ilu -ksp_gmre…
11 --- Event Stage 5: SLESSolve 1
13 MatMult 39 6.483e-02 1.0 3.1e+07 1.0 0.0e+00 0.0e+00 0.0e+00 4 26 0 0 0 2…
14 MatSolve 40 9.083e-02 1.0 2.2e+07 1.0 0.0e+00 0.0e+00 0.0e+00 5 26 0 0 0 3…
15 VecNorm 40 4.251e-03 1.0 2.8e+07 1.0 0.0e+00 0.0e+00 4.0e+01 0 2 0 0 34 …
16 VecScale 40 2.645e-03 1.0 2.3e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 …
17 VecCopy 2 2.576e-04 1.0 0.0e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 …
18 VecSet 3 2.832e-04 1.0 0.0e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 …
19 VecAXPY 3 4.760e-04 1.0 1.9e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 …
[all …]
H A Dperformance_cfd_2_102-np 1 ex10 -f0 ~/datafiles/matrices/medium -f1 ~/datafiles/matrices/cfd.2.10 -pc_type ilu -ksp_gmr…
7 --- Event Stage 4: SLESSetUp 1
9 MatGetReordering 1 1.0 5.4021e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0…
10 MatILUFctrSymbol 1 1.0 2.0906e-02 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0…
15 --- Event Stage 5: SLESSolve 1
17 MatMult 9 1.0 8.5087e-01 1.0 8.62e+07 1.0 0.0e+00 0.0e+00 0.0e+00 9 28 0 0…
19 VecNorm 10 1.0 2.4616e-02 1.0 9.98e+07 1.0 0.0e+00 0.0e+00 1.0e+01 0 1 0 0…
20 VecScale 10 1.0 3.8519e-02 1.0 3.19e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0…
21 VecCopy 1 1.0 5.6514e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0…
22 VecSet 2 1.0 8.4705e-03 1.0 0.00e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0…
[all …]
/petsc/src/ksp/ksp/tutorials/
H A Dex56.c1 static char help[] = "3D, tri-linear quadrilateral (Q1), displacement finite element formulation\n\
5 -ne <size> : number of (square) quadrilateral elements in each dimension\n\
6 -alpha <v> : scaling of material coefficient in embedded circle\n\n";
12 static PetscErrorCode MaybeLogStagePush(PetscLogStage stage) in MaybeLogStagePush() argument
14 return log_stages ? PetscLogStagePush(stage) : PETSC_SUCCESS; in MaybeLogStagePush()
28 PetscReal x, y, z, h, *coords, soft_alpha = 1.e-3; in main()
35 PetscLogStage stage[6]; in main() local
44 PetscOptionsBegin(comm, NULL, "3D bilinear Q1 elasticity options", ""); in main()
47 …must be a multiple of %" PetscInt_FMT " (sizes^{1/3})", (PetscInt)(PetscPowReal((PetscReal)npe, 1.… in main()
48 PetscCall(PetscOptionsInt("-ne", nestring, "", ne, &ne, NULL)); in main()
[all …]
H A Dbench_kspsolve.c2 Poisson in 3D. Modeled by the PDE:
4 - delta u(x,y,z) = f(x,y,z)
13 ./bench_kspsolve -mat_type aijcusparse
14 ./bench_kspsolve -mat_type aijhipsparse
15 ./bench_kspsolve -mat_type aijkokkos
18 ./bench_kspsolve -matmult
21 ./bench_kspsolve -matmult -its 1000
24 ./bench_kspsolve -n 128
26 static char help[] = "Solves 3D Laplacian with 27-point finite difference stencil.\n";
45 PetscInt n = user->n, n2 = n * n, n1 = n - 1; in PreallocateCOO()
[all …]
/petsc/src/ts/impls/rosw/
H A Drosw.c9 where F represents the stiff part of the physics and G represents the non-stiff part.
29 PetscReal *Gamma; /* Stage table, lower triangular with nonzero diagonal */
30 …PetscBool *GammaZeroDiag; /* Diagonal entries that are zero in stage table Gamma, vector indic…
35 PetscReal *GammaSum; /* Row sum of Gamma, only needed for non-autonomous systems */
54 Vec Ystage; /* Work vector for the state value at each stage */
61 PetscReal stage_explicit; /* Flag indicates that the current stage is explicit */
62 …PetscBool recompute_jacobian; /* Recompute the Jacobian at each stage, default is to freeze the…
67 TSROSWTHETA1 - One stage first order L-stable Rosenbrock-W scheme (aka theta method).
77 TSROSWTHETA2 - One stage second order A-stable Rosenbrock-W scheme (aka theta method).
87 TSROSW2M - Two stage second order L-stable Rosenbrock-W scheme.
[all …]
/petsc/src/sys/logging/
H A Dplog.c22 PetscInt petsc_log_gid = -1; /* Global threadId counter */
23 PETSC_TLS PetscInt petsc_log_tid = -1; /* Local threadId */
171 PetscLogGetDefaultHandler - Get the default log handler if it is running.
176 . handler - the default `PetscLogHandler`, or `NULL` if it is not running.
182 if the options flags `-log_all` or `-log_view` is given without arguments,
183 or for `-log_view :output:format` if `format` is not `ascii_xml` or `ascii_flamegraph`.
204 PetscLogGetState - Get the `PetscLogState` for PETSc's global logging, used
212 . state - The `PetscLogState` changed by registrations (such as
231 hot->handler = h; in PetscLogHandlerCopyToHot()
232 hot->eventBegin = h->ops->eventbegin; in PetscLogHandlerCopyToHot()
[all …]
/petsc/src/sys/tutorials/
H A Dex6.c16 …PetscCall(PetscPrintf(PETSC_COMM_SELF, "[%d:%g:%-22s] " format_string, rank, time, PETSC_FUNCTION_…
72 PetscLogStage stage; in main() local
77 PetscCall(PetscLogStageRegister("User stage", &stage)); in main()
79 PetscCall(PetscLogStagePush(stage)); in main()
85 PetscCall(PetscObjectSetName((PetscObject)o3, "Container 3")); in main()
104 filter: sed -E "s/:[^:]+:/:time_removed:/g"

1234567