<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style id="owaParaStyle" type="text/css"></style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">We have been using openmpi 1.4.5 as that is the only version of OpenMPI that I am able to compile with VS2013 Express via cmake.<br>
<br>
I was told, on windows, the dependency library needs to be compiled with the same compiler (like VS2013 express) that is used to compile ParaView. Is that not the case anymore? Or Jayesh Krishna's MPICH binray is compiled with VS2010 Pro?<br>
<br>
thanks<br>
-simon<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px"><br>
<font face="Calibri,sans-serif" color="black" size="2"><span style="font-size:16px"></span></font></div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF135187"><font face="Tahoma" color="#000000" size="2"><b>From:</b> Paraview-developers [paraview-developers-bounces@paraview.org] on behalf of Hillier, Michael (NRCan/RNCan) [michael.hillier@canada.ca]<br>
<b>Sent:</b> Thursday, November 05, 2015 10:29 AM<br>
<b>To:</b> 'David E DeMarle'<br>
<b>Cc:</b> paraview-developers@paraview.org<br>
<b>Subject:</b> [Non-DoD Source] Re: [Paraview-developers] Issues building paraview with MPI : unresolved externals<br>
</font><br>
</div>
<div></div>
<div>This email was sent from a non-Department of Defense email account, and contained active links. All links are disabled, and require you to copy and paste the address to a Web browser. Please verify the identity of the sender, and confirm authenticity of
 all links contained within the message. <br>
<br>
<hr>
<br>
<br>
<style>
<!--
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Wingdings}
@font-face
        {font-family:Calibri}
@font-face
        {font-family:Tahoma}
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif"}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline}
span.EmailStyle17
        {font-family:"Calibri","sans-serif";
        color:#1F497D}
.MsoChpDefault
        {font-family:"Calibri","sans-serif"}
@page WordSection1
        {margin:1.0in 1.0in 1.0in 1.0in}
-->
BODY {direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;}P {margin-top:0;margin-bottom:0;}BODY {scrollbar-base-color:undefined;scrollbar-highlight-color:undefined;scrollbar-darkshadow-color:undefined;scrollbar-track-color:undefined;scrollbar-arrow-color:undefined}</style>
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I got this to work using your suggestion.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">For anyone else who has this issue I will give the following information that will potentially help others who want to build Paraview with MPI support:</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">I used Jayesh Krishna’s MPICH binary (v 1.4.1p1 64 bit).</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Built Paraview 4.4.0 64 bit using Visual Studio 2010 Professional.</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D">Michael Hillier</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt; font-family:"Calibri","sans-serif"; color:#1F497D"> </span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt; font-family:"Tahoma","sans-serif""> David E DeMarle [Caution-mailto:dave.demarle@kitware.com]<br>
<b>Sent:</b> Tuesday, November 03, 2015 9:26 PM<br>
<b>To:</b> Hillier, Michael (NRCan/RNCan)<br>
<b>Cc:</b> paraview-developers@paraview.org<br>
<b>Subject:</b> Re: [Paraview-developers] Issues building paraview with MPI : unresolved externals</span></p>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">I have not that version of OpenMPI on windows. I have had good success recently with the unofficial MPICH binary from Jayesh Krishna's (an oldie but a goodie as they say). This was on a Win7 64 system where we linked to it from Visual Studio
 2013 62bit desktop express edition.</p>
<div>
<p class="MsoNormal"> </p>
</div>
<div>
<div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><br clear="all">
</p>
<div>
<div>
<p class="MsoNormal">David E DeMarle<br>
Kitware, Inc.<br>
R&D Engineer<br>
21 Corporate Drive<br>
Clifton Park, NY 12065-8662<br>
Phone: 518-881-4909</p>
</div>
</div>
<p class="MsoNormal"> </p>
<div>
<p class="MsoNormal">On Tue, Nov 3, 2015 at 4:45 PM, Hillier, Michael (NRCan/RNCan) <michael.hillier@canada.ca < Caution-mailto:michael.hillier@canada.ca > > wrote:</p>
<div>
<div>
<p class="MsoNormal" style="">Hello,</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">I am trying to building paraview 4.4 with MPI support using Visual Studio. The libraries of MPI I am using is OpenMPI v1.6.2 x64. In cmake I link all the possible mpi libraries that have in my lib folder for OpenMPI except for
 the fortran libs. When I build paraview in visual studio (2010 professional) all my errors are unresolved external symbols (. E.g.  LNK2001: unresolved external symbol ompi_mpi_double). I was hoping that someone with some experience with including MPI support
 into paraview could help me resolve this issue. Are their additional libraries I am missing or do I need to set compilation or linking flags?</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Any help is greatly appreciated<span style="font-family:Wingdings">J</span></p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Michael Hillier</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">Below are the MPI related portions of my CMakeCache.txt file:</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//Cleared</p>
<p class="MsoNormal" style="">MPI_CXX_COMPILER:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/bin/mpicxx.exe</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI CXX compilation flags</p>
<p class="MsoNormal" style="">MPI_CXX_COMPILE_FLAGS:STRING=</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI CXX include path</p>
<p class="MsoNormal" style="">MPI_CXX_INCLUDE_PATH:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/include</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI CXX libraries to link against</p>
<p class="MsoNormal" style="">MPI_CXX_LIBRARIES:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxx.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxxd.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpid.lib;E:/Program
 Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-pal.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-pald.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-rte.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-rted.lib</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI CXX linking flags</p>
<p class="MsoNormal" style="">MPI_CXX_LINK_FLAGS:STRING=</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//Cleared</p>
<p class="MsoNormal" style="">MPI_C_COMPILER:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/bin/mpicc.exe</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI C compilation flags</p>
<p class="MsoNormal" style="">MPI_C_COMPILE_FLAGS:STRING=</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI C include path</p>
<p class="MsoNormal" style="">MPI_C_INCLUDE_PATH:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/include</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI C libraries to link against</p>
<p class="MsoNormal" style="">MPI_C_LIBRARIES:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxxd.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpid.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-pal.lib;E:/Program
 Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-pald.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-rte.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-rted.lib</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI C linking flags</p>
<p class="MsoNormal" style="">MPI_C_LINK_FLAGS:STRING=</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//Extra MPI libraries to link against</p>
<p class="MsoNormal" style="">MPI_EXTRA_LIBRARY:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxxd.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpid.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-pal.lib;E:/Program
 Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-pald.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-rte.lib;E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libopen-rted.lib</p>
<p class="MsoNormal" style=""> </p>
<p class="MsoNormal" style="">//MPI library to link against</p>
<p class="MsoNormal" style="">MPI_LIBRARY:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxx.lib</p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________<br>
Powered by Caution-www.kitware.com < Caution-http://www.kitware.com > <br>
<br>
Visit other Kitware open-source projects at Caution-http://www.kitware.com/opensource/opensource.html < Caution-http://www.kitware.com/opensource/opensource.html > <br>
<br>
Search the list archives at: Caution-http://markmail.org/search/?q=Paraview-developers < Caution-http://markmail.org/search/?q=Paraview-developers > <br>
<br>
Follow this link to subscribe/unsubscribe:<br>
Caution-http://public.kitware.com/mailman/listinfo/paraview-developers < Caution-http://public.kitware.com/mailman/listinfo/paraview-developers > </p>
</div>
<p class="MsoNormal"> </p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>