OpenFOAM 4.0 compilation fails with latest Intel compiler
Hi, when trying to build OpenFOAM 4.0 with the latest release of the Intel compilers (2017.0.020), I keep getting the following error:
Code:
OpenFOAM/OpenFOAM-4.0/src/OpenFOAM/lnInclude/MatrixSpaceI.H(492): error: no instance of overloaded function "Foam::MatrixSpace<Form, Cmpt, Mrows, Ncols>::Block<SubTensor, BRowStart, BColStart>::operator=" matches the specified type Code:
OpenFOAM/OpenFOAM-4.0/src/OpenFOAM/lnInclude/MatrixSpaceI.H(494): warning #2357: "Foam::MatrixSpace<Form2, Cmpt, SubTensor::mRows, SubTensor::nCols>" cannot be specified in a template member definition -- "Foam::MatrixSpace<Form, Cmpt, Mrows, Ncols>" assumed instead So, is this a bug in the OpenFOAM source code, or maybe there is a flag I can use for the compiler so that it behaves like the old version and does not throw an error in this case? Any help would be appreciated. |
Quick answer: Please report this on the OpenFOAM Foundation bug tracker: http://bugs.openfoam.org - they are keeping track of Intel's compiler support.
|
Bruno,
I had the same issue with Intel-2017. I didn't see an open ticket so I submitted one (0002281). |
Hi Dan,
Excellent! Paul Edwards stepped in to fill you in on the bug as well! For a quicker future reference, here is the link for the bug report: http://bugs.openfoam.org/view.php?id=2281 And quoting Paul from his comment there: Quote:
Bruno |
All times are GMT -4. The time now is 16:47. |