|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 4.0 compilation fails with latest Intel compiler |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2016, 05:34 |
OpenFOAM 4.0 compilation fails with latest Intel compiler
|
#1 |
New Member
Join Date: Sep 2016
Posts: 1
Rep Power: 0 |
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 operator= ^ 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 const MatrixSpace<Form2, Cmpt, SubTensor::mRows, SubTensor::nCols>& matrix ^ 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. |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
OpenFOAM extended 4.0 Error with Multinode Set-up | Liweix | OpenFOAM Running, Solving & CFD | 1 | February 18, 2020 00:50 |
[OpenFOAM] Color display problem to view OpenFOAM results. | Sargam05 | ParaView | 16 | May 11, 2013 00:10 |
Compilation error with OpenFOAM 2.1.x | Martin_ | OpenFOAM Installation | 28 | January 15, 2013 06:58 |
Error compiling OpenFoam 1.6.x with intel compiler icc | mak_04 | OpenFOAM Installation | 5 | October 28, 2011 07:06 |
Cross-compiling OpenFOAM 1.7.0 on Linux for Windows 32 and 64bits with Mingw-w64 | wyldckat | OpenFOAM Announcements from Other Sources | 3 | September 8, 2010 06:25 |