| /petsc/src/ts/tutorials/output/ |
| H A D | ex20adj_5.out | 1 TSTrajectorySet: stepnum 0, time 0. (stages 0) 3 TSTrajectorySet: stepnum 1, time 0.001 (stages 0) 5 TSTrajectorySet: stepnum 2, time 0.002 (stages 0) 6 TSTrajectorySet: stepnum 3, time 0.003 (stages 0) 7 TSTrajectorySet: stepnum 4, time 0.004 (stages 0) 8 TSTrajectorySet: stepnum 5, time 0.005 (stages 0) 10 TSTrajectorySet: stepnum 6, time 0.006 (stages 0) 11 TSTrajectorySet: stepnum 7, time 0.007 (stages 0) 12 TSTrajectorySet: stepnum 8, time 0.008 (stages 0) 13 TSTrajectorySet: stepnum 9, time 0.009 (stages 0) [all …]
|
| H A D | ex20adj_6.out | 1 TSTrajectorySet: stepnum 0, time 0. (stages 1) 3 TSTrajectorySet: stepnum 1, time 0.001 (stages 1) 4 TSTrajectorySet: stepnum 2, time 0.002 (stages 1) 5 TSTrajectorySet: stepnum 3, time 0.003 (stages 1) 6 TSTrajectorySet: stepnum 4, time 0.004 (stages 1) 7 TSTrajectorySet: stepnum 5, time 0.005 (stages 1) 8 TSTrajectorySet: stepnum 6, time 0.006 (stages 1) 9 TSTrajectorySet: stepnum 7, time 0.007 (stages 1) 10 TSTrajectorySet: stepnum 8, time 0.008 (stages 1) 11 TSTrajectorySet: stepnum 9, time 0.009 (stages 1) [all …]
|
| H A D | ex20adj_3.out | 1 TSTrajectorySet: stepnum 0, time 0. (stages 0) 4 TSTrajectorySet: stepnum 1, time 0.001 (stages 0) 5 TSTrajectorySet: stepnum 2, time 0.002 (stages 0) 6 TSTrajectorySet: stepnum 3, time 0.003 (stages 0) 7 TSTrajectorySet: stepnum 4, time 0.004 (stages 0) 8 TSTrajectorySet: stepnum 5, time 0.005 (stages 0) 9 TSTrajectorySet: stepnum 6, time 0.006 (stages 0) 12 TSTrajectorySet: stepnum 7, time 0.007 (stages 0) 13 TSTrajectorySet: stepnum 8, time 0.008 (stages 0) 16 TSTrajectorySet: stepnum 9, time 0.009 (stages 0) [all …]
|
| H A D | ex20adj_4.out | 1 TSTrajectorySet: stepnum 0, time 0. (stages 1) 2 TSTrajectorySet: stepnum 1, time 0.001 (stages 1) 5 TSTrajectorySet: stepnum 2, time 0.002 (stages 1) 6 TSTrajectorySet: stepnum 3, time 0.003 (stages 1) 7 TSTrajectorySet: stepnum 4, time 0.004 (stages 1) 8 TSTrajectorySet: stepnum 5, time 0.005 (stages 1) 9 TSTrajectorySet: stepnum 6, time 0.006 (stages 1) 10 TSTrajectorySet: stepnum 7, time 0.007 (stages 1) 13 TSTrajectorySet: stepnum 8, time 0.008 (stages 1) 14 TSTrajectorySet: stepnum 9, time 0.009 (stages 1) [all …]
|
| /petsc/src/ts/tests/output/ |
| H A D | ex13_2.out | 1 TSTrajectorySet: stepnum 0, time 2. (stages 0) 2 TSTrajectorySet: stepnum 1, time 9. (stages 0) 3 TSTrajectorySet: stepnum 2, time 1. (stages 0) 4 TSTrajectorySet: stepnum 3, time 3. (stages 0) 5 TSTrajectorySet: stepnum 4, time 6. (stages 0) 6 TSTrajectorySet: stepnum 5, time 7. (stages 0) 7 TSTrajectorySet: stepnum 6, time 5. (stages 0) 8 TSTrajectorySet: stepnum 7, time 10. (stages 0) 9 TSTrajectorySet: stepnum 8, time 4. (stages 0) 10 TSTrajectorySet: stepnum 9, time 8. (stages 0) [all …]
|
| H A D | ex13_1.out | 1 TSTrajectorySet: stepnum 1, time 2. (stages 0) 2 TSTrajectorySet: stepnum 4, time 9. (stages 0) 3 TSTrajectorySet: stepnum 9, time 1. (stages 0) 4 TSTrajectorySet: stepnum 2, time 3. (stages 0) 5 TSTrajectorySet: stepnum 3, time 6. (stages 0) 6 TSTrajectorySet: stepnum 6, time 7. (stages 0) 7 TSTrajectorySet: stepnum 5, time 5. (stages 0) 8 TSTrajectorySet: stepnum 8, time 10. (stages 0) 9 TSTrajectorySet: stepnum 0, time 4. (stages 0) 10 TSTrajectorySet: stepnum 7, time 8. (stages 0) [all …]
|
| H A D | ex13_3.out | 1 TSTrajectorySet: stepnum 1, time 2. (stages 0) 2 TSTrajectorySet: stepnum 4, time 9. (stages 0) 3 TSTrajectorySet: stepnum 9, time 1. (stages 0) 4 TSTrajectorySet: stepnum 2, time 3. (stages 0) 5 TSTrajectorySet: stepnum 3, time 6. (stages 0) 6 TSTrajectorySet: stepnum 6, time 7. (stages 0) 7 TSTrajectorySet: stepnum 5, time 5. (stages 0) 8 TSTrajectorySet: stepnum 8, time 10. (stages 0) 9 TSTrajectorySet: stepnum 0, time 4. (stages 0) 10 TSTrajectorySet: stepnum 7, time 8. (stages 0) [all …]
|
| /petsc/src/sys/tests/output/ |
| H A D | ex30_7.out | 1 Stages["Main Stage"]["Event2"] = {} 2 Stages["Main Stage"]["Event1"] = {} 3 Stages["Main Stage"]["Event3"] = {} 4 Stages["Stage1"]["Event2"] = {} 5 Stages["Stage1"]["Event1"] = {} 6 Stages["Stage1"]["Event3"] = {} 7 Stages["Stage2"]["Event2"] = {} 8 Stages["Stage2"]["Event1"] = {} 9 Stages["Stage2"]["Event3"] = {} 10 Stages["Main Stage"]["Event2"][0] = {"count" : 1, "time" : 0.251221, "syncTime" : 0., "numMessages"… [all …]
|
| /petsc/lib/petsc/bin/ |
| H A D | petsclogformat.py | 227 def ComputeSums(Stages): argument 230 for stages in Stages: 231 sumStages[stages] = {} 232 for events in Stages[stages]: 233 sumStages[stages][events] = {} 234 for t in Stages[stages][events][0]: 235 sumStages[stages][events][t] = 0 236 for s in Stages[stages][events]: 237 sumStages[stages][events][t] += Stages[stages][events][s][t] 239 for stages in Stages: [all …]
|
| H A D | petsc_tas_analysis.py | 514 Nf = getNf(module.Stages['ConvEst Refinement Level 1'] 557 if stageName in module.Stages: 558 timeTempMax = module.Stages[stageName]['SNESSolve'][0]['time'] 559 timeTempMin = module.Stages[stageName]['SNESSolve'][0]['time'] 560 totalTime = module.Stages[stageName]['SNESSolve'][0]['time'] 562 flopsTempMax = module.Stages[stageName]['SNESSolve'][0]['flop'] 563 flopsTempMin = module.Stages[stageName]['SNESSolve'][0]['flop'] 564 totalFlop = module.Stages[stageName]['SNESSolve'][0]['flop'] 566 luFactorTempMax = module.Stages[stageName]['MatLUFactorNum'][0]['time'] + \ 567 module.Stages[stageName]['MatLUFactorSym'][0]['time'] [all …]
|
| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex29.c | 14 PetscLogStage stages[4]; member 29 PetscCall(PetscLogStageRegister("MeshLoad", &options->stages[STAGE_LOAD])); in ProcessOptions() 30 PetscCall(PetscLogStageRegister("MeshDistribute", &options->stages[STAGE_DISTRIBUTE])); in ProcessOptions() 31 PetscCall(PetscLogStageRegister("MeshRefine", &options->stages[STAGE_REFINE])); in ProcessOptions() 32 PetscCall(PetscLogStageRegister("MeshOverlap", &options->stages[STAGE_OVERLAP])); in ProcessOptions() 44 PetscCall(PetscLogStagePush(user->stages[STAGE_LOAD])); in CreateMesh() 56 PetscCall(PetscLogStagePush(user->stages[STAGE_DISTRIBUTE])); in CreateMesh() 64 PetscCall(PetscLogStagePush(user->stages[STAGE_REFINE])); in CreateMesh() 72 PetscCall(PetscLogStagePush(user->stages[STAGE_OVERLAP])); in CreateMesh()
|
| H A D | ex12.c | 37 PetscLogStage stages[4]; member 59 PetscCall(PetscLogStageRegister("MeshLoad", &options->stages[STAGE_LOAD])); in ProcessOptions() 60 PetscCall(PetscLogStageRegister("MeshDistribute", &options->stages[STAGE_DISTRIBUTE])); in ProcessOptions() 61 PetscCall(PetscLogStageRegister("MeshRefine", &options->stages[STAGE_REFINE])); in ProcessOptions() 62 PetscCall(PetscLogStageRegister("MeshRedistribute", &options->stages[STAGE_REDISTRIBUTE])); in ProcessOptions() 87 PetscCall(PetscLogStagePush(user->stages[STAGE_LOAD])); in CreateMesh() 107 PetscCall(PetscLogStagePush(user->stages[STAGE_DISTRIBUTE])); in CreateMesh() 168 PetscCall(PetscLogStagePush(user->stages[STAGE_REDISTRIBUTE])); in CreateMesh() 193 PetscCall(PetscLogStagePush(user->stages[STAGE_REFINE])); in CreateMesh()
|
| /petsc/src/sys/logging/handler/impls/perfstubs/ |
| H A D | logperfstubs.c | 16 PetscLogPSArray stages; member 28 PetscCall(PetscLogPSArrayCreate(8, &ps->stages)); in PetscLogHandlerContextCreate_Perfstubs() 47 PetscCall(PetscLogPSArrayGetSize(ps->stages, &num_stages, NULL)); in PetscLogHandlerDestroy_Perfstubs() 51 PetscCall(PetscLogPSArrayGet(ps->stages, i, &stage)); in PetscLogHandlerDestroy_Perfstubs() 54 PetscCall(PetscLogPSArrayDestroy(&ps->stages)); in PetscLogHandlerDestroy_Perfstubs() 94 PetscCall(PetscLogPSArrayGetSize(ps->stages, &num_stages_old, NULL)); in PetscLogHandlerPSUpdateStages() 104 PetscCall(PetscLogPSArrayPush(ps->stages, ps_stage)); in PetscLogHandlerPSUpdateStages() 143 if (stage >= ps->stages->num_entries) PetscCall(PetscLogHandlerPSUpdateStages(handler)); in PetscLogHandlerStagePush_Perfstubs() 144 PetscCall(PetscLogPSArrayGet(ps->stages, stage, &ps_event)); in PetscLogHandlerStagePush_Perfstubs() 155 if (stage >= ps->stages->num_entries) PetscCall(PetscLogHandlerPSUpdateStages(handler)); in PetscLogHandlerStagePop_Perfstubs() [all …]
|
| /petsc/src/sys/logging/state/ |
| H A D | logregistry.c | 39 PetscLogStageArray stages; member 50 PetscCall(PetscLogStageArrayCreate(8, ®istry->stages)); in PetscLogRegistryCreate() 60 PetscCall(PetscLogStageArrayDestroy(®istry->stages)); in PetscLogRegistryDestroy() 75 PetscCall(PetscLogStageArrayGetSize(registry->stages, num_stages, max_stages)); in PetscLogRegistryGetNumStages() 92 PetscCall(PetscLogStageArrayFind(registry->stages, sname, &idx)); in PetscLogRegistryStageRegister() 94 *stage = registry->stages->num_entries; in PetscLogRegistryStageRegister() 96 PetscCall(PetscLogStageArrayPush(registry->stages, stage_info)); in PetscLogRegistryStageRegister() 139 PetscCall(PetscLogStageArrayFind(registry->stages, name, stage)); in PetscLogRegistryGetStageFromName() 175 PetscCall(PetscLogStageArrayGet(registry->stages, stage, stage_info)); in PetscLogRegistryStageGetInfo() 393 PetscCall(PetscLogStageArrayGetSize(registry->stages, &num_stages_local, NULL)); in PetscLogRegistryCreateGlobalStageNames()
|
| /petsc/include/ |
| H A D | petsclogtypes.h | 64 PetscLogStage - id used to identify user stages (phases, sections) of runs - for logging 85 …information about the events (`PetscLogEvent`) and stages (`PetscLogStage`) in the logging environ… 87 …updates about events (`PetscLogEventBegin()` / `PetscLogEventEnd()`), stages (`PetscLogStagePush()… 169 `PetscLogState` holds a registry of events (`PetscLogStateEventRegister()`), stages 172 stages (`PetscLogStateStageSetActive()`). It also keeps a stack of running stages
|
| /petsc/src/ts/impls/explicit/ssp/ |
| H A D | ssp.c | 96 …_SUP, "No support for optimal third order schemes with %" PetscInt_FMT " stages, must be a square … in TSSSPStep_RK_3() 251 - -ts_ssp_nstages<rks2: 5, rks3: 9> - Number of stages 290 TSSSPSetNumStages - set the number of stages to use with the `TSSSP` method. Must be called after 297 - nstages - number of stages 301 - -ts_ssp_nstages<rks2: 5, rks3: 9> - Number of stages 316 TSSSPGetNumStages - get the number of stages in the `TSSSP` time integration scheme 324 . nstages - number of stages 400 …PetscCall(PetscOptionsInt("-ts_ssp_nstages", "Number of stages", "TSSSPSetNumStages", ssp->nstages… in TSSetFromOptions_SSP() 438 …provides Runge-Kutta methods of order 2, 3, and 4 with maximal values of c_eff. More stages allows 440 …vectors regardless of the total number of stages, so e.g. 25-stage 3rd order methods may be an exc… [all …]
|
| /petsc/src/ksp/pc/impls/tfs/ |
| H A D | xxt.c | 27 PetscInt *nsep, *lnsep, *fo, nfo, *stages; member 129 free(xxt_handle->info->stages); in XXT_free() 186 PetscInt *col_sz, *col_indices, *stages; in xxt_generate() local 220 stages = (PetscInt *)malloc((level + 1) * sizeof(PetscInt)); in xxt_generate() 222 PetscCall(PCTFS_ivec_zero(stages, level + 1)); in xxt_generate() 225 stages[0] = segs[0]; in xxt_generate() 249 stages[dim++] = i; in xxt_generate() 252 stages[dim] = i; in xxt_generate() 298 PetscCall(PCTFS_ssgl_radd(uu, w, dim, stages)); in xxt_generate() 375 /* close off stages for execution phase */ in xxt_generate() [all …]
|
| H A D | xyt.c | 27 PetscInt *nsep, *lnsep, *fo, nfo, *stages; member 131 free(xyt_handle->info->stages); in XYT_free() 238 PetscInt *xcol_sz, *xcol_indices, *stages; in xyt_generate() local 289 stages = (PetscInt *)malloc((level + 1) * sizeof(PetscInt)); in xyt_generate() 291 PetscCall(PCTFS_ivec_zero(stages, level + 1)); in xyt_generate() 294 stages[0] = segs[0]; in xyt_generate() 318 stages[dim++] = i; in xyt_generate() 321 stages[dim] = i; in xyt_generate() 367 PetscCall(PCTFS_ssgl_radd(uu, w, dim, stages)); in xyt_generate() 482 /* close off stages for execution phase */ in xyt_generate() [all …]
|
| /petsc/src/ts/impls/implicit/glle/ |
| H A D | glle.h | 14 PetscInt r; /* number of items carried between stages */ 15 PetscInt s; /* number of stages */ 16 PetscScalar *c; /* location of the stages */ 60 /* Stages (Y,Ydot) are computed sequentially */
|
| /petsc/src/benchmarks/ |
| H A D | benchmarkExample.py | 127 setattr(m, 'Stages', {}) 134 if not stageName in m.Stages: m.Stages[stageName] = {} 135 if not eventName in m.Stages[stageName]: m.Stages[stageName][eventName] = {} 136 …m.Stages[stageName][eventName][rank] = {"time" : float(row["Time"]), "numMessages": float(row["Num… 141 if not "dof" in m.Stages[stageName][eventName][rank]: 142 m.Stages[stageName][eventName][rank]["dof"] = [] 143 m.Stages[stageName][eventName][rank]["error"] = [] 144 m.Stages[stageName][eventName][rank]["dof"].append(int(float(row[dname]))) 145 m.Stages[stageName][eventName][rank]["error"].append(float(row[ename])) 155 times.append(m.Stages[defaultStage]["summary"][0]["time"]) [all …]
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex1f.F90 | 57 PetscLogStage stages(2) 75 PetscCallA(PetscLogStageRegister('MatVec Assembly', stages(1), ierr)) 76 PetscCallA(PetscLogStageRegister('KSP Solve', stages(2), ierr)) 77 PetscCallA(PetscLogStagePush(stages(1), ierr)) 131 PetscCallA(PetscLogStagePush(stages(2), ierr))
|
| H A D | ex9.c | 4 structures throughout the process. Note the various stages of event logging.\n\n"; 35 PetscLogStage stages[3]; in main() local 47 Register various stages for profiling in main() 49 PetscCall(PetscLogStageRegister("Prelim setup", &stages[0])); in main() 50 PetscCall(PetscLogStageRegister("Linear System 1", &stages[1])); in main() 51 PetscCall(PetscLogStageRegister("Linear System 2", &stages[2])); in main() 63 PetscCall(PetscLogStagePush(stages[0])); in main() 163 PetscCall(PetscLogStagePush(stages[1])); in main() 271 PetscCall(PetscLogStagePush(stages[2])); in main()
|
| H A D | ex5.c | 4 also uses multiple profiling stages. Input arguments are\n\ 30 PetscLogStage stages[2]; in main() local 48 Register two stages for separate profiling of the two linear solves. in main() 52 PetscCall(PetscLogStageRegister("Original Solve", &stages[0])); in main() 53 PetscCall(PetscLogStageRegister("Second Solve", &stages[1])); in main() 59 PetscCall(PetscLogStagePush(stages[0])); in main() 229 PetscCall(PetscLogStagePush(stages[1])); in main()
|
| H A D | ex5f.F90 | 4 !also uses multiple profiling stages. Input arguments are 29 PetscLogStage, dimension(0:1) :: stages 46 ! Register two stages for separate profiling of the two linear solves. 50 PetscCallA(PetscLogStageRegister('Original Solve', stages(0), ierr)) 51 PetscCallA(PetscLogStageRegister('Second Solve', stages(1), ierr)) 56 PetscCallA(PetscLogStagePush(stages(0), ierr)) 221 PetscCallA(PetscLogStagePush(stages(1), ierr))
|
| /petsc/src/ts/impls/implicit/irk/ |
| H A D | irk.c | 30 PetscInt nstages; /* Number of stages */ 54 . nstages - number of stages, this is the dimension of the matrices below 601 /* Create the KAIJ matrix for solving the stages */ in TSSetUp_IRK() 618 …PetscCall(PetscOptionsInt("-ts_irk_nstages", "Stages of the IRK method", "TSIRKSetNumStages", irk-… in TSSetFromOptions_IRK() 716 TSIRKSetNumStages - Set the number of stages of `TSIRK` scheme to use 722 - nstages - number of stages of `TSIRK` scheme 725 . -ts_irk_nstages <int> - set number of stages 740 TSIRKGetNumStages - Get the number of stages of `TSIRK` scheme 746 - nstages - number of stages of `TSIRK` scheme 831 …orted. These are A-stable symplectic methods with an arbitrary number of stages. The order of accu… [all …]
|