Next:
Parallel Programming
Up:
GpHLab
Previous:
Executing GpH on a
Profiling and Tuning a Parallel Program
To view the trace of your program using threadscope, use a window on your home machine (not
lxpara3
)
/u1/pg/pt114/.cabal/bin/threadscope parfib.eventlog
Now measure the execution time of the program on 1, 2, 4 and 7 cores, e.g.
./parfib 40 +RTS -N1 -sstderr -ls
What do you conclude from your results?
Phil Trinder 2013-02-08