CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Bugs

Cannot compile official OpenFOAM15

Register Blogs Members List Search Today's Posts Mark Forums Read

LinkBack Thread Tools Display Modes
Old   December 3, 2008, 17:42
Default I am trying to compile OpenFOA
New Member
Sergey Mashchenko
Join Date: Mar 2009
Location: Canada
Posts: 1
Rep Power: 0
syam is on a distinguished road
I am trying to compile OpenFOAM-1.5 (official version) on our clusters (Linux 2.6.9-42.7sp.XCsmp, Optron CPUs, HP-MPI library), with the three installed versions of gcc - 3.4.5, 4.2.1, and 4.3.0. I consistently get the following compilation error (which affects only the parallel part of OpenFOAM; I can run serial tests without problems):

/work/syam//OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C: In copy constructor 'Foam::PtrList<t>::PtrList(const Foam::PtrList<t>&) [with T = Foam::featureEdgeMesh]':
autoHexMesh/autoHexMeshDriver/autoRefineDriver.C:260: instantiated from here
/work/syam//OpenFOAM-1.5/src/OpenFOAM/lnInclude/PtrList.C:56: error: invalid conversion from 'Foam::IOobject*' to 'Foam::featureEdgeMesh*'
make: *** [Make/linux64GccDPOpt/autoRefineDriver.o] Error 1

The whole log file can be accessed here:

This software was requested by a few of our users, and your suggestions would be very appreciated.

Sergey Mashchenko
SHARCNET HPC Software Analyst
syam is offline   Reply With Quote

Old   December 8, 2008, 08:20
Default This is fixed in the 1.5.x git
Super Moderator
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 18
mattijs is on a distinguished road
This is fixed in the 1.5.x git repository (see
mattijs is offline   Reply With Quote


Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Patch Compile OpenFOAM15 with Intel C Compiler x86 jupp OpenFOAM Installation 2 November 28, 2008 03:34
Official cvssvn repository deepblue17 OpenFOAM Running, Solving & CFD 1 June 18, 2007 03:22

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