Paraview refuses to start after installation of OpenFoam
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. |
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 - Best regards, Bruno |
Ok, so what would be advisable if I AM using KDE?
|
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 |
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) |
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 |
1 Attachment(s)
What exactly is this supposed to do?
When I start ParaView with this alias, I get the following error message: Attachment 22164 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? |
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 |
Thank you so much!
|
Paraview error with foam extend
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 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 |
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 |
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 thanks for your help Martin |
Quick tip:
Code:
alias parafoam="touch case.foam && paraview --data=case.foam" |
All times are GMT -4. The time now is 20:46. |