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

Paraview problem on centOS

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   February 11, 2009, 16:19
Default Hi, I get this error when I r
  #1
Member
 
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 17
danielle is on a distinguished road
Hi,
I get this error when I run paraFoam:
paraview: symbol lookup error: /usr/lib64/libreadline.so.5: undefined symbol: PC

and libreadline was already installed in my machine ??
Any help ?
thanks
danielle is offline   Reply With Quote

Old   February 11, 2009, 21:57
Default I assume that you're using Ope
  #2
Assistant Moderator
 
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51
gschaider will become famous soon enoughgschaider will become famous soon enough
I assume that you're using OpenFOAM 1.5.

The readline-lib is there but a specific symbol is missing.
I installed 1.5 on CentOS machines half a year ago, BUT I'm in the habit of recompiling almost everything so, I'm not sure whether this specific problem occurred to me (did I mention that it was half a year ago?)

The problem is (I guess) that the binary packs were prepared on Suse machines and there are subtle differences in the libraries between different distros (and in the compilers)

The best thing you can do is recompile paraview (and while you're at it consider switching to 3.4) BUT the distributed binaries of the gcc won't work on RHEL/CentOS (because some multi-precision-library is missing, there are discussions about this elsewhere) and I don't recommend the compiler (v4.1) that comes with current versions of CentOS (you're living on 5.x, are you?)

So what I'd recommend is:
1. download the sources of gcc-4.3 compile it and install it in ThirdParty (adapt the settings.sh etc accordingly)
2. recompile OpenFOAM using the new compiler
3. recompile the distributed paraview. See the README for the very nice build-script that eases this task. It can also very easily be adapted to compile the current 3.4 version of paraview (hihgly recommended)
4. recompile the PV3-filter in OpenFOAM (see README)
(maybe I forgot something. Did I mention the 6 month memory gap?)

I think it is a good thing that OpenCFD provide binaries that cover a big fraction of the Linux-distributions in use (and making sure that things run smoothly only in Suse/RHEL/Ubuntu would be a huge task). They also state in the README-file which versions are tested. For all other distros you're more or less on your own. Or of course you can ask them for paid support on your distro, I guess.

Bernhard
__________________
Note: I don't use "Friend"-feature on this forum out of principle. Ah. And by the way: I'm not on Facebook either. So don't be offended if I don't accept your invitation/friend request
gschaider is offline   Reply With Quote

Old   February 12, 2009, 14:11
Default First thanks for your recommen
  #3
Member
 
Danielle PRL
Join Date: Mar 2009
Posts: 42
Rep Power: 17
danielle is on a distinguished road
First thanks for your recommendation Bernhard.
Yes I use centOs5.2.
I will use this recommendations.
danielle 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
ParaView display problem holzmichel OpenFOAM Bugs 7 April 27, 2009 19:42
OpenFOAM 15 and CentOS 52 installation issues remrich OpenFOAM Bugs 9 March 20, 2009 02:48
[OpenFOAM] Paraview installation problem mcjicpm2 ParaView 0 March 9, 2009 08:15
[OpenFOAM] Paraview problem nzy102 ParaView 7 April 12, 2007 10:20
[OpenFOAM] Some problem with paraview thermo ParaView 10 December 25, 2005 14:20


All times are GMT -4. The time now is 22:01.