CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Post-Processing

what is Execution(/CPU) time when running parallel jobs?

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 4, 2016, 15:41
Default 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
Malthe Eisum is on a distinguished road
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
at the second time step indicates that from the start of time loop to the end of the second time step there have elapsed 1.31 s CPU time. Also meaning that from time step one to two
Code:
1.31-1.24=0.07 s
CPU time elapsed.

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
or
Code:
1.31/8
since CPU time is close to clock time I would consider that the first case is more likely. But I would like to be confirmed.

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
Malthe Eisum is offline   Reply With Quote

Old   May 11, 2016, 02:05
Default
  #2
Member
 
Join Date: Sep 2014
Location: Germany
Posts: 88
Rep Power: 11
TobM is on a distinguished road
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.
TobM is offline   Reply With Quote

Reply

Tags
cpu time, parallel code


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
AMI speed performance danny123 OpenFOAM 21 October 24, 2020 04:13
Extrusion with OpenFoam problem No. Iterations 0 Lord Kelvin OpenFOAM Running, Solving & CFD 8 March 28, 2016 11:08
Micro Scale Pore, icoFoam gooya_kabir OpenFOAM Running, Solving & CFD 2 November 2, 2013 13:58
Differences between serial and parallel runs carsten OpenFOAM Bugs 11 September 12, 2008 11:16
running multiple Fluent parallel jobs Michael Bo Hansen FLUENT 8 June 7, 2006 08:52


All times are GMT -4. The time now is 07:46.