|
[Sponsors] |
[OpenFOAM.org] install openfoam2.1.1 error on ubuntu10.10 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
June 12, 2012, 05:43 |
install openfoam2.1.1 error on ubuntu10.10
|
#1 |
Member
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17 |
Hi, I install the openfoam2.1.1 on my laptop. The installing method is the one presented on the site of openfoam. But I encounter following erro. I do not know why. Can you help me. Thank you!
I../phaseModel/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/frictionalStressModel.o SOURCE=frictionalStressModel/frictionalStressModel/newFrictionalStressModel.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/foam/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I../phaseModel/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/newFrictionalStressModel.o SOURCE=frictionalStressModel/JohnsonJackson/JohnsonJacksonFrictionalStress.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/foam/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I../phaseModel/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/JohnsonJacksonFrictionalStress.o SOURCE=frictionalStressModel/Schaeffer/SchaefferFrictionalStress.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/foam/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I../phaseModel/lnInclude -I../interfacialModels/lnInclude -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/SchaefferFrictionalStress.o '/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/lib/libkineticTheoryModel.so' is up to date. make[2]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/multiphase/twoPhaseEulerFoam/kineticTheoryModels' + wmake make[2]: Entering directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/multiphase/twoPhaseEulerFoam' make[2]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/multiphase/twoPhaseEulerFoam' make[2]: Entering directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/multiphase/twoPhaseEulerFoam' SOURCE=twoPhaseEulerFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../bubbleFoam -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/incompressible/lnInclude -IturbulenceModel -IkineticTheoryModels/lnInclude -IinterfacialModels/lnInclude -IphaseModel/lnInclude -Iaveraging -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/twoPhaseEulerFoam.o /home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readTimeControls.H: In function ‘int main(int, char**)’: /home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude/readTimeControls.H:38: warning: unused variable ‘maxDeltaT’ g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I../bubbleFoam -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/transportModels/incompressible/lnInclude -IturbulenceModel -IkineticTheoryModels/lnInclude -IinterfacialModels/lnInclude -IphaseModel/lnInclude -Iaveraging -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linuxGcc44DPOpt/twoPhaseEulerFoam.o -L/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/lib \ -lEulerianInterfacialModels -lfiniteVolume -lmeshTools -lincompressibleTransportModels -lphaseModel -lkineticTheoryModel -lOpenFOAM -ldl -lm -o /home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/bin/twoPhaseEulerFoam /usr/bin/ld: cannot find -lEulerianInterfacialModels /usr/bin/ld: cannot find -lfiniteVolume /usr/bin/ld: cannot find -lmeshTools /usr/bin/ld: cannot find -lincompressibleTransportModels /usr/bin/ld: cannot find -lphaseModel collect2: ld returned 1 exit status make[2]: *** [/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/bin/twoPhaseEulerFoam] Error 1 make[2]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/multiphase/twoPhaseEulerFoam' make[1]: *** [twoPhaseEulerFoam] Error 2 make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/multiphase' make: *** [multiphase] Error 2 make[1]: Entering directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis' make[2]: Entering directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidDisplacementFoam' make[2]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidDisplacementFoam' make[2]: Entering directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidDisplacementFoam' SOURCE=tractionDisplacement/tractionDisplacementFvPatchVectorField.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/tractionDisplacementFvPatchVectorField.o SOURCE=solidDisplacementFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/solidDisplacementFoam.o readSolidDisplacementFoamControls.H: In function ‘int main(int, char**)’: readSolidDisplacementFoamControls.H:3: warning: unused variable ‘nCorr’ readSolidDisplacementFoamControls.H:5: warning: unused variable ‘convergenceTolerance’ g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linuxGcc44DPOpt/tractionDisplacementFvPatchVectorField.o Make/linuxGcc44DPOpt/solidDisplacementFoam.o -L/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/lib \ -lfiniteVolume -lOpenFOAM -ldl -lm -o /home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/bin/solidDisplacementFoam /usr/bin/ld: cannot find -lfiniteVolume collect2: ld returned 1 exit status make[2]: *** [/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/bin/solidDisplacementFoam] Error 1 make[2]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidDisplacementFoam' make[1]: *** [solidDisplacementFoam] Error 2 make[2]: Entering directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam' make[2]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam' make[2]: Entering directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam' SOURCE=tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/tractionDisplacementCorrectionFvPatchVectorField.o SOURCE=solidEquilibriumDisplacementFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGcc44DPOpt/solidEquilibriumDisplacementFoam.o g++ -m32 -Dlinux -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-100 -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OpenFOAM/lnInclude -I/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linuxGcc44DPOpt/tractionDisplacementCorrectionFvPatchVectorField.o Make/linuxGcc44DPOpt/solidEquilibriumDisplacementFoam.o -L/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/lib \ -lfiniteVolume -lOpenFOAM -ldl -lm -o /home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/bin/solidEquilibriumDisplacementFoam /usr/bin/ld: cannot find -lfiniteVolume collect2: ld returned 1 exit status make[2]: *** [/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/platforms/linuxGcc44DPOpt/bin/solidEquilibriumDisplacementFoam] Error 1 make[2]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam' make[1]: *** [solidEquilibriumDisplacementFoam] Error 2 make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/jmliu/OpenFOAM/OpenFOAM-2.1.1/applications/solvers/stressAnalysis' make: *** [stressAnalysis] Error 2 make: Target `application' not remade because of errors. |
|
June 12, 2012, 18:24 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Jianming Liu,
OK, the first error is usually the one to blame. This is too much far ahead for deducing how to fix this. Run Allwmake like this: Code:
./Allwmake > make.log 2>&1 If you still can't figure out the problem, search and replace any sensitive content in the file (names and paths), then pack the file and attach the packaged file. To pack the file, you can run: Code:
tar -czf make.log.tar.gz make.log Best regards, Bruno
__________________
|
|
June 13, 2012, 14:05 |
|
#3 | |
Member
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 17 |
Thank you. I have done by your saying and found the error and fix it. Thank you
Quote:
|
||
December 13, 2019, 00:29 |
|
#4 |
New Member
Sabrina Carson
Join Date: May 2018
Posts: 15
Rep Power: 8 |
Hello Jianming Liu
Can you please tell me how did you solve the error? |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.org] Install OpenFOAM without admin right | OpenFoamlove | OpenFOAM Installation | 1 | December 31, 2017 12:45 |
error make SU2 4.0.1 | Heathckliff | SU2 Installation | 2 | November 9, 2015 06:48 |
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 | kobayashi | OpenFOAM Community Contributions | 2 | January 5, 2014 18:33 |
unable to install openfoam 1.7 using apt-get | maazhmd | OpenFOAM Installation | 7 | July 24, 2011 12:18 |
How to Install OpenFOAM on 64 Ubuntu 9.04 | hansel | OpenFOAM Installation | 62 | March 19, 2010 15:43 |