[Paraview] trouble building paraview with mpi

David E DeMarle dave.demarle at kitware.com
Tue Mar 3 12:04:13 EST 2009


It sounds like cmake wasn't able to tell where the MPI libraries are.
Open up ccmake, turn on the advanced options, and verify that the MPI
INCLUDE and LIBRARY and EXTRA_LIBRARY paths are correct.

On Tue, Mar 3, 2009 at 11:43 AM, Jim Montine <jmontine at sgi.com> wrote:
> I am attemtping to build ParaView-3.4.0.  I follow the instructions on the
> wiki and I am able to use cmake to configure and generate the makefiles.
>
> When I run make, things go along fine until I get here:
>
> Linking CXX executable ../../../../bin/DistributedData
>
>
> Then I get a bunch of undefined MPI errors like:
>
> /store/jmontine/projects/ParaView-bin/bin/libvtkParallel.a(vtkMPIController.o):
> In function `vtk
> MPIController::Finalize(int)':
> vtkMPIController.cxx:(.text+0x878): undefined reference to `MPI_Finalize'
> /store/jmontine/projects/ParaView-bin/bin/libvtkParallel.a(vtkMPIController.o):
> In function `vtk
> MPIController::Initialize(int*, char***, int)':
> vtkMPIController.cxx:(.text+0x9fb): undefined reference to `MPI_Init'
> vtkMPIController.cxx:(.text+0xa1a): undefined reference to
> `MPI_Get_processor_name'
>
> I have tried both hpmpi and sgi's mpi with the same result.  I am using gcc
> for the compiling.
>
> Thanks
>
>
>
> _______________________________________________
> 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
>
>



-- 
David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109


More information about the ParaView mailing list