MPI - work/pool example

我的未来我决定 提交于 2020-01-11 07:14:47

问题


is there any example of using work/pool (or. Producer/Consumer) scheme for MPI? As for everything I have done, I am getting just one going through application and my app is deadlocked then.

Thanks


回答1:


Just googling around for "MPI Master Worker" or "MPI Master Slave", I see a bunch of examples; one good one hosted at Argonne National Labs is:

  • http://www.mcs.anl.gov/research/projects/mpi/tutorial/mpiexmpl/src2/io/C/main.html


来源:https://stackoverflow.com/questions/5415074/mpi-work-pool-example

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!