Hi Burlen,<br><br>Thanks a lot. Your suggestion worked !!<br><br> 'mpicc -show' , told me that I was missing pmpi libraries. I included libpmpich.a and libpmpich++.a in MPI_LIBRARY and it solved the issue.<br><br>Regards <br>
Lokendra<br><br><div class="gmail_quote">On Tue, Sep 7, 2010 at 9:11 PM, burlen <span dir="ltr"><<a href="mailto:burlen.loring@gmail.com">burlen.loring@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Lokendra,<br>
<br>
You can use the command:<br>
<br>
mpicxx -show<br>
<br>
to see what libs need to be linked.<br>
<br>
My cmake cache (set up automatically) looks like:<br>
<br>
MPI_EXTRA_LIBRARY=/opt/mpich2-1.2.1p1-D/lib/libmpich.so;/opt/mpich2-1.2.1p1-D/lib/libopa.a;/usr/lib/libpthread.so;/usr/lib/librt.so<br>
MPI_INCLUDE_PATH=/opt/mpich2-1.2.1p1-D/include<br>
MPI_LIBRARY=/opt/mpich2-1.2.1p1-D/lib/libmpichcxx.so<br><font color="#888888">
<br>
Burlen<br>
<br>
</font><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div class="h5">
Hi All,<br>
<br>
I am facing following error when building paraview-3.8.0 with MPICH1-1.2.5.2 (sorry, but I cant upgrade the MPICH because of some limitations on the remote cluster).<br>
Strange thing is these undefined functions like 'PMPI_Info_set' are declared in the header files in the variable MPI_INCLUDE_PATH which contain mpi.h, mpif.h, mpio.h etc, hence I assume that the definitions must be present in libraries.<br>
<br>
My MPI_LIBRARY=/usr/lib64/libmpich.so.1.0<br>
and MPI_EXTRA_LIBRARY=/usr/lib64/libmpich.so (obtained from dev version of mpich)<br>
<br>
Has anybody faced a similar problem.<br>
<br>
ERROR:<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_set'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Attr_get'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Wtime'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_rank'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Abort'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Get_elements'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_commit'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Isend'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_free'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Barrier'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Waitall'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Gatherv'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Irecv'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Allgather'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_delete'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_hindexed'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_size'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_test_inter'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_get_envelope'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Gather'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_extent'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Get_processor_name'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Bcast'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Initialized'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Allreduce'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Sendrecv'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_contiguous'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_create'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_lb'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Keyval_create'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Address'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Attr_put'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_group'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_dup'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_free'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_get'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Alltoall'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_size'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_dup'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_free'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Error_string'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_get_contents'<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Testall'<br>
<br>
Regards<br>
Lokendra<br>
<br></div></div>
------------------------------------------------------------------------<div class="im"><br>
<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br>
</div></blockquote>
<br>
</blockquote></div><br>