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