|
[Sponsors] |
what is Execution(/CPU) time when running parallel jobs? |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 4, 2016, 16:41 |
what is Execution(/CPU) time when running parallel jobs?
|
#1 |
New Member
Malthe V. Eisum
Join Date: Nov 2015
Location: Nibe, Denmark
Posts: 5
Rep Power: 10 |
I'm doing DNS simulations of a turbulent wave boundary layer, using a slightly modified version of pimpleFOAM (a body force is added to drive the flow).
To estimate the optimal number of processors I want to do a small study of the execution time with increasing no. of processors. I have therefore two questions: 1) The listed execution time is the accumulative time eg. from code example: Code:
ExecutionTime = 1.31 s Code:
1.31-1.24=0.07 s 2) Is the listed execution time an estimate for one processor or a sum of all eg. (for 8 processors) the sum of CPU time is eather Code:
1.31*8 Code:
1.31/8 Code:
Starting time loop Courant Number mean: 0 max: 0 velocity magnitude: 0 deltaT = 0.00107403 Time = 0.00107403 dU0dt = dU0dt [0 1 -2 0 0 0 0] (3.51258e-06 0 0) DILUPBiCG: Solving for Ux, Initial residual = 1, Final residual = 0.0074636, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 0, Final residual = 0, No Iterations 0 GAMG: Solving for p, Initial residual = 3.27377e-09, Final residual = 3.27377e-09, No Iterations 0 time step continuity errors : sum local = 1.65251e-28, global = 3.78285e-29, cumulative = 3.78285e-29 GAMG: Solving for p, Initial residual = 3.15544e-09, Final residual = 3.15544e-09, No Iterations 0 time step continuity errors : sum local = 1.59278e-28, global = 4.38014e-29, cumulative = 8.16298e-29 dU0dt = dU0dt [0 1 -2 0 0 0 0] (3.51258e-06 0 0) DILUPBiCG: Solving for Ux, Initial residual = 0.086718, Final residual = 1.17036e-10, No Iterations 2 DILUPBiCG: Solving for Uy, Initial residual = 7.4425e-11, Final residual = 7.4425e-11, No Iterations 0 GAMG: Solving for p, Initial residual = 3.48381e-09, Final residual = 3.48381e-09, No Iterations 0 time step continuity errors : sum local = 1.75853e-28, global = 4.38014e-29, cumulative = 1.25431e-28 GAMG: Solving for p, Initial residual = 3.59952e-09, Final residual = 3.59952e-09, No Iterations 0 time step continuity errors : sum local = 1.81694e-28, global = 5.37562e-29, cumulative = 1.79187e-28 ExecutionTime = 1.24 s ClockTime = 1 s Courant Number mean: 2.75088e-29 max: 8.27559e-12 velocity magnitude: 4.59998e-10 deltaT = 0.0012803 Time = 0.00235434 dU0dt = dU0dt [0 1 -2 0 0 0 0] (3.52066e-06 0 0) DILUPBiCG: Solving for Ux, Initial residual = 0.999568, Final residual = 0.00876511, No Iterations 1 DILUPBiCG: Solving for Uy, Initial residual = 9.62229e-11, Final residual = 9.62229e-11, No Iterations 0 GAMG: Solving for p, Initial residual = 2.84384e-08, Final residual = 2.84384e-08, No Iterations 0 time step continuity errors : sum local = 1.71118e-27, global = 1.55691e-27, cumulative = 1.7361e-27 GAMG: Solving for p, Initial residual = 3.60149e-08, Final residual = 3.60149e-08, No Iterations 0 time step continuity errors : sum local = 2.16706e-27, global = 1.8607e-27, cumulative = 3.5968e-27 dU0dt = dU0dt [0 1 -2 0 0 0 0] (3.52066e-06 0 0) DILUPBiCG: Solving for Ux, Initial residual = 0.0487339, Final residual = 1.07318e-10, No Iterations 2 DILUPBiCG: Solving for Uy, Initial residual = 1.39588e-10, Final residual = 1.39588e-10, No Iterations 0 GAMG: Solving for p, Initial residual = 3.72728e-08, Final residual = 3.72728e-08, No Iterations 0 time step continuity errors : sum local = 2.24275e-27, global = 1.8607e-27, cumulative = 5.4575e-27 GAMG: Solving for p, Initial residual = 3.09594e-08, Final residual = 3.09594e-08, No Iterations 0 time step continuity errors : sum local = 1.86287e-27, global = 1.70881e-27, cumulative = 7.16631e-27 ExecutionTime = 1.31 s ClockTime = 1 s
__________________
Malthe Eisum |
|
May 11, 2016, 03:05 |
|
#2 |
Member
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 12 |
Hi,
clock time is written out in full seconds, when you look it up for larger times you will see that it is always larger than the execution time. Execution time is the time from the beginning of the simulation until the last processor finished its calculation. Both times don't differ much from another. |
|
Tags |
cpu time, parallel code |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
AMI speed performance | danny123 | OpenFOAM | 21 | October 24, 2020 05:13 |
Extrusion with OpenFoam problem No. Iterations 0 | Lord Kelvin | OpenFOAM Running, Solving & CFD | 8 | March 28, 2016 12:08 |
Micro Scale Pore, icoFoam | gooya_kabir | OpenFOAM Running, Solving & CFD | 2 | November 2, 2013 14:58 |
Differences between serial and parallel runs | carsten | OpenFOAM Bugs | 11 | September 12, 2008 12:16 |
running multiple Fluent parallel jobs | Michael Bo Hansen | FLUENT | 8 | June 7, 2006 09:52 |