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

OpenFOAM 2.2.0 installation on scientific-linux

Register Blogs Community New Posts Updated Threads Search

Like Tree1Likes
  • 1 Post By linnemann

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 16, 2013, 09:30
Exclamation OpenFOAM 2.2.0 installation on scientific-linux
  #1
New Member
 
Harshawardhan
Join Date: Feb 2013
Posts: 12
Rep Power: 13
kulkarni Harshawardhan is on a distinguished road
I got this error while installing OF 2.2.0 on scintific Linux (cluster)

Kindly help



readSolidDisplacementFoamControls.H: In function ‘int main(int, char**)’:
readSolidDisplacementFoamControls.H:3: warning: unused variable ‘nCorr’
readSolidDisplacementFoamControls.H:5: warning: unused variable ‘convergenceTolerance’
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -ItractionDisplacement/lnInclude -IlnInclude -I. -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/tractionDisplacementFvPatchVectorField.o Make/linux64GccDPOpt/solidDisplacementFoam.o -L/home/deepak/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lOpenFOAM -ldl -lm -o /home/deepak/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/solidDisplacementFoam
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[2]: *** [/home/deepak/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/solidDisplacementFoam] Error 1
make[2]: Leaving directory `/home/deepak/OpenFOAM/OpenFOAM-2.2.0/applications/solvers/stressAnalysis/solidDisplacementFoam'
make[1]: *** [solidDisplacementFoam] Error 2
make[2]: Entering directory `/home/deepak/OpenFOAM/OpenFOAM-2.2.0/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/deepak/OpenFOAM/OpenFOAM-2.2.0/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[2]: Entering directory `/home/deepak/OpenFOAM/OpenFOAM-2.2.0/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/deepak/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/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/deepak/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/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/deepak/OpenFOAM/OpenFOAM-2.2.0/src/finiteVolume/lnInclude -ItractionDisplacementCorrectionStress -I../solidDisplacementFoam -IlnInclude -I. -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/src/OpenFOAM/lnInclude -I/home/deepak/OpenFOAM/OpenFOAM-2.2.0/src/OSspecific/POSIX/lnInclude -fPIC -Xlinker --add-needed -Xlinker --no-as-needed Make/linux64GccDPOpt/tractionDisplacementCorrectionFvPatchVectorField.o Make/linux64GccDPOpt/solidEquilibriumDisplacementFoam.o -L/home/deepak/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/lib \
-lfiniteVolume -lOpenFOAM -ldl -lm -o /home/deepak/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam
/usr/bin/ld: cannot find -lfiniteVolume
collect2: ld returned 1 exit status
make[2]: *** [/home/deepak/OpenFOAM/OpenFOAM-2.2.0/platforms/linux64GccDPOpt/bin/solidEquilibriumDisplacementFoam] Error 1
make[2]: Leaving directory `/home/deepak/OpenFOAM/OpenFOAM-2.2.0/applications/solvers/stressAnalysis/solidEquilibriumDisplacementFoam'
make[1]: *** [solidEquilibriumDisplacementFoam] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/deepak/OpenFOAM/OpenFOAM-2.2.0/applications/solvers/stressAnalysis'
make: *** [stressAnalysis] Error 2
make: Target `application' not remade because of errors.
kulkarni Harshawardhan is offline   Reply With Quote

Old   March 20, 2013, 14:38
Default
  #2
Senior Member
 
linnemann's Avatar
 
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27
linnemann will become famous soon enough
Hi

Quote:
/usr/bin/ld: cannot find -lfiniteVolume
Means that something went wrong long before this error.

You need to break the compilation just after the first error or output to a log file so its possible to scroll back to the first error.

Code:
./Allwmake > make.log 2>&1
Your other options is to use my precompiled images just uploaded on the centFoam project.

http://sourceforge.net/projects/centfoam/
wyldckat likes this.
__________________
Linnemann

PS. I do not do personal support, so please post in the forums.
linnemann is offline   Reply With Quote

Reply

Tags
installation of open foam, scientific linux


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 installation environment error (using CAELinux) vahid_paris OpenFOAM Installation 1 November 22, 2011 16:11
OpenFoam Installation in Redhat Enterprise linux 5 sahm OpenFOAM Installation 78 November 1, 2011 16:22
OpenFoam 2.0.1 installation shailesh.nitk OpenFOAM Installation 4 October 4, 2011 09:50
OpenFOAM Installation rclprice OpenFOAM Installation 1 July 21, 2011 17:31
Some Query on Installation of OpenFoam lzgwhy OpenFOAM Installation 1 July 15, 2009 04:20


All times are GMT -4. The time now is 04:18.