|
[Sponsors] |
OpenFOAM 2.2.0 installation on scientific-linux |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
March 16, 2013, 09:30 |
OpenFOAM 2.2.0 installation on scientific-linux
|
#1 |
New Member
Harshawardhan
Join Date: Feb 2013
Posts: 12
Rep Power: 13 |
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. |
|
March 20, 2013, 14:38 |
|
#2 | |
Senior Member
Niels Nielsen
Join Date: Mar 2009
Location: NJ - Denmark
Posts: 556
Rep Power: 27 |
Hi
Quote:
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 http://sourceforge.net/projects/centfoam/
__________________
Linnemann PS. I do not do personal support, so please post in the forums. |
||
Tags |
installation of open foam, scientific linux |
|
|
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 |