<div>Hi Lokendra,</div><div><br></div>I am not sure if this helps but you should just set MPI_LIBRARY=<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">/usr/lib64/libmpich.so</span><br>

<br><div class="gmail_quote">On Tue, Sep 7, 2010 at 10:16 AM, Lokendra Singh <span dir="ltr">&lt;<a href="mailto:lsingh.969@gmail.com">lsingh.969@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

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><font color="#888888">Lokendra<br><br>
</font><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></blockquote></div><br>