|
[Sponsors] |
/usr/bin/ld: cannot find -lincompressibleRASModels (OF-1.7.x) |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
November 24, 2010, 07:17 |
/usr/bin/ld: cannot find -lincompressibleRASModels (OF-1.7.x)
|
#1 |
Senior Member
Suresh kumar Kannan
Join Date: Mar 2009
Location: Luxembourg, Luxembourg, Luxembourg
Posts: 129
Rep Power: 17 |
Hello ,
I tried to install OpenFoam-1.7.x today on a new user account. I have installed OF-1.7.x before sucessfully on my laptop on Ubuntu 9.10. But this time some of my solvers are not compiling especially those related to multiphase flow. and the error is like this: /usr/bin/ld: cannot find -lincompressibleRASModels This is quiet strange because I installed OF-1.7.x few weeks back on my laptop and I could install everything properly and I also ran some simulations using interFoam. Please let me know where this error is coming from. bye regards K.Suresh kumar |
|
November 24, 2010, 18:31 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi K.Suresh kumar,
The git version is known for the occasional missing commit, as you can see here: "fix 05bdccba11142a2796b25a480943f2341abe89bd misses ';' " When this happens, you can first try to simply run: Code:
git pull ./Allwmake Best regards and good luck! Bruno
__________________
|
|
November 25, 2010, 07:57 |
|
#3 |
Senior Member
Suresh kumar Kannan
Join Date: Mar 2009
Location: Luxembourg, Luxembourg, Luxembourg
Posts: 129
Rep Power: 17 |
Hi Bruno,
Thanks for the information. I did a git pull and ran ./Allwmake . It is still compiling, but I already saw that the point where the compilation used to fail before, it is not failing now and Ihave already sucessfully compiled interFoam, which is the solver I am using. So the problem is coming from git . Is it not possible to make git more reliable, as I would have saved some time, if this simple error would not have occured. Just a suggestion. Thanks again Regards K.Suresh kumar |
|
November 25, 2010, 11:38 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Hi K.Suresh kumar,
Quote:
You can yourself define you current stable bug fix version. For example, if you made a successful build in a previous machine, run: Code:
git show Code:
git checkout 17cf78 Best regards, Bruno
__________________
|
||
March 16, 2011, 10:57 |
Error in OpenFOAM171 during compling and enviornment set up
|
#5 |
Member
Alpesh
Join Date: Jan 2011
Location: Germany
Posts: 52
Rep Power: 15 |
Hello friends,
I have a also problem regarding to compilation. I downloaded openfoam171 from the Ubuntu/Debian Pack installation. I followed each instructions which are given in that page. I also added a line whatever mentioned in that page. but when I complied by typing ./Allwmake in installation directory, I got one error as below after 4 hours running. /usr/bin/ld: cannot find -lmetis /usr/bin/ld: cannot find -lGKlib collect2: ld returned 1 exit status make: *** [/opt/openfoam171/lib/linuxGccDPOpt/libmetisDecomp.so] Error 1 + [ -d /opt/openfoam171/lib/linuxGccDPOpt/openmpi-system ] + WM_OPTIONS=linuxGccDPOptSYSTEMOPENMPI + wmake libso parMetisDecomp SOURCE=parMetisDecomp.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -DOMPI_SKIP_MPICXX -I/usr/lib/openmpi/include -I/usr/lib/openmpi/include/openmpi -pthread -I/opt/ThirdParty-1.7.1/ParMetis-3.1/ParMETISLib -I/opt/ThirdParty-1.7.1/ParMetis-3.1 -I../decompositionMethods/lnInclude -I../metisDecomp/lnInclude -I../scotchDecomp/lnInclude -IlnInclude -I. -I/opt/openfoam171/src/OpenFOAM/lnInclude -I/opt/openfoam171/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOptSYSTEMOPENMPI/parMetisDecomp.o parMetisDecomp.C:41: fatal error: parmetis.h: No such file or directory compilation terminated. make: *** [Make/linuxGccDPOptSYSTEMOPENMPI/parMetisDecomp.o] Error 1 and also /usr/bin/ld: cannot find -lMGridGen collect2: ld returned 1 exit status make: *** [/opt/openfoam171/lib/linuxGccDPOpt/libMGridGenGAMGAgglomeration.so] Error 1 Please any one can help me to solve this error? I only got error in this tow .so file. Other all directory compiled successfully. and Moreover when I type foamInstallationTest in bin directory, I got below error, Checking basic setup... ------------------------------------------------------------------------------- FATAL ERROR: OpenFOAM environment not configured. Please refer to the installation section of the README file: <OpenFOAM installation dir>/OpenFOAM-1.7.x/README to source the OpenFOAM environment. But I already added one line in /.bashrc file and after adding line, I also compiled by typing . ~/.bashrc please any one can help me to come out from this problem? Thank a lot Alpesh |
|
March 16, 2011, 18:56 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Just a little cross-post: Alpesh's post has already been answered in the original post here: http://www.cfd-online.com/Forums/ope...tml#post299754
__________________
|
|
March 17, 2011, 03:29 |
|
#7 |
Member
Alpesh
Join Date: Jan 2011
Location: Germany
Posts: 52
Rep Power: 15 |
Dear Bruno Santos,
Thank you very much.. now it's working.. Kind Regards Alpesh |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM 1.7.x on Fedora 13 | nuovodna | OpenFOAM Installation | 33 | April 21, 2011 18:58 |
Ways to find Mass transfer coefficient using CFD? | tuks_123 | CFX | 10 | April 15, 2011 12:20 |
OpenFOAM 1.6.x, 1.7.0 and 1.7.x are not fully prepared to work with gcc-4.5.x | wyldckat | OpenFOAM Bugs | 18 | October 21, 2010 06:51 |
YPlus nowhere to be find | Daniel | CFX | 3 | May 1, 2006 17:22 |
Can U find this Solution Report N°229 | Mohamed | FLUENT | 5 | June 19, 2003 04:28 |