<div dir="ltr">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.<div><br></div><div><div><br></div></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature">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</div></div>
<br><div class="gmail_quote">On Tue, Nov 3, 2015 at 4:45 PM, Hillier, Michael (NRCan/RNCan) <span dir="ltr"><<a href="mailto:michael.hillier@canada.ca" target="_blank">michael.hillier@canada.ca</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></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?
<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Any help is greatly appreciated <span style="font-family:Wingdings">
J</span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Michael Hillier<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Below are the MPI related portions of my CMakeCache.txt file:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//Cleared<u></u><u></u></p>
<p class="MsoNormal">MPI_CXX_COMPILER:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/bin/mpicxx.exe<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI CXX compilation flags<u></u><u></u></p>
<p class="MsoNormal">MPI_CXX_COMPILE_FLAGS:STRING=<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI CXX include path<u></u><u></u></p>
<p class="MsoNormal">MPI_CXX_INCLUDE_PATH:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/include<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI CXX libraries to link against<u></u><u></u></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<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI CXX linking flags<u></u><u></u></p>
<p class="MsoNormal">MPI_CXX_LINK_FLAGS:STRING=<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//Cleared<u></u><u></u></p>
<p class="MsoNormal">MPI_C_COMPILER:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/bin/mpicc.exe<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI C compilation flags<u></u><u></u></p>
<p class="MsoNormal">MPI_C_COMPILE_FLAGS:STRING=<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI C include path<u></u><u></u></p>
<p class="MsoNormal">MPI_C_INCLUDE_PATH:STRING=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/include<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI C libraries to link against<u></u><u></u></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<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI C linking flags<u></u><u></u></p>
<p class="MsoNormal">MPI_C_LINK_FLAGS:STRING=<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//Extra MPI libraries to link against<u></u><u></u></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<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">//MPI library to link against<u></u><u></u></p>
<p class="MsoNormal">MPI_LIBRARY:FILEPATH=E:/Program Files (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxx.lib<u></u><u></u></p>
</div>
</div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
<br></blockquote></div><br></div>