CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   OF1.7.0 installation problem with Intel compiler (http://www.cfd-online.com/Forums/openfoam-installation/78700-of1-7-0-installation-problem-intel-compiler.html)

i1ya July 30, 2010 04:11

OF1.7.0 installation problem with Intel compiler
 
Good day, everyone!

I've got problem during compiling OF 1.7.0 with Intel compilers (version 11.1.072 and 11.1.064).

Code:

derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C(44): error: member "Foam::NamedEnum<Enum, nEnum>::names [with Enum=Foam::compressible::turbulentHeatFluxTemperatureFvPatchScalarField::heatSourceType, nEnum=2]" cannot be specialized in the current scope
  names[] =
  ^

derivedFvPatchFields/turbulentHeatFluxTemperature/turbulentHeatFluxTemperatureFvPatchScalarField.C(48): warning #12: parsing restarts here after previous syntax error
      };

Does anyone work with it ?
Should I use more recently version of Intel compilers or better using GCC 4.4.4 ?

ahmadlashgar August 11, 2010 05:16

Same problem with it!
 
Hi,

I've same problem too, think i should go for gcc-4.4.?.
But anyone know if Intel Compiler 11 is supported?

wyldckat August 11, 2010 15:08

Greetings to all!
edit: Oh, and welcome to the forum you two :)

Uhm, I don't think you guys tried hard enough to find it, but here it is: http://www.cfd-online.com/Forums/ope...piler-icc.html

It has the solution for that very same issue.

Best regards,
Bruno

ahmadlashgar August 14, 2010 03:14

Some difference of 1.7 and 1.6
 
Great tip,

Thanks alot dear Bruno.

It have been compiled so well.


All times are GMT -4. The time now is 05:59.