|
[Sponsors] |
Urgently need to install OpenFOAM: paraview problems. |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
May 14, 2009, 01:58 |
Urgently need to install OpenFOAM: paraview problems.
|
#1 | |
Senior Member
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17 |
Hey guys,
I'm running Ubuntu 9.04 (Jaunty) and I've installed paraview using the synaptic package manager. However when I try to continue with the installation procedure in the OpenFOAM Readme file by running paraFoam in the icoFoam cavity simmulation I get the folliwng error: Quote:
|
||
May 16, 2009, 02:31 |
|
#2 |
Senior Member
Pavan
Join Date: May 2009
Location: Melbourne
Posts: 101
Rep Power: 17 |
Nobody has any ideas then.
I've reverted to Ubuntu 8.04 and it works fine. If any finds out how to get it to work on 9.04, please post. |
|
May 18, 2009, 08:18 |
|
#3 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi James,
Check this thread, it seems they have solved at least part of the issue there. Regards, Gijsbert |
|
May 23, 2009, 22:10 |
|
#4 |
New Member
Join Date: May 2009
Posts: 11
Rep Power: 17 |
I run Ubuntu 9.04. I went to kitware. downloaded paraview 3.4 86 64, "tar-it-ed open" went to the bin, click on "paraview" and it starts right away. I didn't get cmake or qt at all. maybe those were in 9.04 already.
the problem is to make parafoam work with it. i've been studying any information I could find, changed variables and paths on some of the scripts, but is not very clear yet how is it that OF gets into paraview.there are some lines on the parafoam script that Im trying to understand. I'll let you know if I figure it out. |
|
May 24, 2009, 04:39 |
|
#5 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Null,
I guess what you have done now is download the binary of Paraview and untar it, so Paraview just works (usually). Probably you need to actually compile Paraview on your computer (i.e. build your own binary) to make Paraview work with OpenFOAM as paraFoam. And for that you need Qt-4.3.x, which you also need to compile. What is the output of Code:
qt --version Cheers, Gijs |
|
May 24, 2009, 08:58 |
|
#6 |
New Member
Join Date: May 2009
Posts: 11
Rep Power: 17 |
Hello Gijs,
yes thats what I did. In the beginning , weeks ago I was trying to compile qt to be able to compile paraview inside OF, but it was a nightmare. so I said screw it-I'll use VTKToFoam. the code qt --version gives a command not found. I posted because the initial poster said Paraview and not paraFoam. |
|
May 24, 2009, 10:12 |
|
#7 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Hi Null,
Ok, well, that probably works . But if you want to get OpenFOAM to work with ParaView directly the following recipe should work. After unpacking the OpenFOAM packages from OpenCFD and putting the right line into ~/.bashrc, you need to get Qt-4.3.x (4.3.5 works for me) from Trolltech. The compilation of Qt needs the complete X11 package and some openGL libraries to be available. You can get these via the Synaptic package manager looking for X11 and mesa-libGL (and/or openGL) and just grabbing everything. Via command line it would be something like Code:
sudo apt-get mesa-libGL\*-devel freeglut-devel libdrm-devel Code:
sudo yum groupinstall x-software-development development-tools Then, it is time to install Qt. Put the Qt-package in some temporary directory, e.g. ~/tmp/, and unpack it. Then configure Qt for installation and install it by Code:
./configure Code:
gmake Code:
gmake install Code:
PATH=/tmp/qt-x11-opensource-src-4.3.5/bin:$PATH export PATH Code:
cd $FOAM_INST_DIR/ThirdParty Code:
rm -rf ParaView3.3-cvs/platforms Code:
buildParaView3.3-cvs Code:
cd $FOAM_UTILITIES/postProcessing/graphics/PV3FoamReader Code:
./Allwclean Code:
./Allwmake Code:
. $HOME/.bashrc Regards, Gijs |
|
May 24, 2009, 11:34 |
|
#8 |
New Member
Join Date: May 2009
Posts: 11
Rep Power: 17 |
Gijs,
That is very nice of you. I appreciate very much your time and attention to explain all this . I will try it today. Definitively the idea is to use parafoam and not transition all the stuff to paraview. in the worst-worst of the cases I had burned the openFOAM-slax cd . having plan the proceedure as design it in Catia ( which I can do with my eyes closed-so feel free if you have any question about it), mesh it in salome and then run the slax live cd . Thank you very much. I'll tell you how it work it. |
|
June 26, 2009, 19:44 |
|
#9 | |
Senior Member
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17 |
Quote:
I think much of the problems we are having are: 1) wrong versions of libraries. They are very specific about the QT requirements, but I think there are others that are just as critical. Unfortunately I don't know what they are. 2) Having the include path not match the LD_LIBRARY_PATH so during compilation a .h file for a different version of the library is used. I tried to solve this by using the package manager to uninstall all other versions of QT, and openmpi. 3) Probably something else since I'm still stuggling with this. And I do have linux experience. It's easier for me to modify and rebuild a kernel than it is for me to get this software working. :-) On the system you reverted to, would you check some versions for me: gcc, openmpi, and qt. It might help me out. Given that paraview is so fussy about libraries, wouldn't it be possible for someone who has it working, to compile it with the libraries staticly linked in? (maybe that's not possible in today's linuxs) I know it defeats the purpose of shared libraries, but it's not all that efficient to have to load a special version of a shared library for one piece of software anyway. |
||
July 3, 2009, 14:16 |
|
#10 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Hi,
I have been trying to install OpenFOAM on my ubuntu 9.04 machine ans have succesfully installed but the paraview part is not working. I followed the same instructions as in the readme file. I have instaled qt4.3.5 and used the export commands in my ~/.bashrc file When I try to build paraview I get the following error message %%%%%%%%%%%%%%%%%%%%%%%%%%% CMake Error: This project requires some variables to be set, and cmake can not find them. Please set the following variables: QT_X11_Xext_LIBRARY (ADVANCED) -- Configuring done make: *** No targets specified and no makefile found. Stop. done %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% any help would be appreciated. Thanks |
|
July 3, 2009, 18:00 |
|
#11 | |
Senior Member
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17 |
Quote:
see this thread. |
||
July 4, 2009, 11:55 |
|
#12 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Hi,
I tried that method too but no avail. Thanks for your suggestion. |
|
July 4, 2009, 13:04 |
|
#13 |
Senior Member
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17 |
||
July 4, 2009, 13:15 |
|
#14 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
Thie current version of QT is Qt4.5 and when I run buildParaView command
It just says errors configuring not done No error message at all like in my previous case |
|
July 4, 2009, 13:25 |
|
#15 |
Senior Member
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 17 |
I believe the command you are supposed to use is buildParaView3.3-csv. (or is that cvs?) The buildParaview script is something that the first script calls after it sets things up for the build.
|
|
July 4, 2009, 13:40 |
|
#16 |
Member
Ramesh Yapalparvi
Join Date: Jun 2009
Posts: 53
Rep Power: 17 |
yes buildParaView3.3-cvs. I used the same command. I shall send you the log file
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[Commercial meshers] Boundary condition problems (OpenFOAM) | Milos | OpenFOAM Meshing & Mesh Conversion | 13 | October 13, 2016 20:58 |
Problems in representing convected derivatives in OpenFoam | titio | OpenFOAM Running, Solving & CFD | 1 | February 16, 2009 16:01 |
[General] OpenFoam - problems | MateuszZb | ParaView | 8 | July 21, 2008 17:16 |
[General] How to install the paraview | ztdep | ParaView | 0 | June 20, 2006 09:51 |
I want to install OpenFOAM in a computer without network card | luckyluke | OpenFOAM Installation | 2 | April 30, 2005 20:17 |