0
我在寫一個mpi的C++包裝器。MPI_Send錯誤
我會見了MPI一個奇怪的錯誤:在我的情況下,錯誤只出現在消息足夠大,在運行時錯誤如下:
Fatal error in MPI_Send: Other MPI error, error stack:
MPI_Send(173)...........................: MPI_Send(buf=0x7fffbd3db7f8, count=1, MPI_DOUBLE, dest=1, tag=2014, comm=0x84000004) failed
PIDI_CH3I_Progress(461)................:
MPID_nem_handle_pkt(636)................:
MPIDI_CH3_PktHandler_EagerShortSend(308): Failed to allocate memory for an unexpected message. 261895 unexpected messages queued.
我只用MPI_SEND(不帶請求MPI_Isend )以及這個錯誤怎麼會發生(死鎖會觸發這個)?
您正在使用哪種MPI實現? – zimbra314
@ zimbra314 MPICH2 – xunzhang