开发平台(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):
照着教学流程汇入函式库
不知道到底是少了哪一块未做完整
再请高手解惑了,谢谢!