|
[Sponsors] |
Re : Problem Installing OpenFOAM on Centos -5.3 |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
January 27, 2010, 12:52 |
Re : Problem Installing OpenFOAM on Centos -5.3
|
#1 |
New Member
Mohan
Join Date: Jan 2010
Posts: 4
Rep Power: 16 |
Dear All,
Thanks for your time. I am new to OpenFOAM. I am using Centos 5.3 . When I am trying to compile OpenFOAM-1.6.x, it shows the following error. Any help will really appricate . I did the following steps : # yum install git flex python python-devel binutils binutils-devel qt4 qt4-devel wget cmake zlib zlib-devel $ mkdir OpenFOAM $ cd OpenFOAM $ wget http://downloads.sourceforge.net/foa...se_mirror=mesh $ wget http://downloads.sourceforge.net/foa...se_mirror=mesh $ tar xfz ThirdParty-1.6.General.gtgz $ tar xfz ThirdParty-1.6.linuxGcc.gtgz $ ln -s ~/OpenFOAM/ThirdParty-1.6 ~/OpenFOAM/ThirdParty-1.6.x $ git clone http://repo.or.cz/r/OpenFOAM-1.6.x.git $ cd OpenFOAM-1.6.x/ $ echo ". ~/OpenFOAM/OpenFOAM-1.6.x/etc/bashrc" >> ~/.bashrc $ ./Allwmake ........... ........... ........... FOAM-1.6.x/src/meshTools/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/dynamicMesh/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/treeDataPrimitivePatchName.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/triSurface/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/meshTools/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/dynamicMesh/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/boundaryMesh.o Make/linuxGccDPOpt/surfaceToPatch.o Make/linuxGccDPOpt/treeDataPrimitivePatchName.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -ltriSurface -lmeshTools -ldynamicMesh -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/surfaceToPatch /usr/bin/ld: cannot find -lmeshTools collect2: ld returned 1 exit status make[2]: *** [/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/surfaceToPatch] Error 1 make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/surface/surfaceToPatch' make[1]: *** [surfaceToPatch] Error 2 make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/surface/surfaceTransformPoints' Making dependency list for source file surfaceTransformPoints.C make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/surface/surfaceTransformPoints' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/surface/surfaceTransformPoints' SOURCE=surfaceTransformPoints.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/triSurface/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/surfaceTransformPoints.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/triSurface/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/surfaceTransformPoints.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -lmeshTools -ltriSurface -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/surfaceTransformPoints /usr/bin/ld: cannot find -lmeshTools collect2: ld returned 1 exit status make[2]: *** [/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/surfaceTransformPoints] Error 1 make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/surface/surfaceTransformPoints' make[1]: *** [surfaceTransformPoints] Error 2 make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/surface' make: *** [surface] Error 2 make[1]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/adiabaticFlameT' Making dependency list for source file adiabaticFlameT.C make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/adiabaticFlameT' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/adiabaticFlameT' SOURCE=adiabaticFlameT.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/adiabaticFlameT.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/adiabaticFlameT.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/adiabaticFlameT make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/adiabaticFlameT' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/chemkinToFoam' Making dependency list for source file chemkinToFoam.C make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/chemkinToFoam' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/chemkinToFoam' SOURCE=chemkinToFoam.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/reactionThermo/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/chemkinToFoam.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/reactionThermo/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/chemkinToFoam.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -lreactionThermophysicalModels -lbasicThermophysicalModels -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/chemkinToFoam /usr/bin/ld: cannot find -lreactionThermophysicalModels collect2: ld returned 1 exit status make[2]: *** [/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/chemkinToFoam] Error 1 make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/chemkinToFoam' make[1]: *** [chemkinToFoam] Error 2 make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumCO' Making dependency list for source file equilibriumCO.C make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumCO' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumCO' SOURCE=equilibriumCO.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/equilibriumCO.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/equilibriumCO.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/equilibriumCO make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumCO' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumFlameT' Making dependency list for source file equilibriumFlameT.C make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumFlameT' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumFlameT' SOURCE=equilibriumFlameT.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/equilibriumFlameT.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/equilibriumFlameT.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/equilibriumFlameT make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/equilibriumFlameT' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/IFCLookUpTableGen' Making dependency list for source file IFCLookUpTableGen.C make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/IFCLookUpTableGen' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/IFCLookUpTableGen' SOURCE=IFCLookUpTableGen.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/meshTools/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/radiation/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/IFCLookUpTableGen.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/finiteVolume/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/meshTools/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/radiation/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/IFCLookUpTableGen.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -lspecie -lmeshTools -lOpenFOAM -lfiniteVolume -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/IFCLookUpTableGen /usr/bin/ld: cannot find -lmeshTools collect2: ld returned 1 exit status make[2]: *** [/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/IFCLookUpTableGen] Error 1 make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/IFCLookUpTableGen' make[1]: *** [IFCLookUpTableGen] Error 2 make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT' Making dependency list for source file mixtureAdiabaticFlameT.C make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT' make[2]: Entering directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT' SOURCE=mixtureAdiabaticFlameT.C ; g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linuxGccDPOpt/mixtureAdiabaticFlameT.o g++ -m32 -Dlinux -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-40 -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OpenFOAM/lnInclude -I/home/mohan/OpenFOAM/OpenFOAM-1.6.x/src/OSspecific/POSIX/lnInclude -fPIC Make/linuxGccDPOpt/mixtureAdiabaticFlameT.o -L/home/mohan/OpenFOAM/OpenFOAM-1.6.x/lib/linuxGccDPOpt \ -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/bin/linuxGccDPOpt/mixtureAdiabaticFlameT make[2]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical/mixtureAdiabaticFlameT' make[1]: Target `application' not remade because of errors. make[1]: Leaving directory `/home/mohan/OpenFOAM/OpenFOAM-1.6.x/applications/utilities/thermophysical' make: *** [thermophysical] Error 2 make: Target `application' not remade because of errors. [mohan@mohan OpenFOAM-1.6.x]$ Please help me to fix the issue. Thanks & Rg Mohan L |
|
February 7, 2010, 20:09 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Mohan L,
Have you checked this thread? And can you please use the # button next time to show us the error output? The error occurred waaaay sooner than your pasted output! Check Mads script cookbook here... actually, what I mean is to make Allwmake send it's output directly into a file, so you can attach the file to your post! In other words: Code:
./Allwmake >make.log 2>&1 Best regards, Bruno |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Problem with cyclic boundaries in Openfoam 1.5 | fs82 | OpenFOAM | 36 | January 7, 2015 01:31 |
problem with sampling Utility in openFOAM 1.6 | carmir | OpenFOAM Post-Processing | 10 | February 26, 2014 03:00 |
Problem installing OpenFOAM on Fedora 10 | ptb | OpenFOAM Installation | 8 | March 29, 2011 15:46 |
Problem installing OF 1.5 on Ubuntu 9.05 | smart | OpenFOAM Installation | 18 | August 10, 2009 20:12 |
OpenFOAM 1.5.x package - CentOS 5.3 x86_64 | linnemann | OpenFOAM Installation | 7 | July 30, 2009 04:14 |