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

[OpenFOAM.org] install openfoam2.1.1 error on ubuntu10.10

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   June 12, 2012, 04:43
Smile install openfoam2.1.1 error on ubuntu10.10
  #1
Member
 
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 13
liujmljm is on a distinguished road
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.
liujmljm is offline   Reply With Quote

Old   June 12, 2012, 17:24
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,956
Blog Entries: 43
Rep Power: 122
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 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
When it's finishes, edit the file "make.log" and search for the first occurrence of "Error ". There should lie the real problem.

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
Then attach the file "make.log.tar.gz" to your next post.

Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   June 13, 2012, 13:05
Default
  #3
Member
 
Jianming Liu
Join Date: Mar 2009
Location: China
Posts: 71
Rep Power: 13
liujmljm is on a distinguished road
Thank you. I have done by your saying and found the error and fix it. Thank you

Quote:
Originally Posted by wyldckat View Post
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
When it's finishes, edit the file "make.log" and search for the first occurrence of "Error ". There should lie the real problem.

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
Then attach the file "make.log.tar.gz" to your next post.

Best regards,
Bruno
liujmljm is offline   Reply With Quote

Old   December 12, 2019, 23:29
Default
  #4
New Member
 
Sabrina Carson
Join Date: May 2018
Posts: 15
Rep Power: 4
sabrinacarson is on a distinguished road
Hello Jianming Liu

Can you please tell me how did you solve the error?
sabrinacarson is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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
[OpenFOAM.org] Install OpenFOAM without admin right OpenFoamlove OpenFOAM Installation 1 December 31, 2017 11:45
error make SU2 4.0.1 Heathckliff SU2 Installation 2 November 9, 2015 05:48
[swak4Foam] Install swak4Foam on OpenFOAM1.7.1 on Ubuntu 13.04 kobayashi OpenFOAM Community Contributions 2 January 5, 2014 17:33
unable to install openfoam 1.7 using apt-get maazhmd OpenFOAM Installation 7 July 24, 2011 11:18
How to Install OpenFOAM on 64 Ubuntu 9.04 hansel OpenFOAM Installation 62 March 19, 2010 14:43


All times are GMT -4. The time now is 11:12.