3 ms·
According to this logic MPI for Shared Memory will be easier to understand than OpenMP for clusters.
by nivertech 16y ago
According to this logic MPI for Shared Memory will be easier to understand than OpenMP for clusters.
- scott_s 16y agoYou'll have to explain that, I don't follow. I haven't brought up OpenMP since we're both in agreement it's easier to develop for than MPI. My point, in case it is not clear: having to explicitly send and receive data and achieve scalability is inherently more difficult than relying on shared memory. Getting a working program may not be difficult relying only on message passing. But getting a working program that scales requires a deep understanding of the data needs of your algorithms. Of course, message passing programs have the potential for higher performance because they're not limited to a single node. But realizing that potential is harder. And I'm not including debugging, where I agree that shared memory is rife with problems.