|
[Sponsors] |
February 17, 2010, 17:00 |
OF Successfully built?
|
#1 |
New Member
Joaquín J. Correa
Join Date: Jan 2010
Posts: 18
Rep Power: 16 |
I have just compile OF 1.3, BUT an error (or errors) occurred; can anyone tell me if this error is relevant?, do I need to re-set and re-compile?. Regards.
SOURCE_DIR=. SOURCE=equilibriumCO.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/specie/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/equilibriumCO.o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/wmake/bashScripts/mkObjectDir /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/equilibriumCO g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/specie/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread Make/linuxGcc4DPOpt/equilibriumCO.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt \ -lspecie -lOpenFOAM -liberty -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/equilibriumCO /usr/bin/ld: cannot find -lOpenFOAM collect2: ld returned 1 exit status make: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/equilibriumCO] Error 1 + wmake chemkinToFoam Making dependency list for source file chemkinToFoam.C SOURCE_DIR=. SOURCE=chemkinToFoam.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/specie/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/combustion/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/chemkinToFoam.o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/wmake/bashScripts/mkObjectDir /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/chemkinToFoam g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/specie/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/thermophysicalModels/combustion/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread Make/linuxGcc4DPOpt/chemkinToFoam.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt \ -lcombustionThermophysicalModels -lbasicThermophysicalModels -lspecie -lOpenFOAM -liberty -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/chemkinToFoam /usr/bin/ld: cannot find -lcombustionThermophysicalModels collect2: ld returned 1 exit status make: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/chemkinToFoam] Error 1 + cd miscellaneous + ./Allwmake + wmake foamDebugSwitches Making dependency list for source file foamDebugSwitches.C SOURCE_DIR=. SOURCE=foamDebugSwitches.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/foamDebugSwitches.o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/wmake/bashScripts/mkObjectDir /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/foamDebugSwitches g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread Make/linuxGcc4DPOpt/foamDebugSwitches.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt \ -lFoamX -lFoamXServer -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/mico-2.3.11/platforms/linuxGcc4DPOpt/lib -lmicocoss2.3.11 -lmico2.3.11 -ldl -lGstream -lGL -lLESfilters -lODE -lcompressibleLESmodels -lfoamUtil -lbasicThermophysicalModels -lfiniteVolume -lcombustionThermophysicalModels -lcompressibleTurbulenceModels -ldieselSpray -ledgeMesh -lengine -lerrorEstimation -ldynamicMesh -lfaceDecompFiniteElement -lfiniteArea -lincompressibleTransportModels -lincompressibleTurbulenceModels -lincompressibleLESmodels -llagrangian -llaminarFlameSpeedModels -lliquids -lrandomProcesses -lsampling -lspecie -lthermophysicalFunctions -ltriSurface -lOpenFOAM -liberty -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/foamDebugSwitches /usr/bin/ld: cannot find -lLESfilters collect2: ld returned 1 exit status make: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/foamDebugSwitches] Error 1 + wmake foamInfoExec Making dependency list for source file foamInfoExec.C SOURCE_DIR=. SOURCE=foamInfoExec.C ; g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread -c $SOURCE -o Make/linuxGcc4DPOpt/foamInfoExec.o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/wmake/bashScripts/mkObjectDir /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/foamInfoExec g++ -m32 -Dlinux -DDP -Wall -W -Wno-unused-parameter -Wold-style-cast -O3 -DNoRepository -ftemplate-depth-30 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/src/OpenFOAM/lnInclude -IlnInclude -I. -fPIC -pthread Make/linuxGcc4DPOpt/foamInfoExec.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/lib/linuxGcc4DPOpt \ -lOpenFOAM -liberty -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/foamInfoExec /usr/bin/ld: cannot find -lOpenFOAM collect2: ld returned 1 exit status make: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.3/applications/bin/linuxGcc4DPOpt/foamInfoExec] Error 1 |
|
February 18, 2010, 06:04 |
|
#2 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
Try with the current version: OpenFOAM-1.6.x (the bugfixed 1.6 version). |
||
February 18, 2010, 23:04 |
|
#3 | |
New Member
Joaquín J. Correa
Join Date: Jan 2010
Posts: 18
Rep Power: 16 |
Quote:
|
||
February 19, 2010, 01:03 |
|
#4 | |
Senior Member
Mark Olesen
Join Date: Mar 2009
Location: https://olesenm.github.io/
Posts: 1,714
Rep Power: 40 |
Quote:
The only possible update issue may that the linker (possibly the assembler too) are too old to handle newer gcc versions, but root permission wouldn't help much there either. I'd suggest you try OpenFOAM-1.6 (1.6.x) and see how far you get. There are more certain to be a number of bugs that have been fixed in the past four years - with OpenFOAM-1.3 you are pretty much on your own. |
||
February 19, 2010, 13:39 |
|
#5 | |
New Member
Joaquín J. Correa
Join Date: Jan 2010
Posts: 18
Rep Power: 16 |
Quote:
collect2: ld returned 1 exit statusAny clue or idea of what is happening? Suggestions? Configurations? Thanks. |
||
February 20, 2010, 07:44 |
|
#6 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,982
Blog Entries: 45
Rep Power: 128 |
Greetings Pytthon,
Are you sure you're using GCC 4.4.3? Isn't it GCC 4.3.3? Oh, wait with those versions of gmp and mpfr, it must be GCC 4.4.3. OK, OpenFOAM 1.6 doesn't build well with gcc 4.4.? without some additional tweaking. The list of tweaks is available here; use the tips from that post and following posts. My advice is to use OpenFOAM 1.6.x from git, if you are unable to apply those tweaks! The instructions are available here, just in case you don't know it yet Best regards, Bruno Santos |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX 12.0 built in variables | uorinopuot | CFX | 2 | October 29, 2009 15:01 |
Compilation error with paraview | quartzian | OpenFOAM Installation | 0 | September 21, 2008 09:32 |
Regarding FoamX running Kindly help out | hariya03 | OpenFOAM Pre-Processing | 0 | April 18, 2008 05:26 |
[OpenFOAM] ParaFOAM using binaries | tj22 | ParaView | 3 | July 11, 2006 13:19 |
CFX 5.6 Built | Neser | CFX | 2 | December 15, 2004 23:21 |