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

Problem installing OpenFoam-version 1.7.1 on SuSE 11.3 using the RPM Pack

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   April 2, 2011, 01:30
Default Problem installing OpenFoam-version 1.7.1 on SuSE 11.3 using the RPM Pack
  #1
New Member
 
Join Date: Apr 2011
Posts: 3
Rep Power: 15
lil_jam is on a distinguished road
Hey fellows, need some tiny thing here :

I followed instructions on http://www.openfoam.com/download/suse.php
apparently downloading OpenFOAM for SuSE 11.3 x86_64bit. But happened to have some error which I can't solve:

by icoFoam -help gives out error: icoFoam: error while loading shared libraries: libscotch-5.1.so: cannot open shared object file: No such file or directory


sudo rpm -q libscotch gives: package not installed

sudo rpm -q libscotch-dev gives: libscotch-dev-5.1.6.dfsg-4.x86_64
(installed)



but I repeat instruction 4. for installing the 64bit of the libscotch library version gives: Preparing packages for installation...
package libscotch-5.1-5.1.6.dfsg-4.x86_64 is already installed


why does this error happened? looking foward for the solution of this problem!

thanks!



lil_jam is offline   Reply With Quote

Old   April 2, 2011, 05:50
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 lil_jam and welcome to the forum!

Try this:
Code:
rpm -q libscotch-5.1
I've just tested to install this in openSUSE 11.3 and all went OK, although there is a step missing on the official page:
Code:
sudo zypper in libqt4 libQtWebKit4
Only afterwards will you be able to install the ParaView rpm.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 2, 2011, 10:45
Default
  #3
New Member
 
Join Date: Apr 2011
Posts: 3
Rep Power: 15
lil_jam is on a distinguished road
thank you Bruno for the speedy answer. I've repeated the step 4 and tried again downloading these 4 stuffs like below. All showed 'already installed' beside the 1st one.

sudo rpm -i --badreloc --relocate /usr/lib=/usr/lib64 \
http://www.openfoam.com/download/sus...g-4.x86_64.rpm

sudo rpm -i --badreloc --relocate /usr/lib=/usr/lib64 \
http://www.openfoam.com/download/sus...g-4.x86_64.rpm

sudo rpm -i http://www.openfoam.com/download/sus...0-2.x86_64.rpm


sudo rpm -i --nodeps http://www.openfoam.com/download/sus...0-2.x86_64.rpm

As when I downloaded the 1st line, it appeared this :

rpm: relocations must begin with a /


I also tried opening icoFoam -help on 2nd terminal, and showed this error :

icoFoam: error while loading shared libraries: libscotch-5.1.so: cannot open shared object file: No such file or directory

that was like previously, where when I checked it again for libscotch ie line 1.


best regards
lil_jam is offline   Reply With Quote

Old   April 2, 2011, 12:05
Default
  #4
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
Hi lil_jam,

OK, try this:
Code:
sudo -s

rpm -i --badreloc --relocate /usr/lib=/usr/lib64 http://www.openfoam.com/download/suse/11.3/x86_64/libscotch-5.1-5.1.6.dfsg-4.x86_64.rpm       

#then finally exit root mode
exit
This way it's executed directly in root mode and there isn't any "\" that could damage the command.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   April 26, 2011, 06:20
Default
  #5
New Member
 
Join Date: Apr 2011
Posts: 3
Rep Power: 15
lil_jam is on a distinguished road
Hi Bruno!

sorry that I've been away lately. Sorry I really tried it again. but it didn't work either. Still the same result as my 1st post.

best regards

lil_jam
lil_jam is offline   Reply With Quote

Old   April 28, 2011, 15:09
Default
  #6
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
Hi lil_jam,

Mmm, then the only option that comes to mind is to:
  1. Launch yast2 and go to the "Software Management" option.
  2. Update/refresh the repositories.
  3. Request it to re-install libscotch, until it's properly installed.
  4. Then run the other instructions once again.
Hopefully this should solve the problem. I didn't give more detailed instructions because right now I don't have an openSUSE box at arms length

Best regards and good luck!
Bruno
__________________

Last edited by wyldckat; April 28, 2011 at 15:10. Reason: fixed typos...
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
My experiences about Installing OpenFOAM on OPENSUSE103 32bit coompressor OpenFOAM Installation 9 February 19, 2010 00:00
Problem in Paraview While installing OpenFOAM 15 in Suse 103 altranindia OpenFOAM Installation 1 February 20, 2009 10:20
Pls help last problem to be solved for installing OPENfoam daydayuper OpenFOAM Installation 5 November 9, 2008 05:59
Adventure of fisrst openfoam installation on Ubuntu 710 jussi OpenFOAM Installation 0 April 24, 2008 15:25
Problem installing OpenFOAM 141 sachin OpenFOAM Installation 2 February 22, 2008 11:20


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