|
[Sponsors] |
September 23, 2010, 03:54 |
Error after "git pull" and ./Allwmake
|
#1 |
Member
Bjorn H. Hjertager
Join Date: Mar 2009
Posts: 72
Rep Power: 17 |
Hi,
I have made git pull and ./Allwmake for OF1.7.x sucessfulluy for a long time. Some time ago I got the following after git pull and ./Allwmake: make[2]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/compressible/rhoSimpleFoam' wmake error: file 'Make/files' does not exist make[1]: *** [rhoSonicFoam] Error 1 wmake error: file 'Make/files' does not exist make[1]: *** [rhopSonicFoam] Error 1 .. make[2]: Target `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/chtMultiRegionFoam' not remade because of errors. make[2]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/heatTransfer/chtMultiRegionFoam' make[1]: *** [chtMultiRegionFoam] Error 2 ... make[2]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/heatTransfer/chtMultiRegionSimpleFoam' make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/heatTransfer' make: *** [heatTransfer] Error 2 ... make[2]: Entering directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/multiphase/interMixingFoam' make[2]: *** No rule to make target `/home/user/OpenFOAM/OpenFOAM-1.7.x/src/transportModels/interfaceProperties/lnInclude/alphaContactAngleFvPatchScalarField.H', needed by `threePhaseInterfaceProperties/threePhaseInterfaceProperties.dep'. make[2]: Failed to remake makefile `threePhaseInterfaceProperties/threePhaseInterfaceProperties.dep'. make[2]: Target `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/interMixingFoam' not remade because of errors. make[2]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/multiphase/interMixingFoam' make[1]: *** [interMixingFoam] Error 2 ... make[2]: Entering directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/multiphase/multiphaseInterFoam' g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I../interFoam -ImultiphaseMixture/lnInclude -I/home/user/OpenFOAM/OpenFOAM-1.7.x/src/transportModels -I/home/user/OpenFOAM/OpenFOAM-1.7.x/src/transportModels/incompressible/lnInclude -I/home/user/OpenFOAM/OpenFOAM-1.7.x/src/transportModels/interfaceProperties/lnInclude -I/home/user/OpenFOAM/OpenFOAM-1.7.x/src/turbulenceModels/incompressible/turbulenceModel -I/home/user/OpenFOAM/OpenFOAM-1.7.x/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/user/OpenFOAM/OpenFOAM-1.7.x/src/OpenFOAM/lnInclude -I/home/user/OpenFOAM/OpenFOAM-1.7.x/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linux64GccDPOpt/multiphaseInterFoam.o -L/home/user/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt \ -lmultiphaseInterFoam -linterfaceProperties -lincompressibleTransportModels -lincompressibleTurbulenceModel -lincompressibleRASModels -lincompressibleLESModels -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/multiphaseInterFoam /usr/bin/ld: cannot find -lmultiphaseInterFoam collect2: ld returned 1 exit status make[2]: *** [/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/multiphaseInterFoam] Error 1 make[2]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/multiphase/multiphaseInterFoam' + wmake MRFMultiphaseInterFoam .. make[2]: *** [/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/bin/linux64GccDPOpt/MRFMultiphaseInterFoam] Error 1 make[2]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/multiphase/multiphaseInterFoam/MRFMultiphaseInterFoam' make[1]: *** [multiphaseInterFoam] Error 2 ... make[1]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/solvers/multiphase' make: *** [multiphase] Error 2 ... make[2]: Target `application' not remade because of errors. make[2]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/postProcessing/dataConversion' make[1]: *** [dataConversion] Error 2 .. make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/user/OpenFOAM/OpenFOAM-1.7.x/applications/utilities/postProcessing' make: *** [postProcessing] Error 2 ... Any clue to what went wrong and how to correct the problem? Kind regards Bjorn |
|
September 23, 2010, 10:29 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Bjorn,
When that happens, try running this where you ran Allwmake: Code:
wclean all Additionally, in order to keep a log of the build, you can run: Code:
Allwmake > make.log 2>&1 Bruno
__________________
|
|
September 23, 2010, 14:51 |
|
#3 |
Senior Member
Nicolas Edh
Join Date: Mar 2010
Location: Uppsala, Sweden
Posts: 123
Rep Power: 18 |
Thanks Bruno,
I had the same issue as Bjorn and wclean fixed it. I might be worth noting that I didn't have to "wclean all" the entire OpenFOAM-1.7.x directory. I was sufficient to only "wclean" the components that failed. To get the failed components one could do Code:
grep "^make.*Error " make.log Code:
wclean Best regards Nicolas |
|
September 24, 2010, 03:15 |
|
#4 |
Senior Member
Alberto Passalacqua
Join Date: Mar 2009
Location: Ames, Iowa, United States
Posts: 1,912
Rep Power: 36 |
Sometime it's enough to use
wcleanLnIncludeAll so that links are generated again. This might save quite some compile time.
__________________
Alberto Passalacqua GeekoCFD - A free distribution based on openSUSE 64 bit with CFD tools, including OpenFOAM. Available as in both physical and virtual formats (current status: http://albertopassalacqua.com/?p=1541) OpenQBMM - An open-source implementation of quadrature-based moment methods. To obtain more accurate answers, please specify the version of OpenFOAM you are using. |
|
September 24, 2010, 18:01 |
|
#5 |
Member
Bjorn H. Hjertager
Join Date: Mar 2009
Posts: 72
Rep Power: 17 |
Hi,
Thank you all! This works OK and the compilation runs smoothly rgds Bjorn |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] erros in Allwmake | jiwon | OpenFOAM Installation | 7 | December 30, 2015 13:34 |
OpenFOAM15 installables are incomplete problem with paraFoam | tryingof | OpenFOAM Bugs | 17 | December 7, 2008 05:41 |
Problem of compilation OF 14Allwmake command not found | erik_d | OpenFOAM Bugs | 13 | September 13, 2008 22:45 |
Install problem in linux | navaladi | OpenFOAM Installation | 11 | July 17, 2008 03:24 |
[OpenFOAM] ParaFoam error message | joey | ParaView | 1 | October 2, 2006 14:28 |