CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   compiling OF-2.1.0 on RHEL6.2 with icc (http://www.cfd-online.com/Forums/openfoam-installation/101961-compiling-2-1-0-rhel6-2-icc.html)

lishijie May 18, 2012 05:04

compiling OF-2.1.0 on RHEL6.2 with icc
 
Hi All
when I was comiling OF-2.1.0 with icc composer_xe_2011_sp1.10.319, the error comes out :
source=fields/fvPatchFields/constraint/wedge/wedgeFvPatchScalarField.C;wmakeScheduler icpc -std=c++0x -Dlinux64 -DWM_DP -wd327,645...
fields/fvPatchFields/constraint/wedge/wedgeFvPatchScalarField.C (51):error:no instance of overloaded function "Foam::operator==" matches the argument list
argument types are : (Foam::tmp<Foam::Field<Foam::scalar>>)
operator==(patchInternalField());

compilation aborted for fields/fvPatchFields/constraint/wedge/wedgeFvPatchScalarField.C (code 2)
make : ***[Make/linux64IccDPOpt/wedgeFvPatchScalarField.o]

any suggestion is helpful!

wyldckat May 18, 2012 10:51

Greetings lishijie,

You have two choices:
Best regards,
Bruno

dkokron March 26, 2013 21:14

Thank you Bruno. This post helped me get one of my users going.
Dan


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