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 Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 11, 2009, 10:25
Default
  #41
New Member
 
Join Date: Apr 2009
Posts: 10
Rep Power: 16
Pierpaolo is on a distinguished road
Thank you very much!

It worked here on both Gentoo and Pclinuxos.
Pierpaolo is offline   Reply With Quote

Old   April 19, 2009, 05:06
Default
  #42
Member
 
Nugroho Adi
Join Date: Mar 2009
Location: norway
Posts: 79
Rep Power: 17
mahaputra 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

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

After this I went and recompiled paraFoam (7.2 step). When I ran paraFoam again I got the same message regarding undefined symbol.

I do not have enough capabilities with SUSE to diagnose problem any further.

Anyone have any ideas?

Thanks,

Tom Kosvic
Tammo and Thomas and All


i followed your instruction to install paraview, but i installed it for OpenFOAM-1.5-dev

but i got the error message like this below, when i tried to start paraview

simulation15@user-laptop:~$ paraview
paraview: symbol lookup error: /usr/lib/paraview/libpqCore.so: undefined symbol: _ZN11QFormLayout16staticMetaObjectE

and this error when tried to run paraFoam :



simulation15@user-laptop:~/OpenFOAM/simulation15-1.5-dev/run/tutorials/icoFoam/cavity$ paraFoam
paraview: symbol lookup error: /usr/lib/paraview/libpqCore.so: undefined symbol: _ZN11QFormLayout16staticMetaObjectE



could you please help me to solve this problem?
mahaputra is offline   Reply With Quote

Old   April 20, 2009, 23:43
Default
  #43
Senior Member
 
lakeat's Avatar
 
Daniel WEI (老魏)
Join Date: Mar 2009
Location: Beijing, China
Posts: 689
Blog Entries: 9
Rep Power: 21
lakeat is on a distinguished road
Send a message via Skype™ to lakeat
Okay, allow me put it here, I found paraFoam didn't work on my OpenSUSE-11.0,
qmake --version shows 4.4.3, gcc is 4.4.0,

what have to note is the error:
/usr/lib/libpython2.5.so, needed by blah blah,

and I did:
ln -s /usr/lib/libpython2.6.so.1.0 /usr/lib/libpython2.5.so

and recompile util/postprocessing graphics/PV3FoamReader, then paraFoam works.
__________________
~
Daniel WEI
-------------
Boeing Research & Technology - China
Beijing, China
Email
lakeat is offline   Reply With Quote

Old   May 1, 2009, 07:48
Default paraFoam working with Qt 4.4.0
  #44
Super Moderator
 
bigphil's Avatar
 
Philip Cardiff
Join Date: Mar 2009
Location: Dublin, Ireland
Posts: 1,086
Rep Power: 34
bigphil will become famous soon enoughbigphil will become famous soon enough
Hi everybody,

I got ParaFoam to work on openSUSE 11.0 with Qt 4.4.0.

I am using OpenFOAM-1.5-dev.

I installed cmake 2.4-patch 6.

I compiled paraview the usual way and then the PV3FoamReader the usual way too.

It's ParaView-3.3-cvs.

So far paraFoam looks good, I tried it on the icoFoam tutorial case.


Kind Regards,
Philip
bigphil is offline   Reply With Quote

Old   May 28, 2009, 11:01
Default
  #45
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
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?
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Old   May 28, 2009, 11:14
Default
  #46
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, 09:22
Default
  #47
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, 19:02
Default
  #48
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, 12:18
Default
  #49
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, 12:32
Default
  #50
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, 14:43
Default
  #51
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, 14:47
Default
  #52
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   June 26, 2009, 18:01
Default
  #53
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 wenterodt View Post
3.
add the following lines to your ~/OpenFOAM/OpenFOAM-1.5/etc/bashrc at the very end
# 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
I'm talking about these entries. Do you put them into OpenFOAM's bashrc?
I had to delete the entry to make it work on my Kubuntu 9.04
__________________
Schrödingers wife: "What did you do to the cat? It's half dead!"
sega is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 20:16
OpenFOAM15 paraFoam bug koen OpenFOAM Bugs 19 June 30, 2009 11:46
OpenFOAM15 installables are incomplete problem with paraFoam tryingof OpenFOAM Bugs 17 December 7, 2008 05:41
Howto install OpenFOAM on mandriva2009qt44 with Qt435 in home directory gzy_1228 OpenFOAM Installation 0 November 15, 2008 15:31
ParaFoam didnbt work Leosding (Leosding) OpenFOAM Installation 11 February 17, 2005 17:44


All times are GMT -4. The time now is 16:00.