|
[Sponsors] |
March 6, 2014, 01:44 |
openfoam-1.6-ext installation problem
|
#1 |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13 |
Hi,all
I referred to Martin's method in " Walkthrough: Installation of OpenFOAM-1.6-ext on openSUSE 12.2 64-bit", there is a question about how to do a hotfix through git. As he says: # apply the hotfix for gcc4.7 by Philippose Rajan git branch hotfix/gcc47 git checkout hotfix/gcc47 I just don't know how to do it . So this time I ignored this problem and went on. The ThirdParty was installed with no error. While in the Allmake stage when compiling OpenFOAM-1.6-ext, some errors occured: Code:
r/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -ldynamicMesh /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lmeshTools collect2: error: ld returned 1 exit status make: *** [/home/huangxian/OpenFOAM/OpenFOAM-1.6-ext/lib/linux64Gcc47DPOpt/libfaceDecompositionMotionSolver.so] Error 1 Code:
r/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -ltriSurface /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lmeshTools /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -ldynamicMesh /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lfiniteVolume /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lfaceDecompositionMotionSolver /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lfvMotionSolver /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lRBFMotionSolver /usr/lib64/gcc/x86_64-suse-linux/4.7/../../../../x86_64-suse-linux/bin/ld: cannot find -lmesquiteMotionSolver collect2: error: ld returned 1 exit status |
|
March 6, 2014, 04:45 |
|
#2 |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13 |
while I have made a new installation including hotfix, but the errors still exist. I have no idea how to fix this problem..
Is there anyone can help? |
|
March 6, 2014, 05:43 |
|
#3 |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13 |
I checked the log file and find
Code:
wmakeLnInclude: linking include files to ./lnInclude /bin/sh: /home/huangxian/OpenFOAM/OpenFOAM-1.6-ext/wmake/bin/linux64Gcc47/wmkdep: No such file or directory /bin/sh: /home/huangxian/OpenFOAM/OpenFOAM-1.6-ext/wmake/bin/linux64Gcc47/wmkdep: No such file or directory /bin/sh: /home/huangxian/OpenFOAM/OpenFOAM-1.6-ext/wmake/bin/linux64Gcc47/wmkdep: No such file or directory |
|
March 6, 2014, 15:32 |
|
#4 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Greetings Huang Xianbei,
I believe that you're referring to this thread: http://www.cfd-online.com/Forums/ope...-2-64-bit.html That thread was written a long time ago and some details have changed since then. One of the details is that the "hotfix" is already implemented. Therefore, this block of code: Code:
git clone git://openfoam-extend.git.sourceforge.net/gitroot/openfoam-extend/OpenFOAM-1.6-ext # apply the hotfix for gcc4.7 by Philippose Rajan git branch hotfix/gcc47 git checkout hotfix/gcc47 Code:
git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext cd OpenFOAM-1.6-ext git checkout 1.6.1 -b 16ext Best regards, Bruno
__________________
|
|
March 6, 2014, 20:31 |
|
#5 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13 |
Quote:
Thank you very much. At the first time, I used the 1.6-ext downloaded somewhere else which was stored in my computer. So the hotfix doesn't work(I think). After that, the installation is not succeed . Then I took a new installation with git downloading. As you say the hotfix has changed, I saw nothing happened when following the old instruction. I'll try the new way your suggested. Thanks again |
||
March 6, 2014, 20:36 |
|
#6 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13 |
Quote:
The link seems doesn't work. Code:
git clone git://git.code.sf.net/p/openfoam-extend/OpenFOAM-1.6-ext openfoam-extend-OpenFOAM-1.6-ext Huang |
||
March 7, 2014, 15:12 |
|
#7 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128 |
Hi Huang,
Sorry, I forgot to give you a link yesterday that had several "git clone" places from which you can download: http://openfoamwiki.net/index.php/In...u#Ubuntu_13.10 - have a look into step #5 Best regards, Bruno
__________________
|
|
March 7, 2014, 20:34 |
|
#8 | |
Senior Member
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13 |
Quote:
Thank you. But the error still exists. So I turned to install 2.1.1 instead, just as you suggested in another thread. Huang |
||
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Error executing OpenFOAM 1.6 ext | RTom | OpenFOAM Installation | 3 | October 6, 2013 07:52 |
problem with parmetis-3.1.1 installation for openfoam 1.6-ext | achyutan | OpenFOAM Installation | 11 | October 26, 2012 18:18 |
OpenFOAM 1.7.0 installation problem | stevek | OpenFOAM | 14 | December 1, 2010 15:30 |
OpenFOAM 1.6 installation in Ubuntu 9.1 | jsm | OpenFOAM Installation | 4 | January 3, 2010 22:53 |
Problem on Installing OpenFOAM 1.6 on Fedora 11 | lzgwhy | OpenFOAM Installation | 1 | August 25, 2009 11:02 |