CFD Online Discussion Forums

CFD Online Discussion Forums (http://www.cfd-online.com/Forums/)
-   OpenFOAM Installation (http://www.cfd-online.com/Forums/openfoam-installation/)
-   -   2.0.1 istallation problem using icc (http://www.cfd-online.com/Forums/openfoam-installation/93141-2-0-1-istallation-problem-using-icc.html)

fisch October 6, 2011 04:44

2.0.1 istallation problem using icc
 
Hello,

after updating OpenFOAM to the current git version (today) i get the following error message during compilation of the src folder while using intel compiler:

pyrolysisModel/pyrolysisModelCollection.C(38): error: member "Foam::IOPtrList<T>::typeName [with T=Foam::regionModels::pyrolysisModels::pyrolysisMo del]" cannot be defined in the current scope
defineTemplateTypeNameAndDebug(IOPtrList<pyrolysis Model>, 0);
^

There are a few more errors but this is the first one...
Can anybody help me? I have no idea what to do

thanks

fisch October 6, 2011 07:00

Hi,

i found a way that the stuff compiles without error.
Maybe it's not a nice way but it seems to work:

in pyrolysisModelCollection.C:

change from:

Quote:

namespace Foam
{
namespace regionModels
{
namespace pyrolysisModels
defineTemplateTypeNameAndDebug(IOPtrList<pyrolysis Model>, 0);


// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //

{
to:


Quote:

defineTemplateTypeNameAndDebug(Foam::IOPtrList<Foa m::regionModels::pyrolysisModels::pyrolysisModel>, 0);


// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
namespace Foam
{
namespace regionModels
{
namespace pyrolysisModels
{

wyldckat October 9, 2011 10:17

Greetings fisch,

I've picked up on your thread, tested your findings and confirmed this as well. I've also reported here: http://www.openfoam.com/mantisbt/view.php?id=312

Hopefully they'll have the official fix this week :)

Best regards,
Bruno


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