CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

openfoam-1.6-ext installation problem

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 6, 2014, 01:44
Default openfoam-1.6-ext installation problem
  #1
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
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
and

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
Many similar errors as above. I suppose the reason is the previous step hotfix of Gcc47 undo. Can anybody give me some advise to git a hotfix as the author says?
huangxianbei is offline   Reply With Quote

Old   March 6, 2014, 04:45
Default
  #2
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
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?
huangxianbei is offline   Reply With Quote

Old   March 6, 2014, 05:43
Default
  #3
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
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
So I think the problem is related to Gcc47. But I have no idea of that.
huangxianbei is offline   Reply With Quote

Old   March 6, 2014, 15:32
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
Should now be:
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
If by any chance, you did not use git to download OpenFOAM 1.6-ext, then please indicate what exacts steps you've taken to download it.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   March 6, 2014, 20:31
Default
  #5
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
Should now be:
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
If by any chance, you did not use git to download OpenFOAM 1.6-ext, then please indicate what exacts steps you've taken to download it.

Best regards,
Bruno
Hi,Bruno
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
huangxianbei is offline   Reply With Quote

Old   March 6, 2014, 20:36
Default
  #6
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
Should now be:
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
If by any chance, you did not use git to download OpenFOAM 1.6-ext, then please indicate what exacts steps you've taken to download it.

Best regards,
Bruno
Hi, Bruno
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
Here is the link I can find and download

Huang
huangxianbei is offline   Reply With Quote

Old   March 7, 2014, 15:12
Default
  #7
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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
__________________
wyldckat is offline   Reply With Quote

Old   March 7, 2014, 20:34
Default
  #8
Senior Member
 
Huang Xianbei
Join Date: Sep 2013
Location: Yangzhou,China
Posts: 302
Rep Power: 13
huangxianbei is on a distinguished road
Quote:
Originally Posted by wyldckat View Post
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
Hi,Bruno:
Thank you. But the error still exists. So I turned to install 2.1.1 instead, just as you suggested in another thread.

Huang
huangxianbei is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 19:16.