<div dir="ltr">Hi rebecca, <br>I was using vs 2005 and vs 2008. But since there are some inconsistencies between VS compilers and Linux based compilers, I am not using VS for programming. <br>I wanna suggest you if you are going to use clusters which use Linux OP just move to Netbeans or Eclipse IDEs and compile your code with GNU or Intel compileres. <br>
Anyway, as I see you are in correct tab but please have a look in Input,System and Advanced section too. It should be somewhere there. <br>Additional libraries directory should be set to MPI->LIB directory. But still you need to link mpichxx and mpich to your code. <br>
<br>Please don't hesitate to ask question.<br><br>Sincerely,<br><br>Reza<br><br><div class="gmail_quote">On Mon, Aug 4, 2008 at 9:18 AM, Rebecca <span dir="ltr"><<a href="mailto:rebeccakern@sbcglobal.net">rebeccakern@sbcglobal.net</a>></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="blue" lang="EN-US">
<div>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;">Thank you for responding Reza! I am
having trouble seeing the additional dependencies in VS .NET 2003. What
version of VS do you use?</span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"><img src="cid:image001.jpg@01C8F59D.B81873E0" height="438" width="646"></span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<p><font color="navy" face="Arial" size="2"><span style="font-size: 10pt; font-family: Arial; color: navy;"> </span></font></p>
<div>
<div style="text-align: center;" align="center"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">
<hr align="center" size="2" width="100%">
</span></font></div>
<p><b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma; font-weight: bold;">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size: 10pt; font-family: Tahoma;"> <a href="mailto:owner-mpich-discuss@mcs.anl.gov" target="_blank">owner-mpich-discuss@mcs.anl.gov</a> [mailto:<a href="mailto:owner-mpich-discuss@mcs.anl.gov" target="_blank">owner-mpich-discuss@mcs.anl.gov</a>] <b><span style="font-weight: bold;">On Behalf Of </span></b>Gholamreza Sobhaninejad<br>
<b><span style="font-weight: bold;">Sent:</span></b> Saturday, August 02, 2008
9:18 PM<br>
<b><span style="font-weight: bold;">To:</span></b> <a href="mailto:mpich-discuss@mcs.anl.gov" target="_blank">mpich-discuss@mcs.anl.gov</a><br>
<b><span style="font-weight: bold;">Subject:</span></b> Re: [mpich-discuss] C++
for Visual studio code</span></font></p>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"> </span></font></p>
<div>
<p style="margin-bottom: 12pt;"><font face="Times New Roman" size="3"><span style="font-size: 12pt;">Hi Rebecca,<br>
<br>
When you use MPICH with C++ , you need to link "mpicxx" and
"mpich" libraries. you can determine this two file in project
properties/ Linker/Additional Dependencies.<br>
<br>
Reza</span></font></p>
<div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;">On Sun, Aug 3, 2008 at 8:13 AM, Rebecca <<a href="mailto:rebeccakern@sbcglobal.net" target="_blank">rebeccakern@sbcglobal.net</a>>
wrote:</span></font></p>
<div link="blue" vlink="purple">
<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.
I am getting an unresolved external symbol for MPI::Init() and if I try to use
MPI_Init() the code ends unexpectedly. I am able to use MPI_Init() in c
without any problem. Does anyone have sample code I could see with C++?</span></font></p>
</div>
</div>
</div>
<p><font face="Times New Roman" size="3"><span style="font-size: 12pt;"><br><font color="#888888">
<br clear="all">
<br>
-- <br>
Gholamreza Sobhaninejad(Reza)<br>
PhD candidate, University
of Tokyo<br>
Earthquake Research Institute<br>
Tel: 090-9807-2477</font></span></font></p>
</div>
</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>