[Paraview-developers] [EXTERNAL] Re: ParaView Build problem
Scott, W Alan
wascott at sandia.gov
Mon Jul 1 11:52:59 EDT 2013
I have also seen this. I also don't remember what it was. But, I am wondering if it is either 1) mixing compilers with regards to MPI (i.e, compiling with Intel, using gcc MPI libraries) or it just automagically works if built with the other compiler...
alan
-----Original Message-----
From: paraview-developers-bounces at paraview.org [mailto:paraview-developers-bounces at paraview.org] On Behalf Of Utkarsh Ayachit
Sent: Monday, July 01, 2013 7:54 AM
To: Pandu tech
Cc: ParaView Developers
Subject: [EXTERNAL] Re: [Paraview-developers] ParaView Build problem
I've seen this problem before. Can you post your CMakeCache.txt? My guess in mpi4py is missing the mpi-related flags. I'll verify with you CMakeCache.txt and then post a fix.
Utkarsh
On Mon, Jul 1, 2013 at 9:31 AM, Pandu tech <pandu4tech at gmail.com> wrote:
> 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/o
> penmpi/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.
>
> _______________________________________________
> Paraview-developers mailing list
> Paraview-developers at paraview.org
> http://public.kitware.com/mailman/listinfo/paraview-developers
>
_______________________________________________
Paraview-developers mailing list
Paraview-developers at paraview.org
http://public.kitware.com/mailman/listinfo/paraview-developers
More information about the Paraview-developers
mailing list