CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Bugs

Cannot compile official OpenFOAM15

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   December 3, 2008, 17:42
Default I am trying to compile OpenFOA
  #1
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: https://devel.sharcnet.ca/~syam/LOG_4.3.0

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
  #2
Senior Member
 
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26
mattijs is on a distinguished road
This is fixed in the 1.5.x git repository (see http://www.opencfd.co.uk/openfoam/download.html).
mattijs is offline   Reply With Quote

Reply


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 Off
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 04:22


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