| /petsc/ |
| H A D | .gitlab-ci.yml | 2 # 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/src/benchmarks/results/ |
| H A D | performance_medium | 1 mpiexec -np 1 ex10 -f0 ~/matrices/medium -f1 ~/matrices/medium -pc_type ilu -ksp_gmres_unmodifiedgr… 8 --- Event Stage 5: SLESSolve 1 10 MatMult 6 4.570e-04 1.0 5.7e+07 1.0 0.0e+00 0.0e+00 0.0e+00 1 13 0 0 0 1… 11 MatSolve 7 8.140e-04 1.0 3.8e+07 1.0 0.0e+00 0.0e+00 0.0e+00 1 15 0 0 0 1… 12 VecNorm 7 3.200e-04 1.0 8.0e+06 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 … 13 VecScale 7 1.160e-04 1.0 1.1e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 1 0 0 0 … 14 VecCopy 1 2.098e-05 1.0 0.0e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 … 15 VecSet 2 3.290e-05 1.0 0.0e+00 0.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 … 16 VecAXPY 1 1.895e-05 1.0 1.9e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 0 0 0 0 … 17 VecMDot 6 3.440e-04 1.0 2.2e+07 1.0 0.0e+00 0.0e+00 0.0e+00 0 4 0 0 0 … [all …]
|
| H A D | performance_arco1 | 2 …-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 D | performance_cfd_2_10 | 2 …-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/snes/tutorials/output/ |
| H A D | ex19_tut_7.out | 4 *** WIDEN YOUR WINDOW TO 120 CHARACTERS. Use 'enscript -r -fCourier9' to print this do… 7 ---------------------------------------------- PETSc Performance Summary: -------------------------… 9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 4 processors, by patrick Fri Jul 27 1… 10 Using Petsc Development GIT revision: v3.9.3-921-gfc2aa81 GIT Date: 2018-07-27 11:07:58 +0200 13 Time (sec): 4.796e-01 1.001 4.794e-01 22 e.g., VecAXPY() for real vectors of length N --> 2N flops 23 and VecAXPY() for complex vectors of length N --> 8N flops 25 Summary of Stages: ----- Time ------ ----- Flop ------ --- Messages --- -- Message Lengths -- … 27 …0: Main Stage: 4.7942e-01 100.0% 8.8021e+08 100.0% 1.180e+04 100.0% 5.490e+02 100.0% … 29 ---------------------------------------------------------------------------------------------------… [all …]
|
| H A D | ex19_tut_5.out | 4 *** WIDEN YOUR WINDOW TO 120 CHARACTERS. Use 'enscript -r -fCourier9' to print this do… 7 ---------------------------------------------- PETSc Performance Summary: -------------------------… 9 ./ex19 on a arch-ubuntu-mb-double-extra-opt named pdsbox with 1 processor, by patrick Fri Jul 27 15… 10 Using Petsc Development GIT revision: v3.9.3-921-gfc2aa81 GIT Date: 2018-07-27 11:07:58 +0200 13 Time (sec): 6.992e-01 1.000 6.992e-01 22 e.g., VecAXPY() for real vectors of length N --> 2N flops 23 and VecAXPY() for complex vectors of length N --> 8N flops 25 Summary of Stages: ----- Time ------ ----- Flop ------ --- Messages --- -- Message Lengths -- … 27 …0: Main Stage: 6.9923e-01 100.0% 5.2371e+08 100.0% 0.000e+00 0.0% 0.000e+00 0.0% … 29 ---------------------------------------------------------------------------------------------------… [all …]
|
| /petsc/src/ts/tutorials/output/ |
| H A D | ex30_0_3d.out | 1 ---------------------------- 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 = 5.46812e-15, ||J - Jfd||_F = 1.24968e-14 21 ---------- Testing Jacobian ------------- 22 ||J - Jfd||_F/||J||_F = 4.58971e-09, ||J - Jfd||_F = 1.97484e-08 [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex9.c | 30 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/doc/manual/ |
| H A D | profiling.md | 24 - `-log_view [:filename]` - Prints an ASCII version of performance data at the 26 and require little overhead; thus, `-log_view` is intended as the 28 - `-info [infofile]` - Prints verbose information about code to 33 - `-log_trace [logfile]` - Traces the beginning and ending of all 35 `-info`, is useful to see where a program is hanging without 43 ### Interpreting `-log_view` Output: The Basics 46 option `-log_view` `[:filename]` activates printing of profile data to standard 51 libraries, followed by any user-defined events (discussed in 74 lower-level operations in these packages. Note also that the nonlinear 90 - `KSPSetUp` - Set up linear solver [all …]
|
| H A D | ts.md | 6 ODEs and DAEs arising from the discretization of time-dependent PDEs. 15 semi-discrete equation 19 (u_i)_t & = & \frac{u_{i+1} - 2 u_{i} + u_{i-1}}{h^2}, \\ 25 semi-discrete equation 34 ( B - dt^n A ) u^{n+1} = B u^n, 44 {\xi}'(t_{n+1}) \doteq \frac{{u^{n+1}}_i - {u^{n}}_i }{dt^{n}}, 66 - Function $F(t,u,\dot{u})$ 75 and the (optional) user-provided context `funP`. If 79 - Function $G(t,u)$, if it is nonzero, is provided with the 86 - Jacobian [all …]
|
| H A D | mat.md | 44 and the options database option `-dm_mat_type <aij or baij or aijcusparse etc>` Matrices can be cre… 49 ## Low-level matrix creation routines 91 employed*. The array `values` is logically two-dimensional, containing 103 support the column-oriented option. 148 informs the user that all rows from `first_row` to `last_row-1` 153 … the local sizes passed to `MatSetSizes()` or `MatCreateAIJ()` (and such low-level functions for o… 160 matrix-vector multiplication, etc. Any space for preallocated nonzeros 170 nonzero pattern (such as within a nonlinear or time-dependent problem). 178 For matrices associated with `DMDA` there is a higher-level interface for providing 194 - the layout of the two compatible vectors in the computation of the matrix-vector product y = A * … [all …]
|
| /petsc/src/ts/tutorials/advection-diffusion-reaction/output/ |
| H A D | ex5_1.out | 24 23 TS dt 42.4492 time 523.345 31 Explicit first stage: yes 52 minimum allowed timestep 1e-20 53 maximum solution absolute value to be ignored -1. 57 tolerances: relative=1e-08, absolute=1e-50, solution=1e-08 64 alpha=1.000000e-04 65 maxlambda=1.000000e+00, minlambda=1.000000e-12 66 tolerances: relative=1.000000e-08, absolute=1.000000e-15, lambda=1.000000e-08 70 …restart=30, using classical (unmodified) Gram-Schmidt orthogonalization with no iterative refineme… 71 happy breakdown tolerance=1e-30 [all …]
|
| H A D | ex3_1_alt_3.out | 1 0 TS dt 8.33333e-06 time 0. 2 1 TS dt 8.33333e-05 time 8.33333e-06 3 2 TS dt 0.000833333 time 9.16667e-05 24 23 TS dt 0.010971 time 0.202777 43 Explicit first stage: yes 46 initial time step=8.33333e-06 59 minimum allowed timestep 1e-20 60 maximum solution absolute value to be ignored -1. 64 tolerances: relative=1e-08, absolute=1e-50, solution=1e-08 69 alpha=1.000000e-04 [all …]
|
| H A D | ex3_1.out | 1 0 TS dt 8.33333e-06 time 0. 2 1 TS dt 8.33333e-05 time 8.33333e-06 3 2 TS dt 0.000833333 time 9.16667e-05 24 23 TS dt 0.0108939 time 0.202602 45 Explicit first stage: yes 48 initial time step=8.33333e-06 61 minimum allowed timestep 1e-20 62 maximum solution absolute value to be ignored -1. 66 tolerances: relative=1e-08, absolute=1e-50, solution=1e-08 71 alpha=1.000000e-04 [all …]
|
| H A D | ex3_1_alt_2.out | 1 0 TS dt 8.33333e-06 time 0. 2 1 TS dt 8.33333e-05 time 8.33333e-06 3 2 TS dt 0.000833333 time 9.16667e-05 24 23 TS dt 0.010851 time 0.202594 44 Explicit first stage: yes 47 initial time step=8.33333e-06 60 minimum allowed timestep 1e-20 61 maximum solution absolute value to be ignored -1. 65 tolerances: relative=1e-08, absolute=1e-50, solution=1e-08 70 alpha=1.000000e-04 [all …]
|
| /petsc/src/ts/impls/rosw/ |
| H A D | rosw.c | 9 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/mat/tests/ |
| H A D | ex5.c | 11 PetscScalar one = 1.0, negone = -1.0, v, alpha = 0.1; in main() 18 PetscCall(PetscOptionsGetInt(NULL, NULL, "-m", &m, NULL)); in main() 20 PetscCall(PetscOptionsHasName(NULL, NULL, "-rectA", &flg)); in main() 22 PetscCall(PetscOptionsHasName(NULL, NULL, "-rectB", &flg)); in main() 23 if (flg) n -= 2; in main() 25 /* ---------- Assemble matrix and vectors ----------- */ in main() 71 /* Try overlap Coomunication with the next stage XXXSetValues */ in main() 76 /* The Assembly for the second Stage */ in main() 96 /* ------- Test MatMultTranspose(), MatMultTransposeAdd() ------- */ in main() 115 /* -------------------- Test MatGetDiagonal() ------------------ */ in main() [all …]
|
| /petsc/src/dm/impls/plex/tests/output/ |
| H A D | ex12_5_ms_petscpartitioner_multistage_msection-2.out | 8 Stage 0 partitioner to 2 processes 16 Stage 1 partitioners (2 unique groups, 4 empty processes) 31 Stage 2 partitioners (4 unique groups, 0 empty processes) 65 [0]: 7 ----> 15 66 [0]: 7 ----> 16 67 [0]: 8 ----> 16 68 [0]: 8 ----> 17 69 [0]: 8 ----> 18 70 [0]: 8 ----> 19 71 [0]: 9 ----> 19 [all …]
|
| H A D | ex12_5_ms_petscpartitioner_multistage_msection-3.out | 8 Stage 0 partitioner to 8 processes 21 [0]: 7 ----> 15 22 [0]: 7 ----> 16 23 [0]: 8 ----> 16 24 [0]: 8 ----> 17 25 [0]: 8 ----> 18 26 [0]: 8 ----> 19 27 [0]: 9 ----> 19 28 [0]: 9 ----> 20 29 [0]: 9 ----> 21 [all …]
|
| /petsc/include/ |
| H A D | petscts.h | 3 is for use in solving time-dependent PDEs. 15 TS - Abstract PETSc object that manages integrating an ODE. 24 …TSType - String with the name of a PETSc `TS` method. These are all the time/ODE integrators that … 29 …Use `TSSetType()` or the options database key `-ts_type` to set the ODE integrator method to use w… 60 TSProblemType - Determines the type of problem this `TS` object is to be used to solve 63 + `TS_LINEAR` - a linear ODE or DAE 64 - `TS_NONLINEAR` - a nonlinear ODE or DAE 76 TSEquationType - type of `TS` problem that is solved 79 + `TS_EQ_UNSPECIFIED` - (default) 80 . `TS_EQ_EXPLICIT` - {ODE and DAE index 1, 2, 3, HI} F(t,U,U_t) := M(t) U_t - G(U,t) = 0 [all …]
|
| /petsc/src/ts/utils/dmplexlandau/ |
| H A D | plexland.c | 65 /* gamma - 1 = g_eps, for conditioning and we only take derivatives */ in gamma_m1_f() 70 …u[0] = xx / (PetscSqrtReal(1. + xx) + 1.) - 1.; // better conditioned. -1 might help condition and… in gamma_m1_f() 76 LandauFormJacobian_Internal - Evaluates Jacobian matrix. 79 . globX - input vector 80 . actx - optional user-defined context 81 . dim - dimension 84 . J0acP - Jacobian matrix filled, not created 104 PetscCheck(ctx->plex[0] != NULL, ctx->comm, PETSC_ERR_ARG_WRONG, "Plex not created"); in LandauFormJacobian_Internal() 105 PetscCall(PetscLogEventBegin(ctx->events[10], 0, 0, 0, 0)); in LandauFormJacobian_Internal() 106 PetscCall(DMGetDS(ctx->plex[0], &prob)); // same DS for all grids in LandauFormJacobian_Internal() [all …]
|
| /petsc/lib/petsc/bin/maint/abi-compliance-checker/doc/ |
| H A D | Changelog.html | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xht… 4 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> 10 margin-top: 1.0em; 11 background-color: #deeef7; 12 font-family: Helvetica, Arial, FreeSans, san-serif; 19 h1 { font-size: 3.8em; color: #211108; margin-bottom: 3px;margin-top:0px;padding-top:0px;} 20 h1 .small { font-size: 0.4em; } 21 h1 a { text-decoration: none } 22 h2 { font-size: 1.5em; color: #211108; } 23 h3 { text-align: center; color: #211108; } [all …]
|
| /petsc/doc/ |
| H A D | petsc.bib | 3 % bibtool petsc.bib -- expand.macros=on -- print.line.length=100 -- pass.comments=on 17 % LiteralHTML: <a name="nano"><H3><center>Nano-simulations</center></H3> 19 @Misc{ semver-webpage, 25 title = {{D}-stability and {K}aps-{R}entrop-methods}, 30 pages = {229--237}, 41 pages = {93--113}, 55 …title = {Generalized {R}unge--{K}utta methods of order four with stepsize control for sti… 59 pages = {55--68}, 73 …gorithm for Structural Dynamics With Improved Numerical Dissipation: The Generalized-alpha Method}, 77 pages = {371-375}, [all …]
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | libpetsc4py.pyx | 7 # -------------------------------------------------------------------- 18 # -------------------------------------------------------------------- 28 # -------------------------------------------------------------------- 46 istack -= 1 63 # -------------------------------------------------------------------- 76 if obj != NULL: obj.refct -= 1 143 # -------------------------------------------------------------------- 168 # ----------------------------------------------------------------------------- 180 cdef int setcontext(self, void *ctx, Object base) except -1: 203 cdef int getcontext(self, void **ctx) except -1: [all …]
|
| /petsc/src/mat/interface/ |
| H A D | matrix.c | 52 MatSetRandom - Sets all components of a matrix to random numbers. 57 + x - the matrix 58 - rctx - the `PetscRandom` object, formed by `PetscRandomCreate()`, or `NULL` and 93 PetscCall(PetscRandomSetType(randObj, x->defaultrandtype)); in MatSetRandom() 108 MatCopyHashToXAIJ - copy hash table entries into an XAIJ matrix type 113 . A - A matrix in unassembled, hash table form 116 . B - The XAIJ matrix. This can either be `A` or some matrix of equivalent size, e.g. obtained from… 140 …MatFactorGetErrorZeroPivot - returns the pivot value that was determined to be zero and the row it… 145 . mat - the factored matrix 148 + pivot - the pivot value computed [all …]
|