David Partyka wrote:
What do you have MPI_LIBRAY and MPI_EXTRA_LIBRARY set to?

On my Windows system that uses OpenMPI is have MPI_LIBRARY set to:

C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/lib/libmpi.lib

And MPI_EXTRA_LIBRARY set to:

C:/Kitware/ParaView 3.10/build-x64/OpenMPI-install/lib/libmpi_cxx.lib

On Tue, Apr 19, 2011 at 7:42 AM, Pratik Mallya <pratik.mal...@gmail.com <mailto:pratik.mal...@gmail.com>> wrote:

    Hello,
    I built praview 3.10 successfully with openmpi 1.4 on my laptop.
    However, when i tried to do the same thing on a cluster, i get the
    following error:
    [ 36%] Built target TestCxxFeatures
    [ 36%] Built target TestInstantiator
    [ 36%] Built target FilteringCxxTests
    Linking CXX executable ../../../../bin/GraphicsCxxTests
    ../../../../bin/libvtkParallel.so.pv3.10: undefined reference to
    `MPI::Is_initialized()'
    ../../../../bin/libvtkParallel.so.pv3.10: undefined reference to
    `op_intercept(void*, void*, int*, unsigned int*)'
    ../../../../bin/libvtkParallel.so.pv3.10: undefined reference to
    `mpi_sgi_status_ignore'
    ../../../../bin/libvtkParallel.so.pv3.10: undefined reference to
    `PMPI::Comm::mpi_comm_map'
    ../../../../bin/libvtkParallel.so.pv3.10: undefined reference to
    `PMPI::Comm::ignored_status'
    ../../../../bin/libvtkParallel.so.pv3.10: undefined reference to
    `PMPI::Intracomm::current_op'
    ../../../../bin/libvtkParallel.so.pv3.10: undefined reference to
    `PMPI::Request::ignored_status'
    collect2: ld returned 1 exit status
    make[2]: *** [bin/GraphicsCxxTests] Error 1
    make[1]: ***
    [VTK/Graphics/Testing/Cxx/CMakeFiles/GraphicsCxxTests.dir/all] Error 2
    make: *** [all] Error 2

    Can anyone please  tell me what is causing this? I installed
    openmpi 1.4 and used ccmake to point to it, so that shouldn't be
    the problem, but it does look suspiciously like it .
    Also, i disabled use_python, as it was giving some errors with
    mpic++.... trying to figure that out too..
-- *Pratik Mallya*
    http://en.wikipedia.org/wiki/User:Pratik.mallya
    _______________________________________________
    Powered by www.kitware.com <http://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


oops...that was the MPI_INCLUDE_PATH...wait..i will get the relevant data in 15mins...

--
*Pratik Mallya*
http://en.wikipedia.org/wiki/User:Pratik.mallya
_______________________________________________
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

Reply via email to