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

Ben Boeckel ben.boeckel at kitware.com
Thu Nov 5 10:33:55 EST 2015


On Tue, Nov 03, 2015 at 21:45:04 +0000, Hillier, Michael (NRCan/RNCan) wrote:
> 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?

Hmm. I didn't know openmpi supported Windows still. We test against
MSMPI though (v5 IIRC).

> //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

This (and the other _LIBRARIES variables) lists both release and debug
libraries which I don't think is right.

--Ben


More information about the Paraview-developers mailing list