|
[Sponsors] |
Paraview refuses to start after installation of OpenFoam |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 24, 2013, 10:49 |
Paraview refuses to start after installation of OpenFoam
|
#1 | ||
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
First of all I have to admit that I am not an expert on Linux. I wouldnt even consider myself as en experienced user. So please be patient
My problem is: up to now, I was able to use Paraview 3.98.1 64Bit on OpenSuse 11.4. Yesterday, I installed OpenFoam with the help of the description in the OF-wiki http://openfoamwiki.net/index.php/In...2.2.0/openSUSE Now when I try to run Parawiew (3.98, not the one contained in the OF installation), I get the following error: Quote:
After a google search, I came up with the following site: http://comments.gmane.org/gmane.comp.science.paraview.user/17444 Quote:
Any suggestions would be welcome. |
|||
May 24, 2013, 19:22 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Alex,
That's what happens when you only partially follow instructions From your description, it looks like you installed the Qt4 libraries unintentionally, since you didn't want to build ParaView from source code. In theory, you can uninstall the Qt4 libraries like this: Code:
su - zypper remove libqt4-devel qt4-x11-tools qt4-assistant-adp-devel exit Best regards, Bruno
__________________
|
|
May 25, 2013, 06:26 |
|
#3 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
Ok, so what would be advisable if I AM using KDE?
|
|
May 25, 2013, 12:53 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Alex,
I was hoping you wouldn't have KDE installed OK, I need to know a few details so I can try and reproduce the same error:
edit: OK, I've tested this on a virtual machine with OpenSUSE 11.4 64 bit with KDE and here's a quick test I ask you to do - run in the terminal the following command: Code:
(wmUNSET; paraview) By the way, I was only able to reproduce the same error, because I also built ParaView 3.12.0 from source code, as instructed in the wiki page ----- Best regards, Bruno
__________________
Last edited by wyldckat; May 25, 2013 at 22:27. Reason: see "edit:" |
|
May 27, 2013, 04:55 |
|
#5 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
Thanks a lot for your effort.
But no matter if I use the alias or execute the binary explicitly, the error persists.
I mostly did this because only with the "ParaFoam" application of the "full" OpenFOAM installation, I was able to visualize the output of the OpenFOAM meshing process. I actually had no idea how to get the same visualization with ParaView 3.98.1. run in the terminal the following command: Code:
(wmUNSET; paraview) If 'wmUNSET' is not a typo you can use command-not-found to lookup the package that contains it, like this: cnf wmUNSET and runs ParaView 3.12.0. After I close this ParaView session, I still get the same error message trying to run ParaView 3.98.1. No matter if I try it in the same shell or in another shell. wait a minute... Forgot to un-comment the entry from the OpenFoam installation in the .bashrc. Now if I enter Code:
(wmUNSET; pv) However in a new shell, this does not work. The error from my initial posting comes up again. Now including Code:
(wmUNSET) Last edited by flotus1; May 27, 2013 at 06:35. |
|
May 27, 2013, 17:38 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Alex,
You can change your alias to this: Code:
alias pv='(wmUNSET; touch case.foam; /usr/Paraview/ParaView-3.98.1-Linux-64bit/bin/paraview --data=case.foam)' Bruno
__________________
|
|
May 28, 2013, 04:49 |
|
#7 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
What exactly is this supposed to do?
When I start ParaView with this alias, I get the following error message: error_pv.png Additionally, there is this case.foam item which I usually dont need. However, if I change the alias to Code:
alias pv='(wmUNSET; /usr/Paraview/ParaView-3.98.1-Linux-64bit/bin/paraview)' I had a quick look at the paraFoam shell script. How exactly can I get it to use the 3.98.1 version of ParaView instead? |
|
May 28, 2013, 18:27 |
|
#8 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Alex,
Sorry, I was in a hurry and I wasn't clear enough. ParaView 3.98.1 has an internal ".foam" reader for OpenFOAM cases. The alias I had shown you would automatically work as if you were running paraFoam. You have at least two options:
Bruno
__________________
|
|
May 29, 2013, 04:02 |
|
#9 |
Super Moderator
Alex
Join Date: Jun 2012
Location: Germany
Posts: 3,427
Rep Power: 49 |
Thank you so much!
|
|
February 24, 2014, 14:08 |
Paraview error with foam extend
|
#10 |
New Member
Martin
Join Date: Oct 2013
Location: Newcastle
Posts: 21
Rep Power: 13 |
Hello Bruno,
I'm getting a similar error when trying to start Paraview 4.0.1 that came with foam extend-3.0. I've recently started using Ubuntu (13.10) for the first time. I have installed OF2.2.2 from source a few weeks ago but that stopped working, recently i installed OF2.3.0 from the deb pack and everything seems to be working so far.I followed your instructions for the installation of FE30 (http://openfoamwiki.net/index.php/In...u#Ubuntu_13.10) When I want to launch paraFoam having the Foam extend 3.0 environment I get following error message: Code:
ERROR: In /home/martin/foam/foam-extend-3.0/ThirdParty/rpmBuild/BUILD/ParaView-v4.0.1-source/VTK/GUISupport/Qt/vtkEventQtSlotConnect.cxx, line 68 vtkEventQtSlotConnect (0x205bac0): Cannot connect NULL objects. . /home/martin/foam/foam-extend-3.0/bin/paraFoam: line 122: 14190 Segmentation fault (core dumped) paraview --data="$caseFile" Could this error be similar, i.e. due to installing OF2.2.2 from source (including the Qt4 libraries)? So could I simply remove the libraries as you have advised above? Is there another way around this, i.e. could i link the paraFoam command to the functioning version that came with OF2.3.0? do you have any advice for me on this? Thanks, Martin |
|
March 1, 2014, 19:54 |
|
#11 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Martin and welcome to the forum!
My first suspicion is that you might not have taken care of how your "~/.bashrc" file looks like. To help you diagnose this, please run the following command: Code:
tail ~/.bashrc As for foam-extend 3.0: again, it might be related to how your "~/.bashrc" file is configured or if you were following the installation steps, while the OpenFOAM 2.2.2 environment was active, which would lead to some problematic issues. Best regards, Bruno
__________________
|
|
March 6, 2014, 06:35 |
|
#12 |
New Member
Martin
Join Date: Oct 2013
Location: Newcastle
Posts: 21
Rep Power: 13 |
Hello Bruno,
thanks for your reply. I think I might have tried to install foam-3.0 while the 2.2 environment was active. Anyways, i got passed that stage by installing OF2.3. which so far works well. My bashrc looks like this: Code:
tail ~/.bashrc alias of23='. /opt/openfoam230/etc/bashrc' alias fe30='source $HOME/foam/foam-extend-3.0/etc/bashrc' thanks for your help Martin |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Discussion] Restructuring the Installation page at openfoamwiki.net | wyldckat | OpenFOAM Installation | 16 | November 2, 2013 12:43 |
OpenFOAM 1.6 and ThirdParty Software Paraview | dunlopjp | OpenFOAM Installation | 0 | February 24, 2010 12:35 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |
Problem installing OpenFOAM 1.5 installation on RHEL 4. | vwsj84 | OpenFOAM Installation | 4 | April 23, 2009 05:48 |
New openfoam installation | fivos | OpenFOAM Installation | 5 | April 1, 2009 04:58 |