C中的MPI_THREAD_MULTIPLE问题 [英] MPI_THREAD_MULTIPLE issues in C

查看:388
本文介绍了C中的MPI_THREAD_MULTIPLE问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有人曾在线程密集型应用程序中使用MPI_THREAD_MULTIPLE?我的所有应用程序都挂起,发现这个MPI功能只是经过了轻微测试,并不适用于所有情况。有没有人有解决方法?



我已经实现了一个简单的例子,MPI在这里失败了: Dropbox - manual.c [ ^ ]



我尝试过:



我需要MPI可用于所有节点上的所有线程,因此没有其他MPI替代MPI_THREAD_MULTIPLE。

解决方案

只需按照此处说明的方式尝试其他选项: http:// mpi-forum .ORG /文档/ MPI-2.0 / MPI-20-HTML / node165.htm

Has anyone ever used MPI_THREAD_MULTIPLE with thread intensive applications? All my applications hang and found that this MPI feature was only lightly tested and doesn't work in all cases. Does anyone have a workaround?

I have implemented a simple example where MPI fails here: Dropbox - manual.c[^]

What I have tried:

I need MPI available to all threads on all nodes, so there isn't really another MPI alternative to MPI_THREAD_MULTIPLE.

解决方案

Just try another options the way it was explained here: http://mpi-forum.org/docs/mpi-2.0/mpi-20-html/node165.htm


这篇关于C中的MPI_THREAD_MULTIPLE问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆