Sei sulla pagina 1di 1

CPU Time for Serial/Parallel Solver

ƒ For parallel run, one can use the built-in parallel timer via the GUI:

Parallel „ Timer „ Reset Before iterating


Parallel „ Timer „ Usage After completing iterations

ƒ For serial run, you can use the following TUI command that is executed before and
after the iteration period of interest:
(solver-cpu-time)
• The difference is the elapsed CPU time in seconds for the iteration period
completed
• If used in the parallel session, the difference represents the sum of the CPU
times of all the compute nodes

ƒ An alternative is to use:
(benchmark ‘(iterate Niter))
• Niter is the desired number of iteration
• Gives the solver time, cortex time, and elapsed
time
• Can be used in serial or parallel session
• If used in parallel session, the solver time is the
sum from all compute nodes

74 / 75

Potrebbero piacerti anche