開發平台(Platform): (Ex: VC++, GCC, Linux, ...)
Visual C++ 2010
額外使用到的函數庫(Library Used): (Ex: OpenGL, ...)
MS-MPI
問題(Question):
程式無法順利編譯並執行
餵入的資料(Input):
預期的正確結果(Expected Output):
請洽程式碼網頁
錯誤結果(Wrong Output):
Error 1 error LNK2019: unresolved external symbol _MPI_Finalize@0 referenced in function _main C:\Users\tdv\Desktop\MPIHelloWorld\MPIHelloWorld\MPIHelloWorld.obj MPIHelloWorld
Error 2 error LNK2019: unresolved external symbol _MPI_Recv@28 referenced in function _main C:\Users\tdv\Desktop\MPIHelloWorld\MPIHelloWorld\MPIHelloWorld.obj MPIHelloWorld
Error 3 error LNK2019: unresolved external symbol _MPI_Send@24 referenced in function _main C:\Users\tdv\Desktop\MPIHelloWorld\MPIHelloWorld\MPIHelloWorld.obj MPIHelloWorld
Error 4 error LNK2019: unresolved external symbol _MPI_Comm_rank@8 referenced in function _main C:\Users\tdv\Desktop\MPIHelloWorld\MPIHelloWorld\MPIHelloWorld.obj MPIHelloWorld
Error 5 error LNK2019: unresolved external symbol _MPI_Init@8 referenced in function _main C:\Users\tdv\Desktop\MPIHelloWorld\MPIHelloWorld\MPIHelloWorld.obj MPIHelloWorld
Error 6 error LNK1120: 5 unresolved externals C:\Users\tdv\Desktop\MPIHelloWorld\Debug\MPIHelloWorld.exe 1 1 MPIHelloWorld
程式碼(Code):(請善用置底文網頁, 記得排版)
http://blogs.technet.com/b/windowshpc/archive/2015/02/02/how-to-compile-and-run-a-simple-ms-mpi-program.aspx
補充說明(Supplement):
照著教學流程匯入函式庫
不知道到底是少了哪一塊未做完整
再請高手解惑了,謝謝!