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

OpenFOAM-2.0.1 installation problem

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

Reply
 
LinkBack Thread Tools Display Modes
Old   September 14, 2011, 07:02
Default OpenFOAM-2.0.1 installation problem
  #1
Member
 
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 8
benru is on a distinguished road
1. Fragment with fault from installation log:

make[1]: Entering directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis'
make[2]: Entering directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidDisplacementFoam'
Making dependency list for source file tractionDisplacement/tractionDisplacementFvPatchVectorField.C
Making dependency list for source file solidDisplacementFoam.C
make[2]: Leaving directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidDisplacementFoam'
make[2]: Entering directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidDisplacementFoam'
SOURCE=tractionDisplacement/tractionDisplacementFvPatchVectorField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/tractionDisplacementFvPatchVectorField.o
SOURCE=solidDisplacementFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/solidDisplacementFoam.o
readSolidDisplacementFoamControls.H: In function ‘int main(int, char**)’:
readSolidDisplacementFoamControls.H:3: warning: unused variable ‘nCorr’
readSolidDisplacementFoamControls.H:5: warning: unused variable ‘convergenceTolerance’
solidDisplacementFoam.C: In copy constructor ‘Foam::PtrList<T>::PtrList(const Foam::PtrList<T>&) [with T = Foam::Field<Foam::Vector<double> >]’:
solidDisplacementFoam.C:134: internal compiler error: Segmentation Fault.
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-4.4/README.Bugs> for instructions.
make[2]: *** [Make/linux64GccDPOpt/solidDisplacementFoam.o] Error 1
make[2]: Aim `/home/ben/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/bin/solidDisplacementFoam' was not created due to errors.
make[2]: Leaving directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidDisplacementFoam'
make[1]: *** [solidDisplacementFoam] Error 2
make[2]: Entering directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
Making dependency list for source file tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C
Making dependency list for source file solidEquilibriumDisplacementFoam.C
make[2]: Leaving directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[2]: Entering directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
SOURCE=tractionDisplacementCorrection/tractionDisplacementCorrectionFvPatchVectorField.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/tractionDisplacementCorrectionFvPatchVectorField.o
SOURCE=solidEquilibriumDisplacementFoam.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/solidEquilibriumDisplacementFoam.o
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OpenFOAM/lnInclude -I/home/ben/OpenFOAM/OpenFOAM-2.0.1/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed Make/linux64GccDPOpt/tractionDisplacementCorrectionFvPatchVectorField.o Make/linux64GccDPOpt/solidEquilibriumDisplacementFoam.o -L/home/ben/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lOpenFOAM -ldl -lm -o /home/ben/OpenFOAM/OpenFOAM-2.0.1/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam
make[2]: Leaving directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[1]: Aim `application' was not created due to errors.
make[1]: Leaving directory `/home/ben/OpenFOAM/OpenFOAM-2.0.1/applications/solvers/stressAnalysis'
make: *** [stressAnalysis] Error 2
make: Aim `application' was not created due to errors.

2. OS: Debian 6.0.2
3. Computer: Intel Core2Duo 3GHz, mem 2Gb etc

4. Before it (a day ago) OF-2.0.1 was successfully installed on other computer (AMD64, dual core, mem 2Gb etc.) with the same OS (installed from the same disk by myself), without any troubles.

Could you offer simple path to solve problem ?
Thank you.
benru is offline   Reply With Quote

Old   September 14, 2011, 09:15
Default
  #2
Member
 
Ruben I. Mukhamadeev
Join Date: Mar 2009
Location: Obninsk, Kaluga reg., Russian Federation
Posts: 69
Rep Power: 8
benru is on a distinguished road
As I understood, it was technology fault (temporary memory or cach volume fault), so it was performed :
cd applications/solvers/stressAnalysis/solidDisplacementFoam
wclean
wmake
cd applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam
wclean
wmake

And solvers were created. After that

cd home/OpenFOAM/OpenFOAM-2.0.1
and ./Allwmake to continue procedure
benru is offline   Reply With Quote

Reply

Thread Tools
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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFoam 2.0.0 installation Jan_Peters OpenFOAM Installation 86 April 27, 2012 05:32
Openfoam installation problem jose soto OpenFOAM Installation 4 August 9, 2011 01:29
OpenFOAM 1.7.0 installation problem stevek OpenFOAM 14 December 1, 2010 16:30
Problem in installation of OpenFOAM sachin OpenFOAM Installation 7 January 22, 2008 02:40
Installation problem with GCC Norma McKee (Mckee) OpenFOAM Installation 10 March 4, 2007 08:09


All times are GMT -4. The time now is 22:32.