View Issue Details

IDProjectCategoryView StatusLast Update
0000435OpenFOAMBugpublic2012-02-28 16:06
Reporteruser182Assigned Tohenry  
PrioritynormalSeveritymajorReproducibilityalways
Status resolvedResolutionfixed 
Platformx86_64OSLinuxOS VersionDebian 5.0
Summary0000435: Build fails out of the box
DescriptionSOURCE=LRR/LRR.C ; g++ -m64 -Dlinux64 -DWM_DP -Wall -Wextra -Wno-unused-parameter -Wold-style-cast -Wnon-virtual-dtor -O3 -DNoRepository -ftemplate-depth-100 -I/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/turbulenceModels -I/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/transportModels -I/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude -I/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/meshTools/lnInclude -IlnInclude -I. -I/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude -I/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/OSspecific/POSIX/lnInclude -fPIC -c $SOURCE -o Make/linux64GccDPOpt/LRR.o
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/fvMatrixSolve.C: In member function 'Foam::lduMatrix::solverPerformance Foam::fvMatrix<Type>::solve(const Foam::dictionary&) [with Type = Foam::SymmTensor<double>]':
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/fvMatrixSolve.C:215: instantiated from 'Foam::lduMatrix::solverPerformance Foam::fvMatrix<Type>::solve() [with Type = Foam::SymmTensor<double>]'
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/fvMatrix.C:1406: instantiated from 'Foam::lduMatrix::solverPerformance Foam::solve(const Foam::tmp<Foam::fvMatrix<Type> >&) [with Type = Foam::SymmTensor<double>]'
LRR/LRR.C:368: instantiated from here
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/finiteVolume/lnInclude/fvMatrixSolve.C:152: error: no matching function for call to 'max(Foam::lduMatrix::solverPerformance&, Foam::lduMatrix::solverPerformance&)'
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/label.H:276: note: candidates are: char Foam::max(char, char)
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/label.H:277: note: short int Foam::max(short int, short int)
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/label.H:278: note: int Foam::max(int, int)
/apps/Packages/OpenFOAM/OpenFOAM-2.1.0/OpenFOAM-2.1.0/src/OpenFOAM/lnInclude/label.H:279: note: long int Foam::max(long int, long int)

... and several more
Steps To Reproduce./Allwmake
Additional Information$ gcc --version
gcc (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
TagsNo tags attached.

Activities

henry

2012-02-23 23:47

manager   ~0001063

Try with a more recent gcc release.

user182

2012-02-28 15:59

  ~0001088

The online instructions indicate the 4.3.? might work. On another system the OpenFOAM build succeeded with gcc 4.4.5.

henry

2012-02-28 16:06

manager   ~0001090

We will remove the statement suggesting gcc-4.3.? might be sufficient.

Issue History

Date Modified Username Field Change
2012-02-23 22:41 user182 New Issue
2012-02-23 23:47 henry Note Added: 0001063
2012-02-28 15:59 user182 Note Added: 0001088
2012-02-28 16:06 henry Note Added: 0001090
2012-02-28 16:06 henry Status new => resolved
2012-02-28 16:06 henry Resolution open => fixed
2012-02-28 16:06 henry Assigned To => henry