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

problem with paraFoam (3.8 and OF1.7) since the upgrade to OpenSuSE 11.4

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   February 29, 2012, 10:04
Default problem with paraFoam (3.8 and OF1.7) since the upgrade to OpenSuSE 11.4
  #1
Cyp
Senior Member
 
Cyprien
Join Date: Feb 2010
Location: Stanford University
Posts: 229
Rep Power: 9
Cyp is on a distinguished road
Hi!

I have a problem with my paraview installation since the IT service of my company upgrade my operating system to OpenSUSE 11.4

I use OF 1.7.0 and the associated paraview 3.8.
When I launch the paraFoam command, I get the following error message :

Code:
/home1/gemp/csoulain/OpenFOAM/ThirdParty-1.7.0/platforms/linux64Gcc/paraview-3.8.0/lib/paraview-3.8/paraview-real: error while loading shared libraries: libpython2.6.so.1.0: cannot open shared object file: No such file or directory
I don't know what to do to solve the problem....

Regards,
Cyp
Cyp is offline   Reply With Quote

Old   March 2, 2012, 08:43
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,312
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Cyp,

You've got two options:
  1. Either upgrade your ParaView version to 3.12.0, from the usual OpenFOAM download pages. Then edit the file "OpenFOAM-1.7.0/etc/apps/paraview3/bashrc" and change the numbers to fit the new version.
  2. Or do a symbolic link, after searching for the current python library:
    Code:
    find /usr/lib -name "libpython*"
    find /usr/lib64 -name "libpython*"
    mkdir -p $FOAM_USER_LIBBIN
    ln -s /usr/lib/libpython.so.2.7.1 $FOAM_USER_LIBBIN/libpython2.6.so.1.0
    Keep in mind that this is just an example
Best regards,
Bruno
wyldckat is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 14:33.