|
[Sponsors] |
September 27, 2013, 05:25 |
openFoam-1.7.x installation
|
#1 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
Hello all. I need a help in installing openFoam 1.7.0 if possible, please. I use the latest Ubuntu. Last version of OpenFoam is installed and work OK. I didn't find the .deb pack of openFoam-1.7.1 (0) on official site and I was forced to use source pack. There are the mistakes that I would be glad to resolve with your help. Thanks.
Code:
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/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/postProcessing/postCalc -I/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/uprime.o -L/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt \ /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/postCalc.o -lfiniteVolume -lgenericPatchFields -lOpenFOAM -liberty -ldl -lm -o /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/uprime /usr/bin/ld: Make/linux64GccDPOpt/uprime.o: undefined reference to symbol 'Foam::OPstream::write(Foam::Pstream::commsTypes, int, char const*, long)' /usr/bin/ld: note: 'Foam::OPstream::write(Foam::Pstream::commsTypes, int, char const*, long)' is defined in DSO /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/dummy/libPstream.so so try adding it to the linker command line /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/dummy/libPstream.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status make[3]: *** [/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/uprime] Error 1 make[3]: Leaving directory `/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/applications/utilities/postProcessing/velocityField/uprime' make[2]: *** [uprime] Error 2 make[3]: Entering directory `/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/applications/utilities/postProcessing/velocityField/vorticity' 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/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/postProcessing/postCalc -I/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/finiteVolume/lnInclude -IlnInclude -I. -I/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/OpenFOAM/lnInclude -I/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/src/OSspecific/POSIX/lnInclude -fPIC Make/linux64GccDPOpt/vorticity.o -L/home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt \ /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/postCalc.o -lfiniteVolume -lgenericPatchFields -lOpenFOAM -liberty -ldl -lm -o /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/applications/bin/linux64GccDPOpt/vorticity /usr/bin/ld: Make/linux64GccDPOpt/vorticity.o: undefined reference to symbol 'Foam::OPstream::write(Foam::Pstream::commsTypes, int, char const*, long)' /usr/bin/ld: note: 'Foam::OPstream::write(Foam::Pstream::commsTypes, int, char const*, long)' is defined in DSO /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/dummy/libPstream.so so try adding it to the linker command line /home/vniipo/OpenFOAM/OpenFOAM-1.7.0/lib/linux64GccDPOpt/dummy/libPstream.so: could not read symbols: Invalid operation collect2: ld returned 1 exit status Last edited by wyldckat; September 27, 2013 at 22:06. Reason: Added [CODE][/CODE] |
|
September 27, 2013, 22:13 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Greetings Roman and welcome to the forum!
I see that you need OpenFOAM 1.7.x because of this thread: http://www.cfd-online.com/Forums/ope...tallation.html OK, first let's address the topic of OpenFOAM versions OpenFOAM 1.7 has got the following versions:
As for building OpenFOAM 1.7.x, it's just a matter of replacing in step #2 of the previous, the command: Code:
tar xzf OpenFOAM-1.7.1.tgz Code:
git clone git://github.com/OpenCFD/OpenFOAM-1.7.x.git Code:
mv ThirdParty-1.7.1 ThirdParty-1.7.x Bruno
__________________
|
|
September 30, 2013, 10:26 |
|
#3 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
Thanks, Bruno. OpenFoam-1.7.x is now installed and works OK. I appreciate your experience. But there is a lack of some files for the installation of fireFoam - ex. debugName.H. These files are in the openFoam-2.1.1 folders but not in the folders of OF-1.7.x. Why Is it so ?
|
|
October 2, 2013, 05:08 |
|
#4 |
Member
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13 |
Hello all. Having spent much time at compiling fireFoam I do not have ideas about the reasons of the next mistakes. I need a help, please.
/home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libpyrolysisModels17x.so: undefined reference to `typeinfo for Foam::compressible::LESModel' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::regionModel:ostEvolveRegion ()' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `typeinfo for Foam::regionModels::singleLayerRegion' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::singleLayerRegion::read()' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::directMappedFixedInternalValueFvPatchField< double>::typeName' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::singleLayerRegion::~singleLay erRegion()' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::directMappedFixedInternalValueFvPatchField< Foam::Vector<double> >::typeName' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libpyrolysisModels17x.so: undefined reference to `Foam::regionModels::regionModel1D::~regionModel1D ()' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::directMappedFixedPushedInternalValueFvPatch Field<Foam::Vector<double> >::typeName' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::singleLayerRegion::singleLaye rRegion(Foam::fvMesh const&, Foam::word const&, Foam::word const&, bool)' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::regionModel::info() const' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::regionModel::evolveRegion()' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libpyrolysisModels17x.so: undefined reference to `typeinfo for Foam::regionModels::regionModel1D' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::regionModel::evolve()' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libpyrolysisModels17x.so: undefined reference to `Foam::regionModels::regionModel1D::regionModel1D( Foam::fvMesh const&)' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::singleLayerRegion:assivePat chIDs() const' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libpyrolysisModels17x.so: undefined reference to `Foam::regionModels::regionModel1D::moveMesh(Foam: :List<double> const&, double)' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libpyrolysisModels17x.so: undefined reference to `Foam::compressible::LESModel::typeName' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::singleLayerRegion::singleLaye rRegion(Foam::fvMesh const&)' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::directMappedFieldFvPatchField<double>::type Name' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libpyrolysisModels17x.so: undefined reference to `Foam::regionModels::regionModel1D::read()' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsolidChemistryModel17x.so: undefined reference to `Foam::basicSolidThermo::New(Foam::fvMesh const&)' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::directMappedFixedPushedInternalValueFvPatch Field<double>::typeName' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::singleLayerRegion::magSf() const' /home/vniipo/OpenFOAM/OpenFOAM-1.7.x/lib/linux64GccDPOpt/libsolidMixture.so: undefined reference to `Foam::solid::New(Foam::Istream&)' /home/vniipo/OpenFOAM/vniipo-1.7.x/lib/linux64GccDPOpt/libsurfaceFilmModels17x.so: undefined reference to `Foam::regionModels::singleLayerRegion::nHat() const' collect2: ld returned 1 exit status make: *** [/home/vniipo/OpenFOAM/vniipo-1.7.x/applications/bin/linux64GccDPOpt/fireFoam] Error 1 |
|
October 2, 2013, 09:02 |
|
#5 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Sorry, busy week.
Quick answer:
__________________
|
|
Tags |
of-1.7.x; installation |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[OpenFOAM.com] OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 | electrosin | OpenFOAM Installation | 40 | May 31, 2016 06:11 |
Openfoam 2.1 installation in ubuntu 12.04 | jsm | OpenFOAM Installation | 11 | May 7, 2012 05:56 |
Installation problem: openfoam 2.1.0 on opensuse 11.4 | raphael7 | OpenFOAM Installation | 4 | April 12, 2012 08:10 |
Installation of OpenFOAM 1.7.1 to OprnSUSE 11.2 | superfxfund | OpenFOAM Installation | 3 | November 11, 2010 03:15 |
Some Query on Installation of OpenFoam | lzgwhy | OpenFOAM Installation | 1 | July 15, 2009 04:20 |