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
<[email protected] <mailto:[email protected]>> 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
the cluster is running linux, so i have set
MPI_LIBRARY : prefix/include/mpi.h
MPI_EXTRA_LIBRARY:prefix/include/openmpi/ompi/mpi/mpicxx.h
--
*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