August 8th, 2012, 2:45 pm
Got to it. Apart from having to manually unzip an boost file, all compiled and ran well.For the -S option, 0.1 is apparently too small for my machine and the reported time was quite a bit higher (0.28 secs). But trying -S n for n=1,2,..,5 worked ok with the reported time just slightly over n secs.Clearly example 1 will have machine-dependent results.I am not sure if example 2 results are supposed to be machine independent or not.Here are my results for that one: parallel_monte_carlo -T 8 -J 16 -Vjob 1 finished by thread 1 result = 0.246723job 2 finished by thread 3 result = 0.239763job 3 finished by thread 2 result = 0.23102job 4 finished by thread 0 result = 0.242088job 5 finished by thread 7 result = 0.249677job 6 finished by thread 4 result = 0.243666job 7 finished by thread 5 result = 0.264276job 8 finished by thread 6 result = 0.229672job 9 finished by thread 1 result = 0.248875job 10 finished by thread 0 result = 0.227201job 11 finished by thread 3 result = 0.248969job 12 finished by thread 2 result = 0.249528job 13 finished by thread 7 result = 0.233896job 14 finished by thread 5 result = 0.249619job 15 finished by thread 6 result = 0.237287job 16 finished by thread 4 result = 0.240146result=0.24265 err=0.00239089 threads=8 jobs=16 samples=32000 seconds=2.28125
Last edited by
Alan on August 7th, 2012, 10:00 pm, edited 1 time in total.