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

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

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread 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: 299
Rep Power: 18
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
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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


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 15:55.