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

paraFoam and Qt

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 15, 2009, 06:31
Default paraFoam and Qt
  #1
New Member
 
Brian Angel
Join Date: May 2009
Posts: 4
Rep Power: 16
jmabna is on a distinguished road
We've recently installed Qt v4.3.1 and OpenFoam v1.5 on a new linux machine. Both installations appear to have worked and the script foamInstallationTest gives the all clear for critical and basic settings.

We then tried to run the laminar flow in a cavity tutorial and all works well except paraFoam which cannot find the library libQtAssistantClient.so.4

This library is present in the Qt installation (located in /usr/local/Trolltech/....). Does an environment variable need to be set in the PATH for paraFoam to see this library? If so, does anyone know which variable and how to set it in bash?
jmabna is offline   Reply With Quote

Old   May 15, 2009, 08:09
Default PATH for Qt
  #2
New Member
 
Brian Angel
Join Date: May 2009
Posts: 4
Rep Power: 16
jmabna is on a distinguished road
With regards to my above problem, I've now seen how to set the path for Qt in my bashrc and in doing "echo $PATH" the "bin" directory in the Qt installation path is now listed.

However, when launching paraFoam for the icoFoam/cavity tutorial, I still get the same error message concerning the shared object file libQtAssitantClient.so.4 i.e. there is no such file or directory.

Any thoughts anyone and thanks for any help.
jmabna is offline   Reply With Quote

Old   May 15, 2009, 08:50
Default
  #3
lin
Senior Member
 
Hua Zen
Join Date: Mar 2009
Posts: 138
Rep Power: 17
lin is on a distinguished road
Read the related readme or similiar file of Qt install package.

You need to set LD_LIBRARY_PATH.
lin is offline   Reply With Quote

Old   May 15, 2009, 09:34
Default
  #4
New Member
 
Brian Angel
Join Date: May 2009
Posts: 4
Rep Power: 16
jmabna is on a distinguished road
Hello Lin,

I had and the Qt assistant stated that if GCC compiler is being used one shouldn't need to extend this path. However, I have now done so and paraFoam no longer gives this error message. Thanks.

However, the new problem is now a look up error with /usr/lib64/libreadline.so.5: undefined symbol: PC

Any thoughts?
jmabna is offline   Reply With Quote

Old   May 15, 2009, 19:02
Default
  #5
Senior Member
 
David Gaden
Join Date: Apr 2009
Location: Winnipeg, Canada
Posts: 437
Rep Power: 22
marupio is on a distinguished road
Have you tried recompiling paraview and parafoam, as described in the readme? I had to try this a number of times before it finally worked...
marupio is offline   Reply With Quote

Old   May 18, 2009, 02:55
Default
  #6
New Member
 
Brian Angel
Join Date: May 2009
Posts: 4
Rep Power: 16
jmabna is on a distinguished road
Hello Marupio,

I'd give it a try but the script buildParaView3.3-cvs does not appear to be included in the V1.5 download. I've contacted OpenCFD and asked them to send it to me so that I can try the recompile.

Thanks.
jmabna is offline   Reply With Quote

Old   May 19, 2009, 04:13
Default
  #7
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Quote:
Originally Posted by jmabna View Post
I'd give it a try but the script buildParaView3.3-cvs does not appear to be included in the V1.5 download. I've contacted OpenCFD and asked them to send it to me so that I can try the recompile.
Has it really disappear from the git repository? Hard to believe.
olesen is offline   Reply With Quote

Old   May 19, 2009, 07:06
Default
  #8
Senior Member
 
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,685
Rep Power: 40
olesen has a spectacular aura aboutolesen has a spectacular aura about
Here's a pointer to the git repo
http://repo.or.cz/w/OpenFOAM-1.5.x.git
the build script is still there.
olesen 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



All times are GMT -4. The time now is 10:17.