git installation of 1.6
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? |
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 |
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, |
not working anymore
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? |
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. |
did that
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?
|
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, |
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. |
Quote:
ln -s ThirdParty-1.6 ThirdParty-1.6.x (it's not about diskspace, it's about needing to update things only once) |
softlink
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 |
Error message at the beginning of the compile
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 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 |
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 |
thank you
Thanks to all of you, it worked and I finally got everything working here.
|
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. |
Quote:
|
Quote:
|
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 |
Everything is happily resolved then? Otherwise use the script in my signature. It has been tested on quite a few systems now.
/Mads |
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. |
All times are GMT -4. The time now is 08:26. |