CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM (http://www.cfd-online.com/Forums/openfoam/)
-   -   OF Successfully built? (http://www.cfd-online.com/Forums/openfoam/72782-successfully-built.html)

Pytthon February 17, 2010 17:00

OF Successfully built?
 
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

olesen February 18, 2010 06:04

Quote:

Originally Posted by Pytthon (Post 246368)
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.

OpenFOAM-1.3 was release almost four (4) years ago (see http://www.openfoam.com/download/history.php).

Try with the current version: OpenFOAM-1.6.x (the bugfixed 1.6 version).

Pytthon February 18, 2010 23:04

Quote:

Originally Posted by olesen (Post 246426)
OpenFOAM-1.3 was release almost four (4) years ago (see http://www.openfoam.com/download/history.php).

Try with the current version: OpenFOAM-1.6.x (the bugfixed 1.6 version).

I can't, I don't have admin permissions for gcc and qt libraries update, running CentOS 4.x. Regards.

olesen February 19, 2010 01:03

Quote:

Originally Posted by Pytthon (Post 246536)
I can't, I don't have admin permissions for gcc and qt libraries update, running CentOS 4.x. Regards.

OpenFOAM has its own ThirdParty directory where gcc, qt etc. live. You don't need root permissions to install these in that location.

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.

Pytthon February 19, 2010 13:39

Quote:

Originally Posted by olesen (Post 246541)
OpenFOAM has its own ThirdParty directory where gcc, qt etc. live. You don't need root permissions to install these in that location.

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.

After running Allwmake I received this kind of error (using GMP 4.3.2, MPFR 2.4.2, GCC 4.4.3, Cluster with ROCKS distribution, x64 architecture)
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/adiabaticFlameT] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/adiabaticFlameT'
make[1]: *** [adiabaticFlameT] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/chemkinToFoam'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/reactionThermo/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/chemkinToFoam.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lreactionThermophysicalModels -lbasicThermophysicalModels -lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/chemkinToFoam
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/chemkinToFoam] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/chemkinToFoam'
make[1]: *** [chemkinToFoam] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumCO'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/equilibriumCO.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumCO
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumCO] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumCO'
make[1]: *** [equilibriumCO] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumFlameT'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/equilibriumFlameT.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumFlameT
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/equilibriumFlameT] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/equilibriumFlameT'
make[1]: *** [equilibriumFlameT] Error 2
make[2]: Entering directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/mixtureAdiabaticFlameT'
g++ -m64 -Dlinux64 -DWM_DP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-40 -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/thermophysicalModels/specie/lnInclude -IlnInclude -I. -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OpenFOAM/lnInclude -I/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/mixtureAdiabaticFlameT.o -L/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt \
-lspecie -lOpenFOAM -liberty -ldl -lm -o /home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::__ostream_insert<char, std::char_traits<char> >(std::basic_ostream<char, std::char_traits<char> >&, char const*, long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long>(long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<unsigned long>(unsigned long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<double>(double&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_istream<char, std::char_traits<char> >& std::basic_istream<char, std::char_traits<char> >::_M_extract<float>(float&)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<long long>(long long)@GLIBCXX_3.4.9'
/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/lib/linux64GccDPOpt/libOpenFOAM.so: undefined reference to `std::basic_ostream<char, std::char_traits<char> >& std::basic_ostream<char, std::char_traits<char> >::_M_insert<double>(double)@GLIBCXX_3.4.9'
collect2: ld returned 1 exit status
make[2]: *** [/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/bin/linux64GccDPOpt/mixtureAdiabaticFlameT] Error 1
make[2]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical/mixtureAdiabaticFlameT'
make[1]: *** [mixtureAdiabaticFlameT] Error 2
make[1]: Target `application' not remade because of errors.
make[1]: Leaving directory `/home/jjcorreao/OpenFOAM/OpenFOAM-1.6/applications/utilities/thermophysical'
make: *** [thermophysical] Error 2
make: Target `application' not remade because of errors.
+ '[' '' = doc ']'.

Any clue or idea of what is happening? Suggestions? Configurations? Thanks.

wyldckat February 20, 2010 07:44

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


All times are GMT -4. The time now is 14:02.