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

compilation error in OF-1.5

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   May 6, 2009, 09:26
Default compilation error in OF-1.5
  #1
Member
 
matteo lombardi
Join Date: Apr 2009
Posts: 67
Rep Power: 16
matteoL is on a distinguished road
Hello, I am trying to compile OF-1.5 and it works ok for a while but then abruptly it says:
SOURCE=fields/fvPatchFields/basic/calculated/calculatedFvPatchFields.C ; g++ -m64 -Dlinux64 -DDP -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast -march=opteron -O3 -DNoRepository -ftemplate-depth-40 -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/triSurface/lnInclude -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude -IlnInclude -I. -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude -I/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OSspecific/Unix/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/calculatedFvPatchFields.o
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C: In function ‘Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::wallPointData<Type>&) [with Type = Foam::Vector<double>]’:
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:264: instantiated from ‘void Foam::FaceCellWave<Type>::checkCyclic(const FoamlyPatch&) const [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:787: instantiated from ‘void Foam::FaceCellWave<Type>::handleCyclicPatches() [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:1059: instantiated from ‘Foam::label Foam::FaceCellWave<Type>::iterate(Foam::label) [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/FaceCellWave.C:854: instantiated from ‘Foam::FaceCellWave<Type>::FaceCellWave(const FoamlyMesh&, const Foam::labelList&, const Foam::List<T>&, Foam::UList<T>&, Foam::UList<T>&, Foam::label) [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/MeshWave.C:65: instantiated from ‘Foam::MeshWave<Type>::MeshWave(const FoamlyMesh&, const Foam::labelList&, const Foam::List<T>&, Foam::label) [with Type = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:233: instantiated from ‘void Foam:atchDataWave<TransferType>::correct() [with TransferType = Foam::wallPointData<Foam::Vector<double> >]’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/patchDataWave.C:193: instantiated from ‘Foam:atchDataWave<TransferType>:atchDataWave(cons t FoamlyMesh&, const Foam::labelHashSet&, const Foam::List<Foam::Field<typename TransferType::dataType>*>&, bool) [with TransferType = Foam::wallPointData<Foam::Vector<double> >]’
fvMesh/wallDist/wallDistData.C:100: instantiated from ‘void Foam::wallDistData<TransferType>::correct() [with TransferType = Foam::wallPointData<Foam::Vector<double> >]’
fvMesh/wallDist/wallDistReflection.C:54: instantiated from here
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/meshTools/lnInclude/wallPointData.C:48: error: no matching function for call to ‘operator<<(Foam::Ostream&, const Foam::wallPoint&)’
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/IOstream.H:550: note: candidates are: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::IOstream::streamFormat&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/char.H:51: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, char)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/char.H:52: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const char*)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:214: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::string&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/string.H:68: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const std::string&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/word.H:129: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::word&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/fileName.H:173: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::fileName&)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/int.H:59: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, int)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/bool.H:51: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, bool)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:266: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, Foam::floatScalar)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/Scalar.H:266: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, Foam::doubleScalar)
/u/cmcs/lombardi/OpenFOAM/OpenFOAM-1.5/src/OpenFOAM/lnInclude/IOstream.H:551: note: Foam::Ostream& Foamerator<<(Foam::Ostream&, const Foam::IOstream::versionNumber&)

(...)

for a full log see file attached.

any idea?
I am using gcc-4.3.2 (i tried with the one in the Third party package but for some reason it always gave me some error with the libstdc++.so (why?) and thus i decided to install gcc-4.3.2..)

Thanks,
matteo
Attached Files
File Type: txt logfile.txt (20.2 KB, 2 views)
matteoL is offline   Reply With Quote

Reply


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
Problem installing OpenFOAM 1.5 installation on RHEL 4. vwsj84 OpenFOAM Installation 4 April 23, 2009 04:48
OpenFOAM Version 1.5 Released OpenFOAM discussion board administrator OpenFOAM Announcements from ESI-OpenCFD 0 July 14, 2008 18:22
Compilation error with uparm.f Raghu Siemens 2 May 30, 2007 02:09
Compilation Error.... Arnab Siemens 4 September 12, 2004 15:54
CFX4.3 -build analysis form Chie Min CFX 5 July 12, 2001 23:19


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