[問題] exit code 0xc0000005
編譯工具為 Visual Studio 2008 C++
OS環境為 Windows HPC Server 2008
library :MS-MPI
編譯一個 MPIcode 之後 去實跑後 出現錯誤訊息:
job aborted:
[ranks] message
[0-8] terminated
[9] process exited without calling finalize
[10-15] terminated
---- error analysis -----
[9] on SERVER3
mpitree.exe ended prematurely and may have crashed. exit code 0xc0000005
---- error analysis -----
這程式中斷都是在我執行完第一次for迴圈後就發生了
請問這是怎麼回事!? 有高手知道嗎?
其在某討論版提出這問題後 他人回應為:
means access violation. check mpi code for memory/stack/heap access issues.
make sure any array access has valid index.
請問 stack / heap 分別為指甚麼!? 恩 英文照翻 頗怪的 = = "
附上我的code :
http://www.xun6.com/file/413310d48/code.rar.html
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 203.64.185.202
※ 編輯: dick1024 來自: 203.64.185.202 (04/28 14:34)
※ 編輯: dick1024 來自: 203.64.185.202 (04/28 14:38)
※ 編輯: dick1024 來自: 203.64.185.202 (04/28 14:38)
→
04/28 16:25, , 1F
04/28 16:25, 1F
→
04/28 16:25, , 2F
04/28 16:25, 2F
→
04/28 16:25, , 3F
04/28 16:25, 3F
→
04/28 18:07, , 4F
04/28 18:07, 4F
→
04/28 18:08, , 5F
04/28 18:08, 5F
→
04/28 20:16, , 6F
04/28 20:16, 6F
推
04/29 13:41, , 7F
04/29 13:41, 7F
→
04/29 13:42, , 8F
04/29 13:42, 8F
C_and_CPP 近期熱門文章
PTT數位生活區 即時熱門文章