|
[Sponsors] |
[OpenFOAM.org] OpenFOAM 4.0 compilation fails with latest Intel compiler |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
September 19, 2016, 06: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. |
|
September 19, 2016, 17:07 |
|
#2 |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
Quick answer: Please report this on the OpenFOAM Foundation bug tracker: http://bugs.openfoam.org - they are keeping track of Intel's compiler support.
__________________
|
|
October 3, 2016, 18:13 |
|
#3 |
Member
Dan Kokron
Join Date: Dec 2012
Posts: 33
Rep Power: 14 |
Bruno,
I had the same issue with Intel-2017. I didn't see an open ticket so I submitted one (0002281). |
|
October 6, 2016, 17:01 |
|
#4 | |
Retired Super Moderator
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,981
Blog Entries: 45
Rep Power: 128 |
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
__________________
|
||
|
|
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 01:50 |
[OpenFOAM] Color display problem to view OpenFOAM results. | Sargam05 | ParaView | 16 | May 11, 2013 01:10 |
Compilation error with OpenFOAM 2.1.x | Martin_ | OpenFOAM Installation | 28 | January 15, 2013 07:58 |
Error compiling OpenFoam 1.6.x with intel compiler icc | mak_04 | OpenFOAM Installation | 5 | October 28, 2011 08: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 07:25 |