|
[Sponsors] |
February 20, 2010, 08:39 |
BEGINNER: Cannot start Paraview
|
#1 |
New Member
Karin Axelsson
Join Date: Feb 2010
Posts: 11
Rep Power: 16 |
Hi everyone!
I've just started using OpenFOAM and I'm currently trying to run the tutorials (the cavity). blockMesh and icoFoam works, but paraFoam/paraview does not. When I type "paraFoam" in the terminal I get the following error message: /usr/OpenFoam/ ThirdParty-1.6/paraview-3-6-1/platforms/linux64Gcc/bin/paraview-real: error while loading shared libraries:libQtAssistantClient.so.4: cannot open shared object file: No such file or directory Does anyone know how to fix this? Many thanks in advance! |
|
February 22, 2010, 01:38 |
|
#2 |
Member
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 17 |
You don't have everything installed/compiled correctly. Check out the thread titled 'OpenFOAM-1.6 Install Cookbook' by MadsR. I added the packages that I was missing, re-compiled and everything worked - or you can just run the entire script. Good luck,
Alan |
|
February 22, 2010, 05:49 |
|
#3 |
New Member
Karin Axelsson
Join Date: Feb 2010
Posts: 11
Rep Power: 16 |
Hi again!
I know this probably is a stupid question, but I hope someonte can help me! *Does it matter what version of Qt I have? When i type "qmake --version" it says "Qmake version: 1.07a (Qt 3.3.3)" When reading on the OpenFOAM webpage it seems like I need a version that is Qt 4.3.something Could that be the problem? |
|
February 22, 2010, 05:53 |
|
#4 |
Member
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 17 |
Yes, you need a later version.
|
|
February 22, 2010, 06:18 |
|
#5 |
New Member
Karin Axelsson
Join Date: Feb 2010
Posts: 11
Rep Power: 16 |
Thanks!
I'm trying to install a newer version, but I have difficulties finding instructions on how to do it. What I've done now is downloading and extracting a folder called "qt-x11-opensource-src-4.3.5" to the Desktop. However it still says Qt 3.3.3 when I ask "qmake --version" How do install it? Please help me, I'm really new with Linux, so also state things, commands and operations that seem really obvious.... Thanks in advance! |
|
February 22, 2010, 06:35 |
|
#6 |
Member
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 17 |
What linux distro are you using? Do you really need to compile qt yourself? In opensuse 11 you just launch yast -> software management and install libqt4 and libqt4-devel
|
|
February 22, 2010, 08:48 |
|
#7 |
New Member
Karin Axelsson
Join Date: Feb 2010
Posts: 11
Rep Power: 16 |
What's a linux distro?
Could you talk me through in detail how to install a newer version of Qt? Right now (apparently...) I have Qt 3.3.3 and apparently I need a newer version... I have no idea what to do! Any help would be greatly appreciated! |
|
February 22, 2010, 11:53 |
|
#8 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
This is the Linux distribution. Its basically how you operating system is called.
There is a whole bunch of different distributions like "Ubuntu", "Open Suse", "Debian" ... Which one do you use?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
February 22, 2010, 14:34 |
|
#9 |
Member
Alan Russell
Join Date: Aug 2009
Location: Boise, Idaho USA
Posts: 61
Rep Power: 17 |
Again, I would suggest using the script file in the install cookbook. It's perfect for people who are trying to learn Linux and OF at the same time. All you need to do is download the script file and run it with your system on a good internet connection.
Alan |
|
February 23, 2010, 03:43 |
|
#10 |
New Member
Karin Axelsson
Join Date: Feb 2010
Posts: 11
Rep Power: 16 |
I found out from my collegues that my operating system is RedHat.
Are there any cook books for this? I should mention that OpenFOAM is working fine, I generate output files and everything, it's just that I need the visualization tool Paraview/parfoam. Any suggestions...? I really need this to work! Please reply here or send me an e-mail if you have ANY clue, hitn, or anythiing at all that could help me Last edited by ka1184; February 23, 2010 at 04:01. |
|
February 23, 2010, 04:14 |
|
#11 |
Member
Johan Spång
Join Date: Mar 2009
Location: Stockholm, Sweden
Posts: 35
Rep Power: 17 |
what's the output of
yum search libqt ? |
|
February 23, 2010, 04:47 |
|
#12 |
New Member
Karin Axelsson
Join Date: Feb 2010
Posts: 11
Rep Power: 16 |
When I type
yum search libqt in the terminal, it says bash: yum: command not found I did this from both the usr-directory and the Open foam directory and my home directory.... Also, I tried to do this procedure http://doc.trolltech.com/4.3/install-x11.html but with a slightly different version and created the following directory: /usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/ Then when I try to type ./configure it starts fine, but hen says: Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of either license? yes Creating qmake. Please wait... ln: `/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include/QtCore/qconfig.h': File exists ln: `/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include/Qt/qconfig.h': File exists g++ -c -o project.o -m64 -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include/QtCore -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/src/corelib/global -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/src/corelib/xml -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp /usr/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.3/cc1plus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory gmake: *** [project.o] Error 1 ???????????????? |
|
February 23, 2010, 04:55 |
|
#13 |
New Member
Karin Axelsson
Join Date: Feb 2010
Posts: 11
Rep Power: 16 |
When I type
yum search libqt in the terminal, it says bash: yum: command not found I did this from both the usr-directory and the Open foam directory and my home directory.... Also, I tried to do this procedure http://doc.trolltech.com/4.3/install-x11.html but with a slightly different version and created the following directory: /usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/ Then when I try to type ./configure it starts fine, but hen says: Type '3' to view the GNU General Public License version 3. Type 'L' to view the Lesser GNU General Public License version 2.1. Type 'yes' to accept this license offer. Type 'no' to decline this license offer. Do you accept the terms of either license? yes Creating qmake. Please wait... ln: `/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include/QtCore/qconfig.h': File exists ln: `/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include/Qt/qconfig.h': File exists g++ -c -o project.o -m64 -pipe -DQMAKE_OPENSOURCE_EDITION -I. -Igenerators -Igenerators/unix -Igenerators/win32 -Igenerators/mac -Igenerators/symbian -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/include/QtCore -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/src/corelib/global -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/src/corelib/xml -DQT_NO_PCRE -DQT_BUILD_QMAKE -DQT_BOOTSTRAPPED -DQT_NO_TEXTCODEC -DQT_NO_UNICODETABLES -DQT_NO_COMPONENT -DQT_NO_STL -DQT_NO_COMPRESS -I/usr/OpenFOAM/qt-everywhere-opensource-src-4.6.2/mkspecs/linux-g++-64 -DHAVE_QCONFIG_CPP -DQT_NO_THREAD -DQT_NO_QOBJECT -DQT_NO_GEOM_VARIANT project.cpp /usr/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/bin/../libexec/gcc/x86_64-unknown-linux-gnu/4.3.3/cc1plus: error while loading shared libraries: libmpfr.so.1: cannot open shared object file: No such file or directory gmake: *** [project.o] Error 1 ???????????????? |
|
March 10, 2010, 08:22 |
|
#14 |
Member
G B
Join Date: Mar 2010
Posts: 37
Rep Power: 16 |
Hi, ive encountered the same initial error karin did:
Code:
created temporary 'cavity.OpenFOAM' /home/gustavo/OpenFOAM/ThirdParty-1.6/paraview-3.6.1/platforms/linux64Gcc/bin/paraview-real: error while loading shared libraries: libQtAssistantClient.so.4: cannot open shared object file: No such file or directory However there is a great variety of libqt4 packages, which ones should i get? Theres: libqt4-sql, -mysql, ruby, etc. I'm thinking -sql and -dev? Thanks in advance. |
|
March 17, 2010, 04:31 |
|
#15 |
Senior Member
Cean
Join Date: Feb 2010
Posts: 128
Rep Power: 16 |
RedHat?
Maybe a bit old. It is called Fedora now. |
|
March 17, 2010, 10:12 |
|
#16 |
Member
Fábio César Canesin
Join Date: Mar 2010
Location: Florianópolis
Posts: 67
Rep Power: 16 |
If you are in Ubuntu 9.10 you should use the script in the OpenFOAM-1.6 install cookbook" topic... Your bug may be because of misleading dependencies..
I have added a little bunch of code to the script and attached it to the topic today... Go to: http://www.cfd-online.com/Forums/ope...okbook-16.html Open a terminal window and do: $cd ~/Downloads $sudo chmod +x installOF $./installOF Than follow the instructions in the script. If you want to see the details about the script just open it in gedit (double click and choose display) PS: the correct dependecie is libqt4-dev .. The packets are binutils-dev flex git git-core build-essential python-dev libqt4-dev libreadline5-dev wget zlib1g-dev cmake But AGAIN, USE THE SCRIPT.. you are a novice and you will find also errors in: *Gcc version (Ubuntu >9.04 use gcc4.4 and OpenFOAM likes gcc4.3 *bashims (Ubuntu >8.04 use dash as default it is faster, but OpenFOAM is written with bash in mind *Wrong calls to sh (again, default is dash not bash) So, I and others had a hard time doing the script to easy it all... |
|
March 25, 2010, 15:57 |
|
#17 | |
New Member
anonymous
Join Date: Mar 2010
Posts: 16
Rep Power: 16 |
Quote:
Thanks. |
||
March 25, 2010, 16:01 |
|
#18 |
Senior Member
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20 |
Did you source the etc/bashrc file?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!" |
|
March 25, 2010, 16:30 |
|
#20 |
New Member
anonymous
Join Date: Mar 2010
Posts: 16
Rep Power: 16 |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
TimeVaryingMappedFixedValue | irishdave | OpenFOAM Running, Solving & CFD | 32 | June 16, 2021 07:55 |
paraFoam reader for OpenFOAM 1.6 | smart | OpenFOAM Installation | 13 | November 16, 2009 22:41 |
[OpenFOAM] Paraview does not start please help | quartzian | ParaView | 0 | September 26, 2008 07:28 |
Paraview installation troubles | jjhall | OpenFOAM Installation | 3 | April 17, 2008 13:59 |
[OpenFOAM] ParaView patch visualisation error in Development version | philippose | ParaView | 17 | March 26, 2007 07:45 |