Hello all, Attached herewith are two chapel programs finding the value of Pi using summation. One is a parallel version using reduce and the other, the serial version. The time for execution on a 3.3 GHz Quad core Intel i3 processor is found to be 118 seconds for serial version and 186 seconds for parallel version!! That means, Parallel version takes more time!!!.
If the --fast flag is used, the speed for parallel version reduces considerably to just 16 seconds. 1. Why is the unoptimized version so slow? 2.The OpenMP versions take only 36 seconds and 13 seconds respectively. I use Chapel 1.9.0 Please help.
piparallelreduce.chpl
Description: Binary data
piserial.chpl
Description: Binary data
------------------------------------------------------------------------------
_______________________________________________ Chapel-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/chapel-users
