[Paraview-developers] Issues building paraview with MPI : unresolved externals

houssen houssen at ipgp.fr
Wed Nov 4 03:56:18 EST 2015


If link errors are related to writers, then maybe 
-DXDMF_BUILD_MPI:BOOL=ON could fix them (I had this problem on one unix 
based system).
Also for consistency, I remember I had to use compilers consistent with 
MPI (in my case, I built GCC, then OpenMPI, then Paraview explicitely 
with these GCC and OpenMPI: check CMake logs).

Hope this helps,

Franck

Le 2015-11-03 22:45, Hillier, Michael (NRCan/RNCan) a écrit :
> Hello,
>
> 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?
>
> Any help is greatly appreciated J
>
> Michael Hillier
>
> Below are the MPI related portions of my CMakeCache.txt file:
>
> //Cleared
>
> MPI_CXX_COMPILER:FILEPATH=E:/Program Files
> (x86)/OpenMPI_v1.6.2-x64/bin/mpicxx.exe
>
> //MPI CXX compilation flags
>
> MPI_CXX_COMPILE_FLAGS:STRING=
>
> //MPI CXX include path
>
> MPI_CXX_INCLUDE_PATH:STRING=E:/Program Files
> (x86)/OpenMPI_v1.6.2-x64/include
>
> //MPI CXX libraries to link against
>
> 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
>
> //MPI CXX linking flags
>
> MPI_CXX_LINK_FLAGS:STRING=
>
> //Cleared
>
> MPI_C_COMPILER:FILEPATH=E:/Program Files
> (x86)/OpenMPI_v1.6.2-x64/bin/mpicc.exe
>
> //MPI C compilation flags
>
> MPI_C_COMPILE_FLAGS:STRING=
>
> //MPI C include path
>
> MPI_C_INCLUDE_PATH:STRING=E:/Program Files
> (x86)/OpenMPI_v1.6.2-x64/include
>
> //MPI C libraries to link against
>
> 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
>
> //MPI C linking flags
>
> MPI_C_LINK_FLAGS:STRING=
>
> //Extra MPI libraries to link against
>
> 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
>
> //MPI library to link against
>
> MPI_LIBRARY:FILEPATH=E:/Program Files
> (x86)/OpenMPI_v1.6.2-x64/lib/libmpi_cxx.lib



More information about the Paraview-developers mailing list