<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for the suggestion but I still get the same five errors which
are:<br>
<br>
1>Linking...<br>
1>main.obj : error LNK2019: unresolved external symbol
_MPI_Finalize referenced in function _main<br>
1>main.obj : error LNK2019: unresolved external symbol
_MPI_Comm_rank referenced in function _main<br>
1>main.obj : error LNK2019: unresolved external symbol
_MPI_Comm_size referenced in function _main<br>
1>main.obj : error LNK2019: unresolved external symbol _MPI_Init
referenced in function _main<br>
1>Y:\ModelCenter_LinkingCodes\zonair_mpi\Debug\zonair_mpi.exe :
fatal error LNK1120: 4 unresolved externals<br>
<br>
<br>
On 7/25/2012 4:42 PM, Scott Hill wrote:<br>
<blockquote
cite="mid:7E590BDF115EFD4A9F9CD04CA80F730E5479B969@mb02.aggies.usu.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
Try adding cxx.lib in the Additional Dependencies where you added
mpi.lib.
<div><br>
</div>
<div><br>
<div>
<div>On Jul 25, 2012, at 12:43 PM, Darcy Allison wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite"><span class="Apple-style-span"
style="border-collapse: separate; font-family: Helvetica;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-border-horizontal-spacing: 0px;
-webkit-border-vertical-spacing: 0px;
-webkit-text-decorations-in-effect: none;
-webkit-text-size-adjust: auto; -webkit-text-stroke-width:
0px; font-size: medium; ">Finally, I go to
Project->Properties->Configuration
Properties->Linker->Input->Additional
Dependencies. I then put mpi.lib into the box.</span></blockquote>
</div>
<br>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
mpich-discuss mailing list <a class="moz-txt-link-abbreviated" href="mailto:mpich-discuss@mcs.anl.gov">mpich-discuss@mcs.anl.gov</a>
To manage subscription options or unsubscribe:
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss">https://lists.mcs.anl.gov/mailman/listinfo/mpich-discuss</a>
</pre>
</blockquote>
<br>
</body>
</html>