<div dir="ltr">Hi Rebecca,<br><br>When you use MPICH with C++ , you need to link &quot;mpicxx&quot; and &quot;mpich&quot; libraries. you can determine this two file in project properties/ Linker/Additional Dependencies.<br>
<br>Reza<br><br><div class="gmail_quote">On Sun, Aug 3, 2008 at 8:13 AM, Rebecca <span dir="ltr">&lt;<a href="mailto:rebeccakern@sbcglobal.net">rebeccakern@sbcglobal.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="EN-US">

<div>

<p><font face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial;">I am having trouble accessing the MPI.h library from C++ in Visual
Studio.&nbsp; I am getting an unresolved external symbol for MPI::Init() and if
I try to use MPI_Init() the code ends unexpectedly.&nbsp; I am able to use
MPI_Init() in c without any problem.&nbsp; Does anyone have sample code I could
see with C++?</span></font></p>

</div>

</div>


</blockquote></div><br><br clear="all"><br>-- <br>Gholamreza Sobhaninejad(Reza)<br>PhD candidate, University of Tokyo<br>Earthquake Research Institute<br>Tel: 090-9807-2477<br>
</div>