|
[Sponsors] |
August 12, 2009, 06:58 |
git installation of 1.6
|
#1 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Hej,
I have a problem installing the git version of 1.6.x. I used the command provided on the openfoam website and i now have a OpenFOAM-1.6.x folder in my ~/OpenFOAM folder. Then I wanted to use the Allmake command but the compilation failed, so I source the bin of the git version first and tried it again, now the compiler is looking for the ThirdParty-1.6.x version. How do I get rid of this error? |
|
August 12, 2009, 15:51 |
|
#2 |
Member
Ulrich Heck
Join Date: Mar 2009
Location: Krefeld, Germany
Posts: 41
Rep Power: 17 |
Hi Roman,
I just copied the complete ThirdParty-1.6 to ThirdParty-1.6.x and and ran Allwmake in OpenFOAM-1.6.x. Ulrich |
|
August 13, 2009, 03:23 |
|
#3 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Rename the ThirdParty-1.6 directory to ThirdParty-1.6.x.
Then build paraview (see the readme file) and then OpenFOAM to have a smooth process. Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
August 13, 2009, 04:16 |
not working anymore
|
#4 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Hej,
I did the part about the third party folder and compiled openfoam, but now my openfoam can't find the commands which belong to openfoam. I have not compiled paraFoam yet, but this shouldn't have anything to do with openfoam. Is there a special trick that i have to use, like moving the content of 1.6.x into the 1.6 folder and then set the variables in the bash to this folder again? |
|
August 13, 2009, 04:24 |
|
#5 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
The line in your ~/.bashrc has to be changed too:
. $HOME/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc But if this is the reason, you should have had problems also to compile, I would say.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
August 13, 2009, 04:38 |
did that
|
#6 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
yeah i did that, but its still not working. to compile i only have to use the ./Allwmake command in the main directory 1.6.x right, or maybe some other make commands as well?
|
|
August 13, 2009, 04:46 |
|
#7 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Yes, that is correct. What distribution are you using? Did you check compilation actually succeeded (commands might be missing because the executable is not there)?
Best,
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
August 13, 2009, 04:50 |
|
#8 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
i am using ubuntu 9.04 64bit, i checked the compiling log this morning and it didn't show any errors, but i also double checked the folders for example decomposePar in applications/utilities is 44file and 2.7MB in the 1.6 folder but only 66kB and 19 files in the 1.6.x folder.
so yeah the compilation didn't throw any errors, but i still don't have the executables.
__________________
~roman |
|
August 13, 2009, 04:56 |
|
#9 | |
Assistant Moderator
Bernhard Gschaider
Join Date: Mar 2009
Posts: 4,225
Rep Power: 51 |
Quote:
ln -s ThirdParty-1.6 ThirdParty-1.6.x (it's not about diskspace, it's about needing to update things only once) |
||
August 13, 2009, 05:25 |
softlink
|
#10 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
yeah i thought about the softlink as well, but i wanted to keep at least one of my installations working, so i copied. I noticed in the compile-output that it compiles the foamReader as well. And if i would have done that in my original folder, I might have no foamReader available now.
The thing is that I need the update, otherwise I would run with the old 1.6. But the update that I need has just been pushed in. Maybe someone has an idea what could go wrong, or if I need to run something else after I compiled with ./Allwmake
__________________
~roman |
|
August 13, 2009, 06:59 |
Error message at the beginning of the compile
|
#11 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Hej,
I tried compiling it again. There is an error message, but it keeps on compiling. I don't really know if the message means something, but it seems that it is missing something. Code:
gcc -m64 -Wall -O3 -fPIC dirToString.c -o /home/piotr/OpenFOAMOpenFOAM-1.6.x/wmake/bin/linux64Gcc/dirToString flex wmkdep.l make: flex: Command not found make: *** [/home/piotr/OpenFOAM/OpenFOAM-1.6.x/wmake/bin/linux64Gccwmkdep] Error 127 and this message is thrown very often as well Code:
/bin/sh: /home/piotr/OpenFOAM/OpenFOAM-1.6.x/wmake/bin/linux64Gcc/wmkdep: not found
__________________
~roman |
|
August 13, 2009, 07:41 |
|
#12 |
Senior Member
|
Hi,
You will need to install flex to overcome that problem. To use 4 CPUs you will need the following before starting compilation: export WM_NCOMPPROCS=4 Regards, Jose Santos |
|
August 13, 2009, 08:31 |
thank you
|
#13 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Thanks to all of you, it worked and I finally got everything working here.
__________________
~roman |
|
September 7, 2009, 06:52 |
|
#14 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
Hi Romant,
I have the same problem when compiling OpenFOAM with ./Allwmake. I often get an error message with wmkdep like the following one : OpenFOAM-1.6.x/wmake/bin/linux64Gcc/wmkdep: not found How did you solved this problem ? Thanks for helping me. Regards, Stephane. |
|
September 17, 2009, 23:32 |
|
#15 | |
New Member
zeni
Join Date: Sep 2009
Posts: 2
Rep Power: 0 |
Quote:
|
||
September 18, 2009, 01:51 |
|
#16 | |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Quote:
__________________
~roman |
||
September 18, 2009, 06:44 |
|
#17 |
Senior Member
stephane sanchi
Join Date: Mar 2009
Posts: 314
Rep Power: 18 |
As suggested I have installed flex and I have been able to compile correctly paraview3.6 and openfoam-1.6.x.
Now OpenFOAM-1.6.x works ! Thanks for the previous posts. Stephane |
|
October 28, 2009, 10:53 |
|
#18 |
Senior Member
Mads Reck
Join Date: Aug 2009
Location: Copenhagen, Denmark
Posts: 177
Rep Power: 18 |
Everything is happily resolved then? Otherwise use the script in my signature. It has been tested on quite a few systems now.
/Mads
__________________
Online free airfoil-mesher for OpenFOAM here |
|
November 1, 2009, 12:31 |
|
#19 |
Senior Member
Roman Thiele
Join Date: Aug 2009
Location: Eindhoven, NL
Posts: 374
Rep Power: 21 |
Hej,
I used part of the script for my normal installation routine now (just reinstalled it on Ubuntu 9.10 today). At least for the 1.6 non dev version. Maybe you can write this into an article on the openfoam wiki (http://openfoamwiki.net/index.php/Main_Page) than it is not only applicable to the dev installation and basically people see easier what is done.
__________________
~roman |
|
Tags |
git, installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Installation Problem with GIT | sega | OpenFOAM Installation | 2 | May 8, 2009 09:46 |
Installation problems | indy | OpenFOAM Installation | 7 | April 3, 2009 10:40 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 19:07 |
Installation problems | shellbell1999 | OpenFOAM Installation | 9 | April 6, 2006 14:29 |