|
[Sponsors] |
Error compiling OpenFoam 1.6.x with intel compiler icc |
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
February 25, 2010, 04:16 |
Error compiling OpenFoam 1.6.x with intel compiler icc
|
#1 |
New Member
Mak
Join Date: Feb 2010
Posts: 1
Rep Power: 0 |
I have checked out the latest version from the repository "OpenFoam 1.6.x"
And I get the following error compiling it with icc (11.0): derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C(4 5): error: member "Foam::NamedEnum<Enum, nEnum>::names [with Enum=Foam::compressible::turbulentHeatFluxTemperat ureFvPatchScalarField::heatSourceType, nEnum=2]" cannot be specialized in the current scope names[] = ^ The is in the file: src/turbulenceModels/compressible/RAS/derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C g++ does not give this error. It seems that the partially specialized template in this file is not allowed by icc while gcc seems to be ignoring it. icc version: 11.0 Any idea what can be done? Thanks, |
|
Tags |
icc, intel compiler, template errors |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
CFX11 + Fortran compiler ? | Mohan | CFX | 20 | March 30, 2011 18:56 |
OF 1.6 | Ubuntu 9.10 (64bit) | GLIBCXX_3.4.11 not found | piprus | OpenFOAM Installation | 22 | February 25, 2010 13:43 |
Error occurs when compiling OpenFoam 1.6.x with Icc | fs82 | OpenFOAM Bugs | 5 | January 20, 2010 03:08 |
OpenFOAM compiled with Intel C++ Compiler? | af631717 | OpenFOAM Running, Solving & CFD | 4 | June 5, 2009 06:41 |
64bitrhel5 OF installation instructions | mirko | OpenFOAM Installation | 2 | August 12, 2008 18:07 |