<div>Hi,</div>
<div> </div>
<div>I&#39;m just trying to get a mpi hello world program up and running and can&#39;t seem to get it to build properly.  I&#39;m on windows7 using VS2008.</div>
<div> </div>
<div>I get this error:</div>
<div>    1&gt;myprog.obj : error LNK2019: unresolved external symbol _MPI_Finalize referenced in function _main<br>    1&gt;myprog.obj : error LNK2019: unresolved external symbol _MPI_Comm_size referenced in function _main<br>
    1&gt;myprog.obj : error LNK2019: unresolved external symbol _MPI_Comm_rank referenced in function _main<br>    1&gt;myprog.obj : error LNK2019: unresolved external symbol _MPI_Init referenced in function _main<br>    1&gt;E:\Visual Studio 2008\Projects\myprog\Debug\myprog.exe : fatal error LNK1120: 4 unresolved externals</div>

<div> </div>
<div>I&#39;ve seen many posts with similar problems but unfortunately I haven&#39;t been able to solve the issue on my own.  It looks like it&#39;s not seeing where my compiled mpi libs are but I have specified the MPICH2 libraries as &quot;Additional dependencies&quot; for the linker (set the path of MPICH2 libraries in &quot;Additional library directories&quot; and added mpi.lib as &quot;Additional dependencies&quot;).  I have tried compiling with both VC++ and IntelC++, both of which have the directories for the include files and library files set under tools-&gt;options as well.</div>

<div><br>Not sure what else to try.  Any help is greatly appreciated.</div>
<div><br>Thanks,</div>
<div> </div>
<div>Ryan</div>