0
lldb
のMPIアプリケーションのデバッグに問題があります。基本的に、私はMPIアプリケーションのデバッグ中にxtermが閉じられています
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
を使ってみましたが、これは役に立たないです。
p.s.私はTotalViewのようなライセンスされたデバッガにアクセスすることはできません。私が上記の簡単な方法に問題があるのは初めてです。