CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Installation

[OpenFOAM.org] OpenFOAM 4.0 compilation fails with latest Intel compiler

Register Blogs Community New Posts Updated Threads Search

Like Tree2Likes
  • 1 Post By dkokron
  • 1 Post By wyldckat

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   September 19, 2016, 05:34
Default OpenFOAM 4.0 compilation fails with latest Intel compiler
  #1
New Member
 
Join Date: Sep 2016
Posts: 1
Rep Power: 0
mstud is on a distinguished road
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=
  ^
preceded by these warnings:
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
            ^
This didn't seem to happen with the previous Intel version (2016).
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.
mstud is offline   Reply With Quote

Old   September 19, 2016, 16:07
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer: Please report this on the OpenFOAM Foundation bug tracker: http://bugs.openfoam.org - they are keeping track of Intel's compiler support.
__________________
wyldckat is offline   Reply With Quote

Old   October 3, 2016, 17:13
Default
  #3
Member
 
Dan Kokron
Join Date: Dec 2012
Posts: 33
Rep Power: 13
dkokron is on a distinguished road
Bruno,

I had the same issue with Intel-2017. I didn't see an open ticket so I submitted one (0002281).
wyldckat likes this.
dkokron is offline   Reply With Quote

Old   October 6, 2016, 16:01
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,975
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
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:
There was a bug in the Intel compiler front end which has now been fixed. Anything with a timestamp after 20160804 should include the fix. If you cannot get a more recent version then you can apply the patch I have attached.
Best regards,
Bruno
ma-tri-x likes this.
__________________
wyldckat is offline   Reply With Quote

Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


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


All times are GMT -4. The time now is 01:32.