|
[Sponsors] |
Install of OpenFOAM 1.6 Error 1 Error 2 & run tutorial |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
August 26, 2009, 09:32 |
Install of OpenFOAM 1.6 Error 1 Error 2 & run tutorial
|
#1 |
Member
Jan Potac
Join Date: Aug 2009
Posts: 30
Rep Power: 17 |
New in OpenFOAM and want to learn it but even if it seems I compiled OF 1.6 on my openSuse 11.1 KDE 4.3 Qt 4.5 from source successfully I am not able to reach the same result using git repo following the wiki guidelines. The ThirdParty sw compilation was fine but the OF ends up after several minutes saying this etc.:
/usr/lib64/gcc/x86_64-suse-linux/4.3/../../../../x86_64-suse-linux/bin/ld: cannot find -liberty collect2: ld returned 1 exit status make[2]: *** [/home/potac/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linux64GccDPOpt/dnsFoam] Error 1 make[1]: *** [dnsFoam] Error 2 make[1]: Target `application' not remade because of errors. make: *** [DNS] Error 2 I think the problem is related to this -liberty. But I cannot find any hint. Using the source compiled OF, I have tried to run tutorial from user guide but when trying running blockMesh for case of Cavity it says: cannot open file file: /home/potac/OpenFOAM/OpenFOAM-1.6/tutorials/incompressible/icoFoam/cavity/constant/polyMesh/system/controlDict at line 0. From function regIOobject::readStream() in file db/regIOobject/regIOobjectRead.C at line 62 Does it mean that even source compilation failed, or what else I am missing? Thanks a lot! |
|
August 27, 2009, 03:30 |
|
#2 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
Dear Jan,
It seems that part of the code did not compile. This can happen in a part of Allwmake in the OpenFOAM-<version>/src/ (have a look in the Allwmake script). The OpenFOAM Wiki suggests on that problem (see bottom section on "/usr/bin/ld: cannot find -lfiniteVolume") to compile a second time and that then the necessary parts are compiled. Also, have a look at Albert Passalacqua's blog, he has a lot of good tips on how to get OpenFOAM to work on OpenSUSE. Hope this is a start, Regards, Gijs |
|
August 27, 2009, 07:15 |
|
#3 |
Member
Jan Potac
Join Date: Aug 2009
Posts: 30
Rep Power: 17 |
Thanks Gjilsbert. That blog helped me a lot.
During the compilation process there appeared several warnings about unused variables. I just guess it has had no effect. Now I can explore OF. |
|
August 27, 2009, 10:04 |
|
#4 |
Senior Member
Gijsbert Wierink
Join Date: Mar 2009
Posts: 383
Rep Power: 18 |
You're welcome, Jan. I also had some "unused variable ..." errors and everything works fine .
|
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 19:56 |
Working directory via command line | Luiz | CFX | 4 | March 6, 2011 21:02 |
[blockMesh] CheckMesh error using a tutorial from OpenFOAM 114 with openFOAM 13 | martapajon | OpenFOAM Meshing & Mesh Conversion | 7 | January 21, 2008 13:52 |
Cannot run Tutorial 11, please help | Harendra | Siemens | 1 | November 21, 2005 07:14 |
How to run the graphic interface of openfoam | liugx212 | OpenFOAM Running, Solving & CFD | 3 | November 12, 2005 16:06 |