[Paraview] pvserver cannot find shared library

Huan Sun hsun at math.psu.edu
Tue Dec 15 16:55:13 EST 2009


Hi Berk,

Thanks for the help. Setting the RPATH solves the problem of finding
the libraries.

best,

Huan


On Mon, 2009-12-14 at 16:31 -0500, Berk Geveci wrote:
> If you set VTK_USE_RPATH to OFF, recompile and reinstall, the problem
> should disappear. Alternatively, you can set your LD_LIBRARY_PATH to
> where the ParaView libraries are. You need to do that such that the
> processes launched by OpenMPI get this LD_LIBRARY_PATH.
> 
> On Mon, Dec 14, 2009 at 3:13 PM, Huan Sun <hsun at math.psu.edu> wrote:
> >
> > Hi Berk,
> >
> > Yes, I downloaded the source code of version 3.6.1. And I checked the
> > VTK_USE_RPATH and it was on.
> > The only warning I got when configuring paraview with ccmake is I am
> > using QT 4.6, whereas the official support is 4.3.
> > Could that be a problem?
> >
> > Thanks a lot for the help!
> >
> > Huan
> >
> >
> >
> > On Mon, 2009-12-14 at 09:18 -0500, Berk Geveci wrote:
> >> Hi Huan,
> >>
> >> Note: By installing, I am guessing you mean that you compiled and
> >> installed ParaView. The binaries we distribute do not have MPI
> >> support.
> >>
> >> Which version of ParaView did you compile and how did you install it?
> >> It sounds like the search path ParaView uses for finding shared
> >> libraries is not setup properly. There are two reasons (that I can
> >> think of) why this may happen:
> >>
> >> 1. Modified installation of ParaView
> >> 2. ParaView is configured/compiled with VTK_USE_RPATH set to OFF. This
> >> happens when using a development version of ParaView by default (i.e.
> >> checkout of trunk from cvs) or if you explicitly turn off
> >> VTK_USE_RPATH
> >>
> >> Best,
> >> -berk
> >>
> >> On Mon, Dec 14, 2009 at 1:59 AM, Huan Sun <hsun at math.psu.edu> wrote:
> >> > Hello,
> >> >
> >> > I installed paraview with open mpi following the instructions on
> >> > paraview.org/wiki.
> >> >
> >> > But when I ran
> >> >
> >> > mpirun -np 12 ./pvserver
> >> >
> >> > the pvserver complained it didn't find shared library
> >> > libvtkPVServerCommon.so. I checked the lib/ in the installation direction
> >> > and found the library.  I am just wondering what can goes wrong.
> >> >
> >> > Thanks in advance!
> >> >
> >> > Huan
> >> > _______________________________________________
> >> > 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