Linux-Ubuntu open-mpi运行错误
原文地址:https://www.jianshu.com/p/fe9649f9596e?utm_campaign=maleskine&utm_content=note&utm_medium=seo_notes&utm_source=recommendation
我在win10Linux子系统下使用mpirun多线程运行ABySS基因组拼接软件的时候,出现以下错误提示:
Linux kernel CMA support was requested via the btl_vader_single_copy_mechanism MCA variable, but CMA support is not available due to restrictive ptrace settings.
[liaochenlanruo:49950] 4 more processes have sent help message help-mpi-btl-openib-cpc-base.txt / ibv_create_qp failed
[liaochenlanruo:49950] Set MCA parameter "orte_base_help_aggregate" to 0 to see all help / error messages
结果就是无法运行多线程,跑了一夜的程序没有任何动静,似乎是卡死了。Google到的解决方案:
root用户,终端运行如下命令:
# echo 0 > /proc/sys/kernel/yama/ptrace_scope
"ptrace_scope"文件中原来的值为“1”,改成“0”就可以了。
作者:了尘兰若
链接:https://www.jianshu.com/p/fe9649f9596e
来源:简书
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

浙公网安备 33010602011771号