Dear all


I wrote a code using deal.II. Now, I want to compare effect of the number 
of cores on the simulation time. The code is developed based on step-42 
from deal.II tutorial. 

The code is executed in Ubuntu 14.04, Intel core i5 and 4GB ram as,

mpirun –n <number of cores> ./code parameter_file.prm 

The obtained results for 1, 2 and 4 cores is,

Number of cores | Total wall clock time 

            1          |           1.22s

            2          |           0.90s

            4          |           0.93s

Why the wall clock time for 4 cores is greater than the one obtained with 2 

I also executed step-42 (Just 2 cycles)  and the same pattern is observed,

Number of cores | Total wall clock time 

            1          |           4.73s

            2          |           4.13s

            4          |           5.89s




The deal.II project is located at
For mailing list/forum options, see
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
For more options, visit

Reply via email to