
June 25, 2015
1:05 a.m.
On Wed, Jun 24, 2015 at 5:45 PM, Sturla Molden <sturla.molden@gmail.com> wrote:
On 25/06/15 02:09, Devin Jeanpierre wrote:
Although, threads are better for memory usage, by defaulting to sharing even on write. (Good for memory, maybe not so good for bug-freedom...)
I am not sure. Code written to use OpenMP tend to have less bugs than code written to use MPI. This suggests that shared memory is easier than message-passing, which is contrary to the common belief.
OpenMP is an *extremely* structured and constrained subset of shared memory multithreading, and not at all comparable to pthreads/threading.py/whatever. -n -- Nathaniel J. Smith -- http://vorpus.org