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

Amy Squillacote amy.squillacote at kitware.com
Mon Apr 2 10:18:39 EDT 2007


Hi Bikash,

The MPI_LIBRARY variable should list the full path to the required MPI 
libraries, not -L... or -l... as you would specify to your linker. 
Instead set your MPI_LIBRARY to /usr/lib/lam/liblammpi++.so.0. If you 
need to add more than one MPI-related library, they should be passed to 
the MPI_LIBRARY variable as a semi-colon (";") separated list.

- Amy

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
>   

-- 
Amy Squillacote
Kitware, Inc.
28 Corporate Drive
Clifton Park, NY 12065
Phone: (518) 371-3971 x106



More information about the ParaView mailing list