我在 win10 Linux 子系统下使用 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”就可以了。**