[Paraview] Problem Building Paraview-3.8.0 with MPICH

burlen burlen.loring at gmail.com
Tue Sep 7 11:41:40 EDT 2010


Hi Lokendra,

You can use the command:

mpicxx -show

to see what libs need to be linked.

My cmake cache (set up automatically) looks like:

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
MPI_INCLUDE_PATH=/opt/mpich2-1.2.1p1-D/include
MPI_LIBRARY=/opt/mpich2-1.2.1p1-D/lib/libmpichcxx.so

Burlen

> Hi All,
>
> 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).
> 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.
>
> My MPI_LIBRARY=/usr/lib64/libmpich.so.1.0
> and MPI_EXTRA_LIBRARY=/usr/lib64/libmpich.so (obtained from dev 
> version of mpich)
>
> Has anybody faced a similar problem.
>
> ERROR:
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Info_set'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Attr_get'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Wtime'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Comm_rank'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Abort'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Get_elements'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_commit'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Isend'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Info_free'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Barrier'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Waitall'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Gatherv'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Irecv'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Allgather'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Info_delete'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_hindexed'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_size'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Comm_test_inter'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_get_envelope'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Gather'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_extent'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Get_processor_name'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Bcast'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Initialized'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Allreduce'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Sendrecv'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_contiguous'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Info_create'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_lb'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Keyval_create'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Address'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Attr_put'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Comm_group'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Comm_dup'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Comm_free'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Info_get'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Alltoall'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Comm_size'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Info_dup'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_free'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Error_string'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Type_get_contents'
> /usr/lib/gcc/x86_64-manbo-linux-gnu/4.3.2/../../../../lib64/libmpich.so: 
> undefined reference to `PMPI_Testall'
>
> Regards
> Lokendra
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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
>   



More information about the ParaView mailing list