|
[Sponsors] |
March 9, 2010, 11:40 |
|
#281 | |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
This way right?
Quote:
__________________
|
||
March 9, 2010, 11:47 |
|
#282 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Sorry, no, I should have also posted the fix too
This is how it should be: Code:
echo "FIX up for Ubuntu 9.10" cd ~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64 mv libstdc++.so.6 libstdc++.so.6.orig ln -s `locate libstdc++.so.6.0 | grep "^/usr/lib" | head -n 1` libstdc++.so.6 mv libgcc_s.so.1 libgcc_s.so.1.orig ln -s `locate libgcc_s.so. | grep "^/lib" | head -n 1` libgcc_s.so.1 cd ~/OpenFOAM echo "Fix up done" Disclaimer: this change might not work in a reinstall over an existing OpenFOAM installation It should nonetheless work well in a clean install! |
|
March 10, 2010, 04:06 |
|
#283 | |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Quote:
cd ~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux/lib mv libstdc++.so.6 libstdc++.so.6.orig ln -s `locate libstdc++.so.6.0 | grep "^/usr/lib" | head -n 1` libstdc++.so.6 mv libgcc_s.so.1 libgcc_s.so.1.orig ln -s `locate libgcc_s.so. | grep "^/lib" | head -n 1` libgcc_s.so.1 cd ~/OpenFOAM Is it right or wrong? Thanks. In addition, if I does not fix up Ubunto 9.10, and install those steps the same as in Ubunto 9.04, what will happen? Why we need to mv libstdc++.so.6 libstdc++.so.6.orig ln -s `locate libstdc++.so.6.0 | grep "^/usr/lib" | head -n 1` libstdc++.so.6 mv libgcc_s.so.1 libgcc_s.so.1.orig ln -s `locate libgcc_s.so. | grep "^/lib" | head -n 1` libgcc_s.so.1 What is it meanings, you think? Moreover, if I do above steps, it seems that I can not plot the residue. Who can give some light? |
||
March 10, 2010, 07:06 |
|
#284 | ||||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings sandy,
Quote:
Quote:
Quote:
By what I vaguely remember from this thread, this "update" was necessary, due to some incompatibilities with the system's libraries, when compiling or running OpenFOAM applications or Paraview... you'll have to look back to previous posts for more specific information Quote:
Best regards, Bruno |
|||||
March 10, 2010, 08:22 |
|
#285 | |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Swe**, thanks Bruno.
Quote:
I just found there are no two "libstdc++.so.6.0" or "libgcc_s.so." in the 32bit version, so we actually need not worry about them. You knew everything, Bruno. However if the raw output of solvers also looks wrong, it will be very difficult to get the correctly final results, right? So, firstly we just need to watch. |
||
March 10, 2010, 08:33 |
|
#286 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Apparently, no I didn't know everything:
Quote:
True enough... garbage in, garbage out! But can you specify which solver and tutorial case is outputting bad values, just to verify if they're bad or not? There might be more to it than bad libraries! |
||
March 10, 2010, 08:41 |
|
#287 |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
Thank you Bruno, you have solved my problem
__________________
|
|
March 10, 2010, 08:48 |
|
#288 | |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Quote:
|
||
March 10, 2010, 08:58 |
|
#289 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
You're welcome Alessandro
Mads, you've got some additional tweaking there to do Quote:
My question was more about the bad results you are getting with the solvers, not the libraries themselves! |
||
March 15, 2010, 06:04 |
|
#290 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
Hi All.
I am sorry, I haven't followed this thread for a while (I didn't get notifications. Weird.). Very good work Bruno, I have added your new fix up section. We need some testers now :-) /Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
March 15, 2010, 06:34 |
|
#291 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Hi Mads, you need not to change the line
ln -s `locate libstdc++.so.6.0` libstdc++.so.6 .... ln -s `locate libgcc_s.so.` libgcc_s.so.1 into ln -s `locate libstdc++.so.6.0 | grep "^/usr/lib" | head -n 1` libstdc++.so.6 mv libgcc_s.so.1 libgcc_s.so.1.orig ln -s `locate libgcc_s.so. | grep "^/lib" | head -n 1` libgcc_s.so.1 in Ubuntu 9.10 32bit, because there is only one "libstdc++.so.6.0" or "libgcc_s.so." in its library. Sandy |
|
March 15, 2010, 07:29 |
|
#292 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Quote:
Best regards, Bruno |
|||
March 15, 2010, 07:39 |
|
#293 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
@Sandy, Bruno: Okay, so need not or shouldn't change the locate :-)? Is it okay that I leave it be (as it is now)? I haven't time to check it right now, but hopefully someone else would.
/Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
March 15, 2010, 18:07 |
|
#294 |
New Member
Join Date: Feb 2010
Posts: 21
Rep Power: 16 |
Hello,
I am unable to get the script, can you please post it on here or give me a another link. I desperately need to install Openfoam. Thanks in advance. Regards jish Last edited by jishnusoni; March 15, 2010 at 21:48. |
|
March 16, 2010, 04:10 |
Open foam insatallation
|
#296 |
Member
Javed
Join Date: Mar 2010
Location: Mumbai,India
Posts: 32
Rep Power: 16 |
Hi,
I m not able to install dt4-designer in ubuntu which is need for OF installation. I m new in Linux. Plz help me. |
|
March 16, 2010, 19:19 |
|
#297 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Javed,
Quote:
Best regards, Bruno |
||
March 17, 2010, 00:21 |
|
#298 |
Member
Javed
Join Date: Mar 2010
Location: Mumbai,India
Posts: 32
Rep Power: 16 |
Thanks for the reply.
It is qt4-designer. typo mistake. |
|
March 17, 2010, 03:19 |
|
#299 |
Member
Javed
Join Date: Mar 2010
Location: Mumbai,India
Posts: 32
Rep Power: 16 |
Hi, I am installing OF-1.6 on Ubuntu 8.1.
I have extracted files successfully into the Home/<username>/OpenFoam/ But not able to source bashrc file. Also from the comments of previous forum had confused me, which file to edit bashrc i n home location or from OpenFoam/OpenFOAM-1.6/etc location. I m getting following msg after using source bashrc command.. bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/etc/settings.sh: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/etc/aliases.sh: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/etc/apps/paraview3/bashrc: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/etc/apps/ensight/bashrc: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory bash: /home/iyer/OpenFOAM/OpenFOAM-1.6/bin/foamCleanPath: No such file or directory plz help me |
|
March 17, 2010, 05:18 |
|
#300 |
New Member
Join Date: Feb 2010
Posts: 21
Rep Power: 16 |
Hi Javed,
I would suggest that, delete all the OpenFoam files from your Home menu and just follow the Openfoam cookbook script. I had a same problem. Enter each command in the command line one by one and you will able to install Openfoam without any difficulty. regards jish |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
install OpenFoam 1.6 by building source: how? | niudie | OpenFOAM Installation | 13 | April 26, 2011 01:48 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |
install openfoam 1.6 on opensuse 11.0 | andresbh | OpenFOAM Installation | 8 | September 30, 2009 01:48 |
Install openFOAM 1.6 on debian 32bit - blockMesh: command not found | fossy | OpenFOAM Installation | 1 | August 28, 2009 05:06 |
Install of OpenFOAM 1.6 Error 1 Error 2 & run tutorial | potac | OpenFOAM Installation | 3 | August 27, 2009 10:04 |