CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

HowTo Make paraFoam from OpenFOAM15 work on OpenSuse11 by installing Qt435 in home directory

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 28, 2009, 10:14
Default
  #1
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by sega View Post
Well, last time it worked and now I get this error when doing

Code:
sudo make install
Code:
make[1]: *** [.obj/release-shared/qapplication.o] Fehler 1
Any ideas whats wrong?
Just found in another forum that installing
Code:
xorg-dev
fixed the problem!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 30, 2009, 08:22
Default
  #2
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
After managing to compile the ParaView I am having trouble with my other linux software.

For example, when trying to run kate I get this symbol lookup error
Code:
sega@deepblue:~$ kate
kate: symbol lookup error: /usr/lib/libkde3support.so.4: undefined symbol: _ZN13QWidgetAction11eventFilterEP7QObjectP6QEvent
Seems to be a problem with this libkde3support?!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   June 2, 2009, 18:02
Default
  #3
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by sega View Post
After managing to compile the ParaView I am having trouble with my other linux software.

For example, when trying to run kate I get this symbol lookup error
Code:
sega@deepblue:~$ kate
kate: symbol lookup error: /usr/lib/libkde3support.so.4: undefined symbol: _ZN13QWidgetAction11eventFilterEP7QObjectP6QEvent
Seems to be a problem with this libkde3support?!
After switching back to Qt 4.5.0 (deleting the Qt related entry in bashrc) I was able to suppress the error message and ParaView is still working!
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   June 26, 2009, 11:18
Default
  #4
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 16
hansel is on a distinguished road
Quote:
Originally Posted by tckosvic View Post
Tammo,

I have worked through my missing make system and gotten Qt-4.3.5 to compile, make, and install into ThirdParty directory of OpenFOAM.

Now when I run paraFoam for the cavity case as in the example, I get message below:

tom@linux-l8tg:~/OpenFOAM/tom-1.5/run/tutorials/icoFoam/cavity> paraFoam

paraview: symbol lookup error: /home/tom/OpenFOAM/ThirdParty/ParaView3.3-cvs/platforms/linuxGcc/bin/libpqCore.s o: undefined symbol: _ZN14QObjectPrivate15checkWindowRoleEv



Thanks,

Tom Kosvic
Tom, how did you solve this problem. In the next post I see you say it worked, but I don't see any post that suggested the fix.
hansel is offline   Reply With Quote

Old   June 26, 2009, 11:32
Default
  #5
Senior Member
 
sega's Avatar
 
Sebastian Gatzka
Join Date: Mar 2009
Location: Frankfurt, Germany
Posts: 729
Rep Power: 20
sega is on a distinguished road
Quote:
Originally Posted by hansel View Post
Tom, how did you solve this problem. In the next post I see you say it worked, but I don't see any post that suggested the fix.
I had some problems with symbol lookup errors, too.
Which distribution are you using?

I could fix the problem by deleting the Qt related entries in OpenFOAMs bashrc file on my Kubuntu 9.04 system.
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   June 26, 2009, 13:43
Default
  #6
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 16
hansel is on a distinguished road
Quote:
Originally Posted by sega View Post
I had some problems with symbol lookup errors, too.
Which distribution are you using?

I could fix the problem by deleting the Qt related entries in OpenFOAMs bashrc file on my Kubuntu 9.04 system.
I'm on Ubuntu 9.04. I originally had a working OpenFOAM system that I got by a combination of trying to install myself and the installation script that someone put out. But then I tried to upgrade to 1.5.x and messed everything up. (I should have left Thirdparty alone.)

I've compiled with several versions of QT (The one that 4.5 (I think, its the one that installs with package manager), 4.3.1 and 4.3.5. None of my compilations would run. I am currently trying the binary Thirdparty distribution, but I'm still getting the error about libPWCore.so (again trying different Qts) The strange thing is that library is right in the paraview tree, how can it be messed up?

Steve
hansel is offline   Reply With Quote

Old   June 26, 2009, 13:47
Default
  #7
Senior Member
 
Steve Hansel
Join Date: Jun 2009
Location: Colorado, USA
Posts: 112
Rep Power: 16
hansel is on a distinguished road
Quote:
Originally Posted by sega View Post
I had some problems with symbol lookup errors, too.
Which distribution are you using?

I could fix the problem by deleting the Qt related entries in OpenFOAMs bashrc file on my Kubuntu 9.04 system.
I don't see any Qt related enteries in bashrc or settings.sh
hansel is offline   Reply With Quote

Old   November 17, 2008, 20:55
Default Tammo, It worked!!! I can
  #8
New Member
 
Thomas Kosvic
Join Date: Mar 2009
Posts: 4
Rep Power: 17
tckosvic is on a distinguished road
Tammo,

It worked!!! I can look at the grid of the cavity case using paraFoam. The parafoam does not ask me for a reader now it just opens one up.

I am using OpenFOAM 1.5 (32 bit) and SUSE 11 and GNOOME shell.

I did have to recompile both paraview and parafoam. The compile, make, and install of qt takes a very long time even though I have dual processor 3.0 ghz machine.

Thanks, Tammo.

Now, I can start doing more than just installation tasks. I need to learn how the viewer works.

Tom Kosvic
tckosvic is offline   Reply With Quote

Old   November 19, 2008, 12:34
Default Tom, Nice to see more succe
  #9
New Member
 
Ken Helland
Join Date: Mar 2009
Location: USA
Posts: 9
Rep Power: 17
kenhelland is on a distinguished road
Tom,

Nice to see more success with 11. I was close to switching to 10.3.

My compile of qt runs in about 35 minutes. The remainder of the steps are usually in the "few minutes" range. I have the quad core 2.66 GHz with 4 GB of memory.

I want to add 4 G more and try the 64-bit software as time permits.

Ken
kenhelland is offline   Reply With Quote

Old   November 28, 2008, 06:17
Default Hey Tammo, Thanks a lot dud
  #10
New Member
 
Ameya Durve
Join Date: Mar 2009
Location: Mumbai, Maharashtra, India
Posts: 20
Rep Power: 17
ameya is on a distinguished road
Hey Tammo,

Thanks a lot dude.

Your tips helped me a lot.

ParaView has strated working on my OpenSUSE 11.0

Keep up the good work.
ameya is offline   Reply With Quote

Old   November 28, 2008, 06:53
Default Hi, Tammo, Thanks for the s
  #11
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi, Tammo,

Thanks for the steps. I have also installed Qt-4.3.5 successfully on OpenSuSE 11.0 by following your steps. The only problem happened to me was that, after including "export LD_LIBRARY_PATH=$QT/lib:$LD_LIBRARY_PATH" in ~OpenFOAM/OpenFOAM-1.5/etc/bashrc, I was no longer able to log into my user account. I had to remove it by logging into root.

I have also updated to paraview 3.4 by following Bernhard's post. Paraview 3.4 fixed a couple of problem I had with paraview 3.3 - sweet!

Pei
hsieh is offline   Reply With Quote

Old   December 17, 2008, 12:52
Default Hello, i have the same error a
  #12
New Member
 
clément ROSCHENKO
Join Date: Mar 2009
Posts: 1
Rep Power: 0
neshi is on a distinguished road
Hello, i have the same error as Samuel....

I succesfully install OpenFOAM and he can calculate some case (tutorials for example). But i can't display results with paraview because the native reader for openFOAM file is missing.....

I tried to install the native reader for OpenFOAM, as the README file explains (PV3Foamreader), but during the process the script cannot find 'libPV3Foamreader.so' in directory :

$HOME/OpenFOAM/OpenFOAM-1.5/lib/linuxGccDPOpt/libPV3FoamReader.so.

I checked the directory and the file wasn't here! So, i think the file is not in the binary file and i would like to know if is it possible to retrieve this file from another source?

I use the "32 bits" version of OpenFOAM and i work on ubuntu 8.10 with this kernel '2.6.27-9-generic'.

On the other hand, i installed successfully the '64 bits' version of OpenFOAM on another computer. This version works perfectly, paraview too.....with the native reader ;).

And for this, 'libPV3Foamreader' exists in the correct location...

I need to make the '32 bits' version worked, somebody can help me please. I read many topics here and i couldn't find a complete solution to my problem.

Thank you in advance for any help you could give to me.

Neshi
neshi is offline   Reply With Quote

Old   December 17, 2008, 15:32
Default Hi, That is odd. I was abl
  #13
Senior Member
 
Pei-Ying Hsieh
Join Date: Mar 2009
Posts: 317
Rep Power: 18
hsieh is on a distinguished road
Hi,

That is odd. I was able to compile paraview/paraFoam on 32 bit Ubuntu 8.10 without any problem (do need Qt-4.3.5). There is a thread on paraview/paraFoam on Ubuntu. Some additional packages (libmpfr-dev..) are needed according to the thread. You can check it out.

Pei
hsieh is offline   Reply With Quote

Old   December 19, 2008, 04:18
Default @Clement: Sorry, but I don'
  #14
New Member
 
Tammo Wenterodt
Join Date: Mar 2009
Posts: 24
Rep Power: 17
wenterodt is on a distinguished road
@Clement:

Sorry, but I don't know Samuel nor his error...

As mentioned before by others, it may be necessary to not only recompile the Foamreader, but also Paraview itself. I think you should try if the error disappears after compiling both.

//Tammo
wenterodt is offline   Reply With Quote

Old   January 2, 2009, 11:24
Default Hi all, I'm new to linux an
  #15
Member
 
Marco Müller
Join Date: Mar 2009
Location: Germany
Posts: 94
Rep Power: 17
marico is on a distinguished road
Hi all,

I'm new to linux and OpenFOAM so I spent a few hours in try and error...

on my OpenSUSE 11.0 64bit I first got the same problem with the visualization of geometry etc... Then I followed the instructions of Tammo and got the same problem like others: I wasnt anymore able to login as a user (except of root).. I tried a lot and finally it worked by erasing the last line from the command:

# set QT related variables
QT=~/OpenFOAM/ThirdParty/Qt-4.3.5
export PATH=$QT/bin:$PATH
export LD_LIBRARY_PATH=$QT/lib:$LD_LIBRARY_PATH

Dont know if it is needed... now post-processing works and Linux allows me to log in ;) ...

PS: I had to recompile Paraview
marico is offline   Reply With Quote

Old   January 9, 2009, 04:11
Default Hi All, I was able to insta
  #16
New Member
 
Jaap Louwen
Join Date: Mar 2009
Location: Amsterdam, N-Holland, Netherlands
Posts: 2
Rep Power: 0
jaaplouwen is on a distinguished road
Hi All,

I was able to install everything and get it working by following Tammo's instructions. At one point I too found I could not login. The reason that was that I sourced the OpenFOAM bashrc (modified to allow the use of Qt-4.3.5) in my .bashrc file. Apparently, this is a problem for KDE4. If I source the OpenFOAM bashrc after login, there is no such problem. This may explain the problems some of you had.

Jaap
jaaplouwen is offline   Reply With Quote

Old   January 9, 2009, 04:12
Default Hi All, I was able to insta
  #17
New Member
 
Jaap Louwen
Join Date: Mar 2009
Location: Amsterdam, N-Holland, Netherlands
Posts: 2
Rep Power: 0
jaaplouwen is on a distinguished road
Hi All,

I was able to install everything and get it working by following Tammo's instructions. At one point I too found I could not login. The reason that was that I sourced the OpenFOAM bashrc (modified to allow the use of Qt-4.3.5) in my .bashrc file. Apparently, this is a problem for KDE4. If I source the OpenFOAM bashrc after login, there is no such problem. This may explain the trouble some of you had.

Jaap
jaaplouwen is offline   Reply With Quote

Old   January 9, 2009, 05:44
Default Hi Tammo, great work, no pr
  #18
Member
 
Thomas Wolfanger
Join Date: Mar 2009
Location: South West Germany
Posts: 62
Rep Power: 17
anger is on a distinguished road
Hi Tammo,

great work, no problems here.
Installed it according to your recipe, worked out of the box. The only thing I changed was to not use the tilda for setting the variable QT:

QT=/home/foamuser/OpenFOAM/ThirdParty/Qt-4.3.5

System: Debian Sid based on Kanotix 2006-4, x86_64

Best regards,
-Thomas
anger is offline   Reply With Quote

Old   January 13, 2009, 13:06
Default Thanks to Thomas! I used th
  #19
New Member
 
Ken Helland
Join Date: Mar 2009
Location: USA
Posts: 9
Rep Power: 17
kenhelland is on a distinguished road
Thanks to Thomas!

I used the variable QT:

QT=/home/OpenFOAM/ThirdParty/Qt-4.3.5

since I followed Tammo's prescription for locating the Qt pkg.

This solved my login problems using KDE4. I am now running openSUSE 11.1 and with this QT I can use KDE4 without problems. There are a few nice improvements in 11.1 so I am pleased.

Again, thanks for idea
Ken
kenhelland is offline   Reply With Quote

Old   January 18, 2009, 12:14
Default hi everybody i am new t
  #20
Senior Member
 
NAVEEN.K.M
Join Date: Mar 2009
Location: Bangalore, Karnataka, india
Posts: 114
Rep Power: 17
naveen is on a distinguished road
hi everybody

i am new to OpenFOAM..I AM FACING PROBLEM IN INSTALLING openfoam 1.4.1 in mandriva LINUX 2008.1 VERSION...can u please help me how to install this with detailed procedure...
naveen is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
[OpenFOAM] ParaFoam error in OpenFOAM15 asaha ParaView 24 November 2, 2009 19:16
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 10:46
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 04:41
Howto install OpenFOAM on mandriva2009qt44 with Qt435 in home directory gzy_1228 OpenFOAM Installation 0 November 15, 2008 14:31
ParaFoam didnbt work Leosding (Leosding) OpenFOAM Installation 11 February 17, 2005 16:44


All times are GMT -4. The time now is 07:58.