CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   ParaView (https://www.cfd-online.com/Forums/paraview/)
-   -   [OpenFOAM] Paraview on Ubuntu (https://www.cfd-online.com/Forums/paraview/123576-paraview-ubuntu.html)

Tobi September 16, 2013 12:37

Paraview on Ubuntu
 
Hello all,

as Bruno mentioned in this thread: http://www.cfd-online.com/Forums/par...ering-gpu.html

I can compile Paraview in Ubuntu.

With
Code:

apt-get install paraview
everything was installed but after starting paraview I get the following error:
Code:

paraview: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory
MPI is installed on my computer, and the file which is missing is available:
Code:

shor-ty@cfd:~$ ls /usr/lib/libmpi.so
/usr/lib/libmpi.so

Can someone give me an advice?

Thanks Tobi

wyldckat September 27, 2013 19:03

Hi Tobi,

Sorry for the late reply, but only now did I manage to get an idea (and time) on this: I'm guessing that the problem is that you have a conflict of ParaView versions. Or more specifically in this case, you might have a conflict of Open-MPI versions.

The idea is that when you want to use the ParaView version that Ubuntu provides, you should start it from the main applications menu, not from the terminal. Or use a clean terminal window that does not have the OpenFOAM environment loaded on the shell (Advanced tips for working with the OpenFOAM shell environment).

The other idea is that to avoid conflicts of Open-MPI versions, you should always use the Open-MPI version provided by Ubuntu. In other words, use "WM_MPLIB=SYSTEMOPENMPI" as explained here: http://openfoamwiki.net/index.php/In...M-2.2.0/Ubuntu

Best regards,
Bruno


All times are GMT -4. The time now is 19:11.