That code requires a function from the MPI but can&#39;t find it.<div><br></div><div>Try either turning off PARAVIEW_USE_MPI, or setting MPI_LIBRARY and MPI_EXTRA_LIBRARY to point to your machine&#39;s libmpi and libmpicxx libraries.</div>

<div><div><br></div><div>David E DeMarle<br>Kitware, Inc.<br>R&amp;D Engineer<br>21 Corporate Drive<br>Clifton Park, NY 12065-8662<br>Phone: 518-881-4909<br>
<br><br><div class="gmail_quote">On Fri, Dec 30, 2011 at 5:33 PM, Mingcheng Chen <span dir="ltr">&lt;<a href="mailto:linyufly@gmail.com">linyufly@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi all,<div><br></div><div>My current error is about VPIC project.</div><div><br></div><div>The error is as follows.</div><div><br></div><div><div>Error<span style="white-space:pre-wrap">        </span>7<span style="white-space:pre-wrap">        </span>error LNK2019: unresolved external symbol MPI_Barrier referenced in function &quot;public: void __cdecl GridExchange::exchange(int,int,float *)&quot; (?exchange@GridExchange@@QEAAXHHPEAM@Z)<span style="white-space:pre-wrap">        </span>D:\LCSWorkSpace\ParaViewTest\bin\VTK\Utilities\VPIC\GridExchange.obj<span style="white-space:pre-wrap">        </span>VPIC</div>


<div><br></div><div>What could be the reason? How can I fix it?</div><div><br></div><div>Thanks!</div><div><br></div><div>Best regards,</div><div>Mingcheng Chen</div><font color="#888888"><div>December 30th, 2011</div><br>


</font></div>
<br>_______________________________________________<br>
Paraview-developers mailing list<br>
<a href="mailto:Paraview-developers@paraview.org">Paraview-developers@paraview.org</a><br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div></div>