[Paraview] compile error with 3.6.1 on RHEL5

Berk Geveci berk.geveci at kitware.com
Fri Dec 18 20:05:38 EST 2009


It sounds like the link line is missing the C++ bindings for MPI. Can
you grep for MPI_ in the CMakeCache.txt file (in your binary tree)? I
would like to know that MPI_LIBRARY and MPI_EXTRA_LIBRARY are.

-berk

On Fri, Dec 18, 2009 at 4:27 PM, Jack Gundrum <jsg3 at psu.edu> wrote:
> Hi all,
> I run into the following compile error with gcc (GCC) 4.4.2 and openmpi
> 1.3.3 on RHEL5?
>
>
>
> Scanning dependencies of target vtkSMExtractDocumentation
> [ 86%] Building CXX object
> Servers/ServerManager/CMakeFiles/vtkSMExtractDocumentation.dir/vtkSMExtractDocumentation.o
> Linking CXX executable ../../bin/vtkSMExtractDocumentation
> /usr/global/paraview/3.6.1/paraview3build/bin/libvtkPVServerCommon.a(vtkPVMPICommunicator.o):
> In function `MPI::Intracomm::Intracomm()':
> vtkPVMPICommunicator.cxx:(.text._ZN3MPI9IntracommC2Ev[MPI::Intracomm::Intracomm()]+0x11):
> undefined reference to `MPI::Comm::Comm()'
> /usr/global/paraview/3.6.1/paraview3build/bin/libvtkPVServerCommon.a(vtkPVMPICommunicator.o):
> In function `MPI::Intracomm::Intracomm(ompi_communicator_t*)':
> vtkPVMPICommunicator.cxx:(.text._ZN3MPI9IntracommC1EP19ompi_communicator_t[MPI::Intracomm::Intracomm(ompi_communicator_t*)]+0x16):
> undefined reference to `MPI::Comm::Comm()'
> /usr/global/paraview/3.6.1/paraview3build/bin/libvtkPVServerCommon.a(vtkPVMPICommunicator.o):
> In function `MPI::Op::Init(void (*)(void const*, void*, int, MPI::Datatype
> const&), bool)':
> vtkPVMPICommunicator.cxx:(.text._ZN3MPI2Op4InitEPFvPKvPviRKNS_8DatatypeEEb[MPI::Op::Init(void
> (*)(void const*, void*, int, MPI::Datatype const&), bool)]+0x20): undefined
> reference to `ompi_mpi_cxx_op_intercept'
> /usr/global/paraview/3.6.1/paraview3build/bin/libvtkPVServerCommon.a(vtkPVMPICommunicator.o):(.rodata._ZTVN3MPI3WinE[vtable
> for MPI::Win]+0x48): undefined reference to `MPI::Win::Free()'
> /usr/global/paraview/3.6.1/paraview3build/bin/libvtkPVServerCommon.a(vtkPVMPICommunicator.o):(.rodata._ZTVN3MPI8DatatypeE[vtable
> for MPI::Datatype]+0x78): undefined reference to `MPI::Datatype::Free()'
> collect2: ld returned 1 exit status
> make[2]: *** [bin/vtkSMExtractDocumentation] Error 1
> make[1]: ***
> [Servers/ServerManager/CMakeFiles/vtkSMExtractDocumentation.dir/all] Error 2
>
> --
> Jack Gundrum
> ITS - Research Computing & Cyberinfrastucture
> Penn State University
>
> _______________________________________________
> Powered by www.kitware.com
>
> Visit other Kitware open-source projects at
> http://www.kitware.com/opensource/opensource.html
>
> Please keep messages on-topic and check the ParaView Wiki at:
> http://paraview.org/Wiki/ParaView
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list