免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1869 | 回复: 4
打印 上一主题 下一主题

[故障求助] 请教并行计算问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-03-18 12:19 |只看该作者 |倒序浏览
最近利用并行计算环境运行程序,出现这样的错误:
ERROR: 0032-113 Out of memory in MPI_Cart_shift, task 0
单线程计算时:
ERROR: 0031-250  task 0: Segmentation fault

我还是希望实现并行计算,对于错误说明也不是很理解,这种情况下应该怎么办啊?我已经在ulimit中设置memory为unlimitted了。

迫切希望有热心朋友为我答疑解惑,多谢大家!

附手册中的错误说明:
0032-113的说明:
Explanation
There is insufficient memory available to continue.

User response
Reduce the size of user storage required per task.

Error Class: MPI_ERR_INTERN

0032-250的说明:
Non-blocking collective (MPE_I) operations attempted in single threaded environment, in string, task number.

Explanation
Nonblocking collective (MPE_I) operations can only be performed if the MPI environment is multithreaded.

User response
Make sure that the MP_SINGLE_THREAD environment variable is not set, or is set to NO.

Error Class: MPI_ERR_OTHER

论坛徽章:
0
2 [报告]
发表于 2009-03-18 12:34 |只看该作者
ulimit -a

论坛徽章:
0
3 [报告]
发表于 2009-03-18 13:37 |只看该作者
谢谢fck,执行ulimit -a,显示:(网管设置的)
time(seconds)        unlimited
file(blocks)         unlimited
data(kbytes)         unlimited
stack(kbytes)        4194304
memory(kbytes)       unlimited
coredump(blocks)     unlimited
nofiles(descriptors) 2000

应该怎么设置合理呢?

论坛徽章:
0
4 [报告]
发表于 2009-03-19 00:02 |只看该作者
都改成unlimited

论坛徽章:
0
5 [报告]
发表于 2009-03-19 08:21 |只看该作者
谢谢。可是我现在已经都改成unlimited了,还是不行。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP