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

openFoam-1.7.x installation

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   September 27, 2013, 04:25
Default openFoam-1.7.x installation
  #1
Member
 
Roman
Join Date: Sep 2013
Posts: 37
Rep Power: 3
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 21:06. Reason: Added [CODE][/CODE]
Roman1 is offline   Reply With Quote

Old   September 27, 2013, 21:13
Default
  #2
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
Greetings Roman and welcome to the forum!

I see that you need OpenFOAM 1.7.x because of this thread: fireFoam installation

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, 09:26
Default
  #3
Member
 
Roman
Join Date: Sep 2013
Posts: 37
Rep Power: 3
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, 04:08
Default
  #4
Member
 
Roman
Join Date: Sep 2013
Posts: 37
Rep Power: 3
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, 08:02
Default
  #5
Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 8,301
Blog Entries: 34
Rep Power: 84
wyldckat is just really nicewyldckat is just really nicewyldckat is just really nicewyldckat is just really nice
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: compiling firefoam
wyldckat is offline   Reply With Quote

Reply

Tags
of-1.7.x; installation

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenFOAM 1.7.1 installation on LINUX UBUNTU 10.10 electrosin OpenFOAM Installation 39 July 1, 2014 07:55
Openfoam 2.1 installation in ubuntu 12.04 jsm OpenFOAM Installation 11 May 7, 2012 04:56
Installation problem: openfoam 2.1.0 on opensuse 11.4 raphael7 OpenFOAM Installation 4 April 12, 2012 07: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 03:20


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