我在调试MPI应用程序时遇到问题
lldb
. 本质上,我通过
mpirun_lldb() {
mpirun --mca orte_base_help_aggregate 0 --mca mpi_abort_print_stack 1 -np $1 xterm -hold -e lldb -f $2 -- "${@:3}"
}
但在某个时候
MPI_Abort
发生的一切
xterm
MPI_ABORT was invoked on rank 2 in communicator MPI_COMM_WORLD
with errorcode 255.
NOTE: invoking MPI_ABORT causes Open MPI to kill all MPI processes.
You may or may not see output from other processes, depending on
exactly when Open MPI kills them.
我试过使用
-hold
对于
xterm公司
但这并没有帮助。
p、 我没有访问TotalView这样的授权调试器的权限。这是我第一次对上述简单方法有问题。