<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hello,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Any help is greatly appreciated <span style="font-family:Wingdings">
J</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Michael Hillier<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Below are the MPI related portions of my CMakeCache.txt file:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//Cleared<o:p></o:p></p>
<p class="MsoNormal">MPI_CXX_COMPILER:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/bin/mpicxx.exe<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI CXX compilation flags<o:p></o:p></p>
<p class="MsoNormal">MPI_CXX_COMPILE_FLAGS:STRING=<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI CXX include path<o:p></o:p></p>
<p class="MsoNormal">MPI_CXX_INCLUDE_PATH:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/include<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI CXX libraries to link against<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI CXX linking flags<o:p></o:p></p>
<p class="MsoNormal">MPI_CXX_LINK_FLAGS:STRING=<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//Cleared<o:p></o:p></p>
<p class="MsoNormal">MPI_C_COMPILER:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/bin/mpicc.exe<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI C compilation flags<o:p></o:p></p>
<p class="MsoNormal">MPI_C_COMPILE_FLAGS:STRING=<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI C include path<o:p></o:p></p>
<p class="MsoNormal">MPI_C_INCLUDE_PATH:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/include<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI C libraries to link against<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI C linking flags<o:p></o:p></p>
<p class="MsoNormal">MPI_C_LINK_FLAGS:STRING=<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//Extra MPI libraries to link against<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">//MPI library to link against<o:p></o:p></p>
<p class="MsoNormal">MPI_LIBRARY:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxx.lib<o:p></o:p></p>
</div>
</body>
</html>