[Paraview-developers] ParaView Build problem

Pandu tech pandu4tech at gmail.com
Mon Jul 1 09:31:17 EDT 2013


Hi,

I tried to build the latest paraview, but it gave me the following errors.

I work on SuSe 12.1 and some of the details are given below:

which mpicc gives /usr/lib64/mpi/gcc/openmpi/bin/mpicc

MPI_DIR is /usr/lib64/mpi/gcc/openmpi/

MY cmake variables set like this:

-DMPI_LIBRARY=${MPI_DIR}/lib/libmpi.so \
-DMPI_COMPILER=${MPI_DIR}/bin/mpicc \
-DMPI_EXTRA_LIBRARY=${MPI_DIR}/lib/libmpi_cxx.so \
-DMPI_INCLUDE_PATH=${MPI_DIR}/include \

=======================ERROR
MESSGAE=================================================================
mpi.so /usr/lib64/mpi/gcc/openmpi/lib/libmpi_cxx.so
-Wl,-rpath,/home/rruser/ss02/install/bin/ss02/lib:/usr/lib64/mpi/gcc/openmpi/lib
CMakeFiles/mpi4py.MPI.dir/src/MPI.c.o: In function `OPENMPI_dlopen_libmpi':
/home/rruser/ss02/source/src/RollsRoyceParaView/ThirdParty/mpi4py/vtkmpi4py/src/compat/openmpi.h:71:
undefined reference to `dlopen'
/home/rruser/ss02/source/src/RollsRoyceParaView/ThirdParty/mpi4py/vtkmpi4py/src/compat/openmpi.h:72:
undefined reference to `dlopen'
/home/rruser/ss02/source/src/RollsRoyceParaView/ThirdParty/mpi4py/vtkmpi4py/src/compat/openmpi.h:73:
undefined reference to `dlopen'
/home/rruser/ss02/source/src/RollsRoyceParaView/ThirdParty/mpi4py/vtkmpi4py/src/compat/openmpi.h:74:
undefined reference to `dlopen'
/home/rruser/ss02/source/src/RollsRoyceParaView/ThirdParty/mpi4py/vtkmpi4py/src/compat/openmpi.h:75:
undefined reference to `dlopen'
collect2: ld returned 1 exit status
make[2]: *** [lib/site-packages/mpi4py/MPI.so] Error 1
make[2]: Leaving directory `/home/rruser/ss02/build/paraview-build'
make[1]: *** [ThirdParty/mpi4py/vtkmpi4py/CMakeFiles/mpi4py.MPI.dir/all]
Error 2
make[1]: Leaving directory `/home/rruser/ss02/build/paraview-build'
make: *** [all] Error 2



Please share your suggestions regarding this.

Thanks,
Pandu.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview-developers/attachments/20130701/f7b60c37/attachment.htm>


More information about the Paraview-developers mailing list