26 Apr
2016
26 Apr
'16
6:19 p.m.
Thanks again Lawrence, that is very helpful. I will probably set OMP_NUM_THREADS to 1 all the time on ubuntu, just to be safe, as you recommend.l In case you're curious, the job that I ran in serial (but lots of threads running around in circles) took 4.5 hours. When I ran it on 16 cores it took about 0.5 hours. When I used all the cores it didn't make much of a difference whether I set the number of threads or not. I suppose that's because there were no spare cores to waste. I suspect if I ran it on 8 cores it might take the same amount of time since the grid is pretty course but I'm very happy to know that the parallelization can give me an order of magnitude of improvement on my desktop. Thank you firedrakers! Francis