gpt4 book ai didi

c - MPI 运行错误 "caused collective abort of all ranks"

转载 作者:太空宇宙 更新时间:2023-11-03 23:53:29 25 4
gpt4 key购买 nike

我正在尝试在 C 中使用 MPI 编写并行程序。但是,当我运行我的程序时,我收到该消息并且我的程序被终止。我不知道那个错误消息的原因

WARNING: Unable to read mpd.hosts or list of hosts isn't provided. MPI job will be run on the current machine only.

Solution is starting

rank 7 in job 1 server_name_60409 caused collective abort of all ranks exit status of rank 7: return code 0

rank 6 in job 1 server_name_60409 caused collective abort of all ranks exit status of rank 6: return code 0

rank 4 in job 1 server_name_60409 caused collective abort of all ranks exit status of rank 4: killed by signal 9

rank 3 in job 1 server_name_60409 caused collective abort of all ranks exit status of rank 3: killed by signal 9

rank 2 in job 1 server_name_60409 caused collective abort of all ranks exit status of rank 2: return code 0

rank 0 in job 1 server_name_60409 caused collective abort of all ranks exit status of rank 0: return code 0

最佳答案

我的程序因类似的通信而中止:

rank 3 in job 58409  vnode-01_39157   caused collective abort of all ranks
exit status of rank 3: killed by signal 9
rank 1 in job 58409 vnode-01_39157 caused collective abort of all ranks
exit status of rank 1: killed by signal 11

由于分配了过多的堆栈内存。
切换到堆有帮助。

关于c - MPI 运行错误 "caused collective abort of all ranks",我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14061927/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com