[Paraview] Error while loading shared libraries: liblammpi++.so.0

Bikash Agarwal agarwa4 at gmail.com
Mon Apr 2 10:42:35 EDT 2007


The problem was not being able to find lam mpi libs at runtime. I set the
LD_LIBRARY_PATH=/usr/lib/lam and it works now.

Thanks everyone for the assistance.

Bikash

On 4/2/07, Clinton Stimpson <clinton at elemtech.com> wrote:
>
>
> This looks like a runtime issue, not build issue.
> It looks like installing lam-libs on FC6 doesn't configure ld.so.conf to
> find lam mpi libs at runtime.  I expect the lam-libs package maintainer
> to do that.
> To compare with, when installing openmpi, it sets up the
> /etc/ld.so.conf.d/mpi* files, so the mpi libs are found at runtime.
>
> You can add a line "/usr/lib/lam" to /etc/ld.so.conf then run
> /sbin/ldconfig, or set your LD_LIBRARY_PATH=/usr/lib/lam.
>
> Clint
>
> Bikash Agarwal wrote:
> > I found the exact file liblammpi++.so.0 in /usr/lib/lam which is what
> > paraview is looking for. I set the cmake MPI options myself. I've
> > given them below.
> >
> > MPI_INCLUDE_PATH: /usr/include/lam
> >
> > MPI_LIBRARY: -L/usr/lib/lam -llammpio -llammpi++ -llamf77mpi -lmpi
> > -llam -laio -lutil -ldl
> >
> > I wonder why it still cannot find it.
> >
> >
> > Bikash
> >
> >
> > On 4/2/07, *Kent Eschenberg* <eschenbe at psc.edu
> > <mailto:eschenbe at psc.edu> > wrote:
> >
> >     From the name of the file it looks like the C++ component
> >     of the lam version of the mpi library. One of the cmake
> >     options must reference that library. Did you set the cmake
> >     options for MPI yourself or did you let cmake set them
> >     automatically?
> >
> >     If cmake set the option then it must have found the library
> >     somewhere. Look for liblammpi++.so.* where * could be
> >     anything (nothing, .1, .2, ...). If you find it then create
> >     a symbolic link from what ParaView wants (liblammpi++.so.0)
> >     to what you have.
> >
> >     Kent
> >     Pittsburgh Supercomputing Center
> >
> >     Bikash Agarwal wrote:
> >     > Hi All,
> >     >
> >     > I built paraview 2.6 in MPI mode and got the following error
> >     when trying
> >     > to run paraview.
> >     >
> >     > error while loading shared libraries: liblammpi++.so.0: cannot
> open
> >     > shared object file: No such file or directory
> >     >
> >     > I did a search for this file and it does not exist. Was this
> >     supposed to
> >     > be created during the build or am I missing some mpi components?
> I'm
> >     > using a Fedora core 6 machine.
> >     >
> >     > Thanks,
> >     >
> >     > Bikash
> >
> >
> > ------------------------------------------------------------------------
> >
> > _______________________________________________
> > ParaView mailing list
> > ParaView at paraview.org
> > http://www.paraview.org/mailman/listinfo/paraview
> >
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://public.kitware.com/pipermail/paraview/attachments/20070402/646deb55/attachment-0001.htm


More information about the ParaView mailing list