CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

openFoam-1.7.x installation

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 27, 2013, 05:25
Default openFoam-1.7.x installation
  #1
Member
 
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13
Roman1 is on a distinguished road
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
Ans so on

Last edited by wyldckat; September 27, 2013 at 22:06. Reason: Added [CODE][/CODE]
Roman1 is offline   Reply With Quote

Old   September 27, 2013, 22:13
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:
You can find instructions on how to build OpenFOAM 1.7.1 on Ubuntu 12.04 here: http://openfoamwiki.net/index.php/In...u#Ubuntu_12.04
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
With this one:
Code:
git clone git://github.com/OpenCFD/OpenFOAM-1.7.x.git
And after you finish step #2, run:
Code:
mv ThirdParty-1.7.1 ThirdParty-1.7.x
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 30, 2013, 10:26
Default
  #3
Member
 
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13
Roman1 is on a distinguished road
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 ?
Roman1 is offline   Reply With Quote

Old   October 2, 2013, 05:08
Default
  #4
Member
 
Roman
Join Date: Sep 2013
Posts: 83
Rep Power: 13
Roman1 is on a distinguished road
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
Roman1 is offline   Reply With Quote

Old   October 2, 2013, 09:02
Default
  #5
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Sorry, busy week.

Quick answer:
  1. Clean the folder where you have your personal fireFoam version:
    Code:
    wclean all
  2. Then check the instructions on this thread: http://www.cfd-online.com/Forums/ope...-firefoam.html
__________________
wyldckat is offline   Reply With Quote

Reply

Tags
of-1.7.x; installation


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 12:09.