CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OF16 install on Ubuntu 12.04 LTS Precise (http://www.cfd-online.com/Forums/openfoam-installation/112198-of16-install-ubuntu-12-04-lts-precise.html)

Ralph M January 23, 2013 15:11

OF16 install on Ubuntu 12.XX
 
Dear all,

Bruno has written a guide on how to install OpenFoam 1.6 on Ubuntu 12.04LTS, see http://openfoamwiki.net/index.php/In...OAM-1.6/Ubuntu which helped me out to install this version of OF on Ubuntu 12.10.

Installation goes perfectly fine with only a minor issue which looks like this:
Code:

cmake:  /home/marinecfd/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6:  version `GLIBCXX_3.4.11' not found (required by cmake)
cmake:  /home/marinecfd/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64/libstdc++.so.6:  version `GLIBCXX_3.4.15' not found (required by cmake)

This probably can be solved by recompiling CMake.

But, when starting paraFoam I get the following message:
Code:

created temporary 'F18-orig-trim0v5-2.foam'
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Calculator" under id 121
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Annotate Time Filter" under id 156
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Calculator" under id 121
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Clip" under id 123
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Contingency Statistics" under id 150
void DBusMenuExporterPrivate::addAction(QAction*, int): Already tracking action "Contour" under id 122
etcetera

I found this error report: https://bugs.launchpad.net/ubuntu/+s...ew/+bug/995949 but adding paraview to the PPA doesn seem to help. So how to solve this paraFoam issue?

Thanks!

Ralph

Ralph M January 23, 2013 15:16

My problem looks like I have the same problem as described in this post http://www.cfd-online.com/Forums/ope...n-problem.html because I can see the menu bar....but when hovering the mouse on the top menu bar nothing happens either! :)

Cheers,

Ralph

wyldckat January 23, 2013 18:28

Hi Ralph,

Let's go back a few steps... why do you need CMake? :confused:
Because according to the instructions I wrote, you don't need to build ParaView! You can simply use the ParaView version that Ubuntu has!


By the way, I've done so minor fixes to the page right now and removed some excess stuff that was around and added links to this thread.

Best regards,
Bruno

Ralph M January 28, 2013 13:30

Bruno,

Reinstalling Ubuntu's paraview indeed did the job...thanks!

Ralph

Ralph M February 18, 2013 17:38

Hi all,

I still have difficulties with paraView. After startup (through the normal paraView button, in a terminal as paraView or in OF16 as paraFoam) the whole computer reboots. So I have different questions:
-Where to find the error log file (I couldnt find anything useful in /var)
-After reinstalling the system paraView should I rebuild OF?
-How can I switch to the OF paraView in Thirdparty?

Thanks!

Ralph

wyldckat February 18, 2013 19:21

Hi Ralph,

There are (at least) two possible reasons why ParaView is crashing:
  1. There might be a conflict between OpenFOAM's Gcc 4.3.3 and ParaView's libraries.
  2. Or the graphics card drivers are not properly installed.
For isolating this issue, do the following steps:
  1. Edit the file "$HOME/.bashrc".
  2. Change the line:
    Code:

    source $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc
    To:
    Code:

    alias of16='source $HOME/OpenFOAM/OpenFOAM-1.6/etc/bashrc'
  3. Now, start two terminals:
    1. On the first one, run:
      Code:

      of16
      It will activate the OpenFOAM environment.
      Go into the case you want to simulate or have already simulated before and run:
      Code:

      touch case.foam
    2. On the second terminal, make sure you do not have the OpenFOAM environment working, by running:
      Code:

      paraFoam
      It should not work. Instead, run:
      Code:

      paraview
      In ParaView, open the file that was created in the first terminal, namely "case.foam".
If this method also leads to a crash, then it's because the graphics card drivers are not properly installed.


Best regards,
Bruno


All times are GMT -4. The time now is 10:13.