|
[Sponsors] |
January 27, 2010, 07:49 |
|
#261 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
I don't quite follow you. The wget commands you state seem to be correct, no?
Note: I just changed the scripts for Ubuntu 9.10: the fixup section should now auto-detect det version number of libstdc-files. Let me know if there is any problems, or if anyone have unresolved issues. /Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
February 1, 2010, 22:09 |
|
#262 |
New Member
Eric
Join Date: Jan 2010
Posts: 1
Rep Power: 0 |
I just installed OpenFoam1.6 on a brand new computer with 64-bit Ubuntu 9.10.
Everything in the cookbook worked for me. On my old computer Paraview didn't work correctly (had to use vtk converter), now it works just fine. Thanks Mads! |
|
February 2, 2010, 04:18 |
|
#263 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
Great Eric! Happy foamin' :-)
I also installed on a new/fresh Ubuntu 9.10-64bit yesterday with the script, and everything works as it should. I never use paraFoam but always the foamToVTK and paraview method. /Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
February 2, 2010, 20:41 |
|
#264 |
Member
Join Date: Nov 2009
Posts: 48
Rep Power: 17 |
Hey Guys,
I am new OpenFoam and Linux user. I have downloaded the OpenFoam1.6 and Install it successfully on Ubunto 9.1. and I Think I Install the Qt 4.3.5 correctly. Because When I type this Commend: qmake --version I get this message: QMake version 2.01a Using Qt version 4.5.2 in /usr/lib Then When I wanna use ParaView by typing this command: paraFoam -case $FOAM_RUN/tutorials/incompressible/icoFoam/cavity { or typing the paraFoam} I get this Error: created temporary 'cavity.OpenFOAM' /home/mehran/OpenFOAM/OpenFOAM-1.6/bin/paraFoam: 132: paraview: not found I would be so grateful if you guys help me and tell exaclty what should I do with detail please ( Since I am new user ..) Thanks, |
|
February 3, 2010, 03:50 |
|
#265 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
Hi farhagim - are you the same person who just wrote me a private email? Anyways, it is not clear whether you follow my script or not. So, are you? I haven't seen the error you mention when the script is used (at least not recently :-) ).
/Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
February 3, 2010, 04:03 |
|
#266 | |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Quote:
My errors: /usr/bin/ld: cannot find -lgcc_s collect2: ld returned 1 exit status make: *** [/home/myfolds/OpenFOAM/OpenFOAM-1.6.x/wmake/bin/linux64Gcc/dirToStr ing] Error 1 .... In addition, when I run: ln -s `locate libgcc_s.so.` libgcc_s.so.1 it gave the information: ln: target `libgcc_s.so.1' is not a directory What's the matter, you think? Please help me out. Thanks. Sandy Last edited by sandy; February 3, 2010 at 04:26. |
||
February 18, 2010, 06:16 |
|
#268 |
Senior Member
Sandy Lee
Join Date: Mar 2009
Posts: 213
Rep Power: 18 |
Nein, I reinstalled the version to Ubuntu 9.04 but Ubuntu 9.10, now everything is very well ....
|
|
March 9, 2010, 07:56 |
|
#269 | |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
I am re-installing openFoam, I don't know why I get this error
Quote:
"it's not a directory" what's up?? Thank you
__________________
|
||
March 9, 2010, 08:10 |
|
#270 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi Alessandro,
I was half way typing code for ensuring re-installations, but then I reread the install script... You probably got that error because you didn't do a clean reinstall! The symbolic link probably already exists from the previous installation! If you did do a clean install, do: Code:
cd ~/OpenFOAM/ThirdParty-1.6/gcc-4.3.3/platforms/linux64/lib64 ls -l Best regards, Bruno |
|
March 9, 2010, 08:40 |
|
#271 | |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
Thank, this is the output,
Quote:
__________________
|
||
March 9, 2010, 09:07 |
|
#272 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Additionally, I should have tested this before, but when ln gives out that error, it's because locate found two libraries instead of just one. Run this: Code:
locate libstdc++.so.6.0 At the very least, for things to go smoothly, you should start a new terminal after removing the added line to "~/.bashrc" If you still get that same error, then edit the install script and change the locate part from: Code:
locate libstdc++.so.6.0 Code:
locate libstdc++.so.6.0 | head -n 1 Mads, you might need to add this tip to your script Best regards, Bruno |
||
March 9, 2010, 09:19 |
|
#273 | ||
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
First of all, thank you Bruno
So, while working I have done a mistake and I have erased all the folders/files inside the openFoam folder (rm -r *). After that I am trying to reinstall openFoam from the script, but I have got the error above. I have deleted the line in bash file. Quote:
Quote:
Can I proceede to compile? Thank again
__________________
|
|||
March 9, 2010, 09:24 |
|
#274 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Best regards, Bruno |
||
March 9, 2010, 10:25 |
|
#275 | |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
A lots of errors..
Quote:
Maybe a fresh ubuntu installation will solve the problem?? Or what i have to do to reinstall openFoam without problems?? Thank you
__________________
|
||
March 9, 2010, 10:43 |
|
#276 | ||
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Quote:
Quote:
If it still breaks identically to your previous post, then check what Code:
locate libgcc_s.so.
By the way, when you finally get OpenFOAM running again, I suggest doing a full backup of the OpenFOAM folders Best regards, Bruno |
|||
March 9, 2010, 11:00 |
|
#277 | |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
Delete the whole openFoam folders with rm -rf *
Edited .bashrc inside home folder Still no solve I have the same errors Quote:
__________________
|
||
March 9, 2010, 11:21 |
|
#278 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
OK, I had to go back to a few posts back, and figured out which libraries should be the correct links. Change the 2 locates on the script file to these respective versions:
Code:
locate libstdc++.so.6.0 | grep "^/usr/lib" | head -n 1 locate libgcc_s.so. | grep "^/lib" | head -n 1 But first run these same lines in a terminal, just to confirm that they return the correct libraries. The grep command is set here to find occurrences that start with /usr/lib and /lib, respectively. Now use the new modified install version in a clean OpenFOAM folder, just in case |
|
March 9, 2010, 11:23 |
|
#279 | |
Member
Alessandro
Join Date: Nov 2009
Posts: 67
Rep Power: 16 |
Thank you again
Here the output Quote:
__________________
|
||
|
|
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 |