尝试发送大数据时,mpi4py挂起 [英] mpi4py hangs when trying to send large data

查看:101
本文介绍了尝试发送大数据时,mpi4py挂起的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近遇到了一个问题,该问题试图使用mpi4py-library中的命令发送"在多个处理器之间共享大数据.甚至1000x3的numpy浮点数组也太大而无法发送.有什么想法可以解决这个问题吗?

i've recently encountered a problem trying to share large data among several processors using the command 'send' from the mpi4py-library. Even a 1000x3 numpy float array is too large to be sent. Any ideas how to overcome this problem?

thx提前.

推荐答案

我找到了一个简单的解决方案.将数据分成足够小的块...

I've found a simple solution. Divide data into small enough chunks...

这篇关于尝试发送大数据时,mpi4py挂起的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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