View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000435 | OpenFOAM | Bug | public | 2012-02-23 22:41 | 2012-02-28 16:06 |
Reporter | Assigned To | henry | |||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | fixed | ||
Platform | x86_64 | OS | Linux | OS Version | Debian 5.0 |
Summary | 0000435: Build fails out of the box | ||||
Description | SOURCE=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. | ||||
Tags | No tags attached. | ||||
|
Try with a more recent gcc release. |
|
The online instructions indicate the 4.3.? might work. On another system the OpenFOAM build succeeded with gcc 4.4.5. |
|
We will remove the statement suggesting gcc-4.3.? might be sufficient. |
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-23 22:41 |
|
New Issue | |
2012-02-23 23:47 | henry | Note Added: 0001063 | |
2012-02-28 15:59 |
|
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 |