Hi Burlen,<br><br>Thanks a lot. Your suggestion worked !!<br><br> &#39;mpicc -show&#39; , 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">&lt;<a href="mailto:burlen.loring@gmail.com">burlen.loring@gmail.com</a>&gt;</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 &#39;PMPI_Info_set&#39; 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&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Attr_get&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Wtime&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_rank&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Abort&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Get_elements&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_commit&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Isend&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_free&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Barrier&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Waitall&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Gatherv&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Irecv&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Allgather&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_delete&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_hindexed&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_size&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_test_inter&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_get_envelope&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Gather&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_extent&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Get_processor_name&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Bcast&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Initialized&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Allreduce&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Sendrecv&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_contiguous&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_create&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_lb&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Keyval_create&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Address&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Attr_put&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_group&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_dup&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_free&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_get&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Alltoall&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Comm_size&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Info_dup&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_free&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Error_string&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Type_get_contents&#39;<br>
/usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: undefined reference to `PMPI_Testall&#39;<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>